Skip to content

Connect to Server again if the handshake fails #124

@yash2503

Description

@yash2503

I am using sails.io.js and socket.io-client on the frontend and I have configured it to reconnect if the connection is lost with the server and it is working fine. The other scenario that I want to test is mentioned below

  1. Server is down intially
  2. User accesses the frontend application in the browser
  3. The application tries to create a socket connection to the server, but the handshake fails as the server is down

How to make the socket connection in this case (i.e. try to connect until the server is up again)

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