You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A reverse proxy triggered a bunch of dial timeouts while connecting to a backend over a short period of time.
What did you expect to see?
A bunch of "dial tcp <addr>: i/o timeout" error messages.
What did you see instead?
A reverse proxy logged a quick burst of "dial tcp <addr>: context deadline exceeded" errors. The errors originated from the DialContext method a *net.Dialer with a Timeout value set.
The text was updated successfully, but these errors were encountered:
My guess is that the context.DeadlineExceeded message is in the error string because mapErr isn't being called here. But I haven't been able to reproduce the error message locally.
Map the error returned when a dial is aborted from the context package
error to the internal net package error. For example, context.Canceled
errors map to errCanceled, and context.DeadlineExceeded errors map to
poll.ErrTimeout.
Fixes#23648
Change-Id: Idf9d3d08052d540740c0b054503aaed931dc5b1e
Reviewed-on: https://go-review.googlesource.com/103518
Run-TryBot: Ian Lance Taylor <[email protected]>
TryBot-Result: Gobot Gobot <[email protected]>
Reviewed-by: Ian Lance Taylor <[email protected]>
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.9.3 linux/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?What did you do?
A reverse proxy triggered a bunch of dial timeouts while connecting to a backend over a short period of time.
What did you expect to see?
A bunch of
"dial tcp <addr>: i/o timeout"
error messages.What did you see instead?
A reverse proxy logged a quick burst of
"dial tcp <addr>: context deadline exceeded"
errors. The errors originated from theDialContext
method a*net.Dialer
with aTimeout
value set.The text was updated successfully, but these errors were encountered: