If a connection is opened a little while after the first and they are multiplexed then it fails #2011
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Did you notice in your WebSocket screen capture that the client sent two connection requests for The server responded with a successful connection to the first of them. This is the line that reads I don't know why the client is sending two connections. This must have been a bug in the 4.6.0 version that you are using. The 4.7.2 release does not seem to do this. |
Beta Was this translation helpful? Give feedback.
Did you notice in your WebSocket screen capture that the client sent two connection requests for
/test2
? These are the lines that with40/test2,
.The server responded with a successful connection to the first of them. This is the line that reads
40/test2,{"sid":"..."}
. It responded with aUnable to connect
error to the second connection request, because you can't have two connections to the same namespace on the same Engine.IO transport.I don't know why the client is sending two connections. This must have been a bug in the 4.6.0 version that you are using. The 4.7.2 release does not seem to do this.