Skip to content

Reconnection and KeepAlive #767

Closed
Closed
@theavijitsarkar

Description

@theavijitsarkar

My end requirement is to be connected. So if i get disconnected, I must connect back.

To do this the biggest challenge I am facing is that neither the close event is called, not are my sends failing, neither is ping pong throwing error.

I added a ping pong in the background to keepAlive the connection.

ws.ping(null,null,false)

However that didnt also report close events. As that itself stopped responding when I pulled off the internet from the router.

My end goal is to remain connected. Please suggest how to do that

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