Search code examples
javascriptwebsocketsocket.ioreconnect

socket.io event on reconnect timeout


I am using socket.io to do websocket communication within my application. After the connection is lost, it tries to reconnect 6 times, then it reaches a timeout. Is there any event, emitted when it is no longer trying to reconnect?


Solution

  • Well I found that this is a known issue.

    Reference: https://github.com/LearnBoost/socket.io/issues/652

    Sad ... :(