coder / coder/websocket

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

Đang mở
#442 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
needs-response
Ngôn ngữ chính
Go
Star
5.5k
Fork
372
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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](https://github.com/nhooyr/websocket/assets/29057618/0da1d566-90be-4236-8bcf-d4b1b3efd059)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Locate the dial method and its handshakeRequest call, then reproduce the reported failure and trace how the response body is converted to io.ReadWriteCloser. Compare the failing response path with the expected WebSocket handshake behavior; done means the reported error is resolved or its handling is covered by a regression test.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
go
Lĩnh vực
networking
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.