Skip to content
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

failed to WebSocket dial: response body is not a io.ReadWriteCloser: io.nopCloserWriterTo #442

Open
ryebrand opened this issue Mar 25, 2024 · 1 comment

Comments

@ryebrand
Copy link

In the dial method, I got this error "failed to WebSocket dial: response body is not a io.ReadWriteCloser: io.nopCloserWriterTo". There was an error converting the resp returned by the handshakeRequest method to io.ReadWriteCloser.

image

@nhooyr
Copy link
Contributor

nhooyr commented Apr 5, 2024

Not sure what happened here. Can you trace net/http to figure out why you're getting a nopCloserWriterTo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants