Skip to content

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

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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?

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

No branches or pull requests

2 participants