-
Notifications
You must be signed in to change notification settings - Fork 18k
[bug] net/http: "read: connection reset by peer" when using https #73458
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
Comments
@FiloSottile @zxc111 @WeidiDeng @neild I think the problem occurred during the handshake phase of HTTPS |
@seankhliao Have you run my test code? Why are you so arbitrary in believing your experience and relying on your past path? |
@seankhliao Talk is cheap. Please show me your running results. |
request success via postman
|
request failure via golang http.Get
|
request success via golang fasthttp
|
same environment (same computer and same network)
[TCP Retransmission] can cause failure
[TCP Spurious Retransmission] can cause failure
|
Go version
go version go1.22.8 linux/amd64
Output of
go env
in your module/workspace:What did you do?
i attempt request a long url via https protocol,it ok in postman, curl and fasthttp
But there is a 90+% chance that it will fail via net/http.Get,100% successful via http protocol
If it is the same URL with shorter parameters, it can be 100% successful
@see: #73394
What did you see happen?
my issue is closed hastily
What did you expect to see?
I hope that take this issue seriously and test it with my code
Instead of casually closing the issue
The text was updated successfully, but these errors were encountered: