-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[Question] examples/chat seems not working well #966
Comments
The chat example works for me. More information is needed to diagnose why the example does not work for you. What version of the package are you testing? Did you modify the package or example code? Which operating system are you using? |
thanks for response. |
i run the chat example in my another computer, it works. |
I borrowed an M1 MacBook and tested the example with Go 1.20.8. The example works as expected. |
Duplicate of #886 |
Is there an existing issue for this?
Current Behavior
when i run the example/chat code, it can NOT work as expect, when i open http://localhost:8080/ and send some message, it will show "Connection closed."
then i use Postman(https://www.postman.com/) to test WebSocket connecting, connect
localhost:8080/ws
is good, but when i send some message to server, it will Disconnected, and get a error:Disconnected from localhost:8080/ws 1002 Protocol Error: RSV1 set, bad opcode 7, bad MASK
Expected Behavior
work good, and can run chat demo
Steps To Reproduce
Anything else?
No response
The text was updated successfully, but these errors were encountered: