Description
Node.js Version
20.12.1
NPM Version
10.5.1
Operating System
Windows 10 22H2
Subsystem
Other
Description
Hi
We updated a node.JS application from node 12.16.3 / npm 6.14.4 to node 20.12.1 / npm 10.5.1. No we cannot connect the socketIO (websocket) client application made with .NET 4.7.2 SocketIOClient.NetFx V2.0.2.10. if we try to connect, the following error appears:
|Fatal|WebSocket.b__170_2|WebSocketSharp.WebSocketException: The header of a frame cannot be read from the stream.
at WebSocketSharp.WebSocketFrame.processHeader(Byte[] header)
at WebSocketSharp.WebSocketFrame.<>c__DisplayClass73_0.b__0(Byte[] bytes)
at WebSocketSharp.Ext.<>c__DisplayClass54_0.b__0(IAsyncResult ar)
We first thought that this might be a TLS problem and limited node to TLS1.2, but this did not help.
If we wire shark the https (wss) connection, we can see, that the connections get a TCP FIN after the second application data package. The only difference we can see is the window frame size (1024 vs. 4096). Is this causing the problem? How can we limit the window frame size? Or what else could cause this problem.
Thanks
availableusername-node
Minimal Reproduction
No response
Output
No response
Before You Submit
- I have looked for issues that already exist before submitting this
- My issue follows the guidelines in the README file, and follows the 'How to ask a good question' guide at https://stackoverflow.com/help/how-to-ask