coder/websocket

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

ryebrand opened this issue · 1 comments

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

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