You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I use SSL, its fine all works. But after 2-5 connection attempts connect is hang.
To Reproduce
Steps to reproduce the behavior:
When in Chrome refresh my wss is connecting
after 2-5 connection attempts one from that is hang
Example application to reproduce the issue
ExampleChatServer, with SSL context.
Expected behavior
No connect hang.
Debug log [WebSocketWorker-13] TRACE org.java_websocket.WebSocketImpl - process(8): (����a�) [WebSocketSelector-19] TRACE org.java_websocket.WebSocketImpl - send frame: Framedata{ optcode:TEXT, fin:true, rsv1:false, rsv2:false, rsv3:false, payloadlength:[pos:0, len:60], payload:org.java_websocket.WebSocketImpl@1c532ab1 has left the room!} [WebSocketSelector-19] TRACE org.java_websocket.drafts.Draft_6455 - afterEnconding(60): org.java_websocket.WebSocketImpl@1c532ab1 has left the room! [WebSocketSelector-19] TRACE org.java_websocket.WebSocketImpl - write(62): �<org.java_websocket.WebSocketImpl@1c532ab1 has left the room! org.java_websocket.WebSocketImpl@1c532ab1 has left the room! [WebSocketSelector-19] TRACE org.java_websocket.SSLSocketChannel2 - [WebSocketSelector-19] TRACE org.java_websocket.SSLSocketChannel2 -
Environment(please complete the following information):
Version used: 1.5.1
Java version: openjdk version "11.0.8" 2020-07-14
Operating System and version: Linux ubuntu-bionic 4.15.0-99-generic Question about WebSocketServer.onError() #100-Ubuntu SMP Wed Apr 22 20:32:56 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
This issue still persists with JRE 17 and also JRE 20. I try to open a WebSocket from the browser to the Java Server and all that happened is that the doAccept method in the WebSocket Server is invoked but neither on client side nor on server side the onOpen event is fired. Is there no solution for the WebSocketServer?
Describe the bug
I use SSL, its fine all works. But after 2-5 connection attempts connect is hang.
To Reproduce
Steps to reproduce the behavior:
Example application to reproduce the issue
ExampleChatServer, with SSL context.
Expected behavior
No connect hang.
Debug log
[WebSocketWorker-13] TRACE org.java_websocket.WebSocketImpl - process(8): (����a�) [WebSocketSelector-19] TRACE org.java_websocket.WebSocketImpl - send frame: Framedata{ optcode:TEXT, fin:true, rsv1:false, rsv2:false, rsv3:false, payloadlength:[pos:0, len:60], payload:org.java_websocket.WebSocketImpl@1c532ab1 has left the room!} [WebSocketSelector-19] TRACE org.java_websocket.drafts.Draft_6455 - afterEnconding(60): org.java_websocket.WebSocketImpl@1c532ab1 has left the room! [WebSocketSelector-19] TRACE org.java_websocket.WebSocketImpl - write(62): �<org.java_websocket.WebSocketImpl@1c532ab1 has left the room! org.java_websocket.WebSocketImpl@1c532ab1 has left the room! [WebSocketSelector-19] TRACE org.java_websocket.SSLSocketChannel2 - [WebSocketSelector-19] TRACE org.java_websocket.SSLSocketChannel2 -
Environment(please complete the following information):
Additional context
I must close the connection and reconnect, but its not THE solution. Sorry for missing informations, its my first report.
The text was updated successfully, but these errors were encountered: