question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Closing handshake

See original GitHub issue

Hi Joel,

I’m dealing with graceful close of the WebSocket connection where I use your WatsonWsServer and .NET’s ClientWebSocket class and I kind of think that WatsonWsServer does not respond to a close from my client with a close frame as indicated here https://tools.ietf.org/html/rfc6455#section-1.4

Could you please confirm or explain how it should/does work?

Cheers!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
MartyIXcommented, Oct 21, 2020

It looks good, thank you!

1reaction
jchristncommented, Oct 15, 2020

Hi @MartyIX great question and it definitely is not. I took too many liberties around the check for whether or not the connection was being closed or had already been closed. I’ll put this on the list and get something integrated that is in better alignment with expectations laid out in the RFC. Thanks for letting me know!

Read more comments on GitHub >

github_iconTop Results From Across the Web

WebSocket: close() method - Web APIs - MDN Web Docs
Note: The process of closing the connection begins with a closing handshake, and the close() method does not discard previously-sent ...
Read more >
Handshake Close
When you offer your hand to somebody in greeting they will automatically feels obliged to shake your hand in return, often doing this...
Read more >
How to Close a Survey
Click Close Survey, under the Actions section on the left side of the page. ... A "Closed" survey can still be attached to...
Read more >
Websocket Server: Closing handshake failed in v10, v9.1 ...
Hello Augustin, from version 10 occurs an error during closing browser tab connected to my websocket server. It occurs only in approximately ...
Read more >
How to handle the close handshake c# - Stack Overflow
i developed a guessing game in c# using websockets and https calls. Each time the user is creating an instance of the console...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found