Web socket client shuts down with RSV value errors #1640
Unanswered
n-srinidhi
asked this question in
Q&A
Replies: 1 comment 1 reply
-
most likely, the websocket server you are using has bugs. I would recommend checking the websocket server using https://github.com/crossbario/autobahn-testsuite this can be done without writing any code. unless & until all tests return green there, it doesn't make sense to hunt for any AutobahnPython or user code issues .. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I have an autobahn web socket client and a Web socket server (Written in c#). Whilst receiving packets encoded using UTF-8 encoding, I am getting errors while decoding the payload and my web socket client shuts down.
Code:
Socket Client shuts down with following information:
WebSocket connection closed: connection was closed uncleanly ("I dropped the WebSocket TCP connection: RSV = 2 and no extension negotiated") WasClean False Code 1006
Sometimes it also exits with RSV codes 3 and 7. Can anyone help with what could be the issue? I've been combing the docs but haven't made progress.
Exception:
ERROR: [2024-04-16 13:27:44,178] ['Traceback (most recent call last):\n', ' File "<frozen centra_server>", line 71, in onMessage\n', "UnicodeDecodeError: 'utf-8' codec can't decode byte 0x82 in position 2087508: invalid start byte\n"]
Beta Was this translation helpful? Give feedback.
All reactions