Closed WilliamGrant closed 5 months ago
Hi!
I dug a bit in the Java server source code, and it seems it does not currently support the auth
option.
Could you please open a feature request in the repository?
Yes! thank you for your reply. I will submit a feature request to netty-socket repository
This should be fixed now in version 2.0.7
.
Related:
Describe the bug I tried to use client(version 4.7.0) to connect to netty-socket(version 2.0.6). The client found that the disconnect event returned a parse error and requested a socket connection in a loop, resulting in a loop prompting disconnect parse error.When I remove the auth parameter, this problem does not occur.
To Reproduce
Please fill the following code example:
netty-socketio server version:
2.0.6
Server
Socket.IO client version:
4.7.0
Client
Expected behavior The client found that the disconnect event returned a parse error and requested a socket connection in a loop, resulting in a loop prompting disconnect event(parse error). When I remove the auth parameter, this problem does not occur.I want to know whether it is because the socket server returned incorrect information, the socket client configuration is incorrect, or other problems. How to solve it?
Platform: