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
x/net/websocket: The error message doesn't contain the expected string while websocket connect failed. #10126
Comments
I don't understand the error report. What is the error string that is reported? |
See http://godoc.org/golang.org/x/net/websocket#Server. You need to implement your WebSocket protocol speaker at server-side. Otherwise client never gets anything you want to say. |
Apparently, the error here, why not read error message from response. |
I don't understand. Have you already taken a look at newServerConn in server.go? |
Why not write error message into the http response. |
The error message doesn't contain the expected string while websocket connect failed.
The text was updated successfully, but these errors were encountered: