Skip to content

websocket force closed on first incoming message #935

Answered by buribalazs
buribalazs asked this question in Q&A
Discussion options

You must be logged in to vote

@alexhultman after further investigation it looks like maxPayloadLength is mandatory, and if set, it works. I've set it to 16 and the server accepted the client's 'hello' message and the connection stayed open.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #935 on December 09, 2020 03:02.