Skip to content

The wss protocol opens three times in a row and then closes #3088

Discussion options

You must be logged in to vote

Mongoose does not know of, nor handle, cookies. Cookies are not part of WebSocket. If there is some HTML exchange to be done, you have to do it yourself before upgrading to WebSocket. Please correctly assess and define your scenario. Know the protocols you are working with. Define "directly closed"; who is closing ? Why ?
Please see our documentation, and follow the guidelines in our tutorials.
Please sniff your network (using Wireshark, for example) and observe the traffic.
If, after your network inspection, you find an actual issue, feel free to open an issue, fill the issue template, and provide us with pertinent information (including useful network capture files; no snapshots, please…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by scaprile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3087 on April 02, 2025 11:44.