-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no idea, with socket.io below 4.0.2 it works, with 4.1.x it throws this Error: unknown packet type NaN #3922
Comments
I have same issue :( |
Me to |
I could indeed reproduce, we will publish a fix as soon as possible. |
This case has error when handle on emit. |
sorry, by example? i am not totally understanding what you are saying, can you show a code that causes this error? |
it is an interesting issue, because i have an app that works perfectly with v4.1, then i got older systems that crash on v4.1 but below v4.1 it works perfectly. |
Using `[email protected]` with `[email protected]` would lead to the following error: > Uncaught Error: unknown packet type NaN Because the packet would be encoded twice, resulting in "undefined". See also: - socketio/socket.io-adapter@5579d40 - dc381b7 Related: - #3922 - #3927
This should be fixed in |
yes, i can verify the error is gone and it works as expected. |
Using `[email protected]` with `[email protected]` would lead to the following error: > Uncaught Error: unknown packet type NaN Because the packet would be encoded twice, resulting in "undefined". See also: - socketio/socket.io-adapter@5579d40 - socketio@aafc3d8 Related: - socketio#3922 - socketio#3927
Sorry, it is a simple error:
The text was updated successfully, but these errors were encountered: