Skip to content

Socket.io dies (uncatchable) on faulty web socket connection #44

@cramforce

Description

@cramforce

Streamie.org was crashing constantly with a message that in line 23 of websocket.js this.connection did not have a method of "setTimeout"

Because this was the production system I added a line
if(!this.connection.setTimeout) return;

This works around the server-crash issue for me.

I now get this constantly
3 Sep 14:31:07 - Initializing client with transport "websocket"
3 Sep 14:31:07 - WebSocket connection invalid

I suspect a faulty client is reconnecting all the time.

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