Skip to content

Websocketclient disconnected from websocketserver  #44

Description

@elC0mpa

Describe the bug
Websocketclient is disconnected from websocketserver after client get a ping from server

To Reproduce
Library : 0.4.11
Board : NodeMCU
Steps to reproduce the behavior.

Expected behavior
I just hope the client doesn't disconnect from server

Additional context
When this first happens, I thought it was because of a bug of the library, but i realized that the websocketserver makes a ping to the client when it receives a connection, so I decided to supress this behavior. After doing this, the websocketclient worked as expected, but i have no idea of what am i doing wrong. I suppose that i should modify the code when the client receives a Ping, something like answer with a pong, but i am not sure

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

possible-bugSomething isn't working, and I think it is a bug

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions