Open chj113 opened 3 days ago
The server is closing the connection, as shown here in the log:
DEBUG:websockets.client:< CLOSE 1002 (protocol error) [2 bytes]
Maybe the server logs say why it's closing the connection?
No error found in server logs.Other stomp clients like stompjs connect to the same server work well. After I turned off the server's heartbeat, this error no longer exists.but the connection closed after a few minites.
The server is closing the connection, as shown here in the log:
DEBUG:websockets.client:< CLOSE 1002 (protocol error) [2 bytes]
Maybe the server logs say why it's closing the connection?
server log like this: LoggingWebSocketHandlerDecorator closed with CloseStatus[code=1002, reason=null] It looks like a protocol error. https://stackoverflow.com/questions/65269411/websocket-closes-with-protocol-error-1002 Can y give me a demo that websockets works over stomp?thanks...
I connected springboot websocket server by python client(javascript client stomp.js on chrome is ok), but receive Session closed ERROR...,I need help,thanks..
python:3.8 websockets:13.0
python log
python code
springboot server: