Closed kartikgupta2607 closed 3 months ago
The failed pings should indicate network problems in either side, so the "closing handshake" can't complete (as it implies packets between both endpoints)
Is there a way to identify if a connection is stuck on either the server or client side?
You can capture the traffic with something like tcpdump or Wireshark.
I'm closing this as answered.
Is there an existing issue for this?
Description
Our custom wrapper module built on top of
ws
handles connection events (ping, pong, errors, message, close) on both server and client sides.Normal workflow involves:
Observed Issue:
Failure in Connection Closure:
ws.close(3001)
).Additional Request
Please let me know if you require additional details.
ws version
8.12.1
Node.js Version
Server (18.12.1), Client (14.18.1)
System
No response
Expected result
No response
Actual result
No response
Attachments
No response