Skip to content

Debugging lost connections? #868

@mortoray

Description

@mortoray

Is there a way I can figure out why a websocket connection has been closed? I'm having a problem where connections to my AWS EC2 host are being disconnected. Both the high-level message on the client and server show a disconnection, without too much detail as to what happened.

Is there some logging I can enable, or codes I can watch to determine what may be happening?

SSH connections to the same machine are stable for a long-period, so I don't think I have an underlying TCP issue. I'm suspecting something at the WebSocket level, but I can't be positive, and I'm unsure of how to figure where the problem is.

NOTE: only some WebSockets are closed, and if I have a lot of them they are slowly closed over time.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions