-
Notifications
You must be signed in to change notification settings - Fork 10.1k
[x 2.0.3 ,the client close when your server to send chinese sentence,] #3117
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
Comments
in 2.0.3 ,the client will be closed when your server send a chinese sentence. the error is transport close |
@wuteng606 |
I couldn't reproduce this issue, I'm using express 4.16.2 and socket.io 2.0.4, and messages containing Chinese characters can be sent to/from the express server. I suspect that some other errors took place and closed the socket connection other than the Chinese characters. |
@Chopinsky Are there any other settings that need to be set?(是否有其他的设置需要设置?) |
@Chopinsky I have solved this problem.The reason for this problem is the configuration of nginx。 Use the following configuration to work properly
|
checkout #3126 |
@gooddaddy |
For future readers: I think that's because the version of the client and the server did not match (v1 and v2 were indeed incompatible). |
Note: for support questions, please use one of these channels: stackoverflow or slack
You want to:
Current behaviour
Steps to reproduce (if the current behaviour is a bug)
Note: the best way to get a quick answer is to provide a failing test case, by forking the following fiddle for example.
Expected behaviour
Setup
Other information (e.g. stacktraces, related issues, suggestions how to fix)
The text was updated successfully, but these errors were encountered: