websocketpp
websocketpp copied to clipboard
[fatal] handle_read_frame error: websocketpp.transport:7 (End of File)
I have developed a websocketpp (version: 0.3.0-alpha4) client (later available version on github) for the websocket_rails server (https://github.com/websocket-rails/websocket-rails).
I have used this client code as reference https://github.com/zaphoyd/websocketpp/blob/master/examples/telemetry_client/telemetry_client.cpp.
Why the connection ends up in this fatal error after some time? This happens after some seconds of no receiving and no sending a message.
[2014-04-23 14:10:57] [application] Connection closed, stopping websocket!
[2014-04-23 14:10:57] [fatal] handle_read_frame error: websocketpp.transport:7 (End of File)
[2014-04-23 14:10:57] [disconnect] Disconnect close local:[1006,End of File] remote:[1006]
I saw the same thing. Anyone ?
Dont know i'm getting the same error connecting to my WebSocketPP Server through my PHP Client @phlegx , @viasat8 have you had any progress on this or did you just move towards JS?
@viasat8 @larivierec @viasat8 any update on this issue? I am getting this on C++ code. Before raising bug on server side, i just want to be sure about this is not on the client side.
We are getting the same thing in C++ code, client-side, would be good to have an update.
EDIT: The counter-party acknowledged server-side issues.
this issue may cause by lacking handle subprotocol, try https://github.com/zaphoyd/websocketpp/blob/master/test/roles/server.cpp#L90
i found this issue happend when single account connecting on multi-platform. that clients kick each other offline due to reconnection logic