-
Notifications
You must be signed in to change notification settings - Fork 18k
net/http: transport hang #38584
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
@kstenerud would you be able to upgrade to Go 1.16 and confirm if the problem remains. Thank you. |
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
I got same issue, and I can't reproduce it,
|
It happens also with golang 17. goroutine 27 [select, 1469 minutes]: |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
I can't reproduce it
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
It was just a standard HTTP post:
What did you expect to see?
I expected it to succeed or fail
What did you see instead?
It hung:
Looking at the source, it seems to have hung while waiting for the transport queue to allow it to dial. This is a very simple, single goroutine program that was making a standard HTTP POST request.
It only happened once. I'd never encountered it before, and was unable to reproduce again, so it will be hard to track down what happened, but I suspect I hit an edge case in the locking and queue logic.
The text was updated successfully, but these errors were encountered: