Skip to content

Fix simple_httpclient: Improve error reporting on connect timeout#3606

Open
joegasewicz wants to merge 1 commit intotornadoweb:masterfrom
joegasewicz:fix/imple_httpclient-Improve-error-reporting-on-connect-timeout
Open

Fix simple_httpclient: Improve error reporting on connect timeout#3606
joegasewicz wants to merge 1 commit intotornadoweb:masterfrom
joegasewicz:fix/imple_httpclient-Improve-error-reporting-on-connect-timeout

Conversation

@joegasewicz
Copy link
Copy Markdown

@joegasewicz joegasewicz commented Apr 4, 2026

Fix for #3522
SimpleAsyncHTTPClient currently reports connect timeouts generically as "Timeout while connecting", without distinguishing between DNS resolution and TCP connection phases.

This change introduces phase tracking during the connect process for DNS resolution & TCP connection phases

Timeout errors now include a more specific context of Timeout during DNS resolution or Timeout during TCP connection.

This should aid debugging issues in environments where DNS latency is a common cause of connect timeouts ie. Kubernetes.

The change should be fully backwards compatible...

@joegasewicz joegasewicz changed the title Fix simple_httpclient: Improve error reporting on connect timeout WIP:Fix simple_httpclient: Improve error reporting on connect timeout Apr 4, 2026
@joegasewicz joegasewicz marked this pull request as draft April 4, 2026 06:21
@joegasewicz joegasewicz changed the title WIP:Fix simple_httpclient: Improve error reporting on connect timeout Fix simple_httpclient: Improve error reporting on connect timeout Apr 4, 2026
@joegasewicz joegasewicz marked this pull request as ready for review April 4, 2026 14:11
@joegasewicz joegasewicz force-pushed the fix/imple_httpclient-Improve-error-reporting-on-connect-timeout branch from 1c714c2 to 552d38a Compare April 4, 2026 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant