Skip to content

Why does my Redis disconnect then reconnect every 90 seconds? #1982

@rublev

Description

@rublev

This happens basically every 90 seconds:

[SSE Utils] Connection error event: Event {isTrusted: true, type: 'error', target: EventSource, currentTarget: EventSource, eventPhase: 2, …}
[SSE Utils] Connection error occurred, EventSource might attempt reconnection.
[Stream Handler] SSE Error: A connection error occurred (may retry).
[SSE Utils] Connection opened successfully.
[Stream Handler] SSE Connection opened.
[Stream Handler] Raw message received: {event: 'connected', message: 'SSE connection established', channelName: 'DF:STAGE:0196d069-f2e9-76ad-8226-ee86e48c0cc2'}

I'm using render.com k/v to host a Redis instance. This does not happen in local development, it never disconnects then reconnects locally. Wondering if this is an issue with Render.com's service or ioredis.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions