Title: bug: dial timeouts from net.Dialer.Timeout are not retried in coder ssh · Issue #24201 · coder/coder · GitHub
Open Graph Title: bug: dial timeouts from net.Dialer.Timeout are not retried in coder ssh · Issue #24201 · coder/coder
X Title: bug: dial timeouts from net.Dialer.Timeout are not retried in coder ssh · Issue #24201 · coder/coder
Description: When coder ssh --stdio dials a Coder Connect host and the dial times out (e.g. broken tunnel but valid DNS), the error is not retried despite the retry logic from #24010. Go's net.Dialer.Timeout produces a *net.OpError that wraps context...
Open Graph Description: When coder ssh --stdio dials a Coder Connect host and the dial times out (e.g. broken tunnel but valid DNS), the error is not retried despite the retry logic from #24010. Go's net.Dialer.Timeout pr...
X Description: When coder ssh --stdio dials a Coder Connect host and the dial times out (e.g. broken tunnel but valid DNS), the error is not retried despite the retry logic from #24010. Go's net.Dialer.Timeou...
Opengraph URL: https://github.com/coder/coder/issues/24201
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bug: dial timeouts from net.Dialer.Timeout are not retried in coder ssh","articleBody":"When `coder ssh --stdio` dials a Coder Connect host and the dial times out (e.g. broken tunnel but valid DNS), the error is not retried despite the retry logic from #24010.\n\nGo's `net.Dialer.Timeout` produces a `*net.OpError` that wraps `context.DeadlineExceeded`. In `isRetryableError`, the `context.DeadlineExceeded` check runs before `IsConnectionError`, so the error is classified as non-retryable. The retry loop exits after a single attempt.\n\nThis also affects the tailnet `DialAgent` path since it goes through the same `isRetryableError` check.\n\nFix: #24199","author":{"url":"https://github.com/EhabY","@type":"Person","name":"EhabY"},"datePublished":"2026-04-09T14:07:25Z","url":"https://github.com/coder/coder/issues/24201"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:158983a4-55c2-5962-7fbc-273bd402ad96 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E242:2652DC:2EE31C8:3BBC1CC:6B01B08D |
| html-safe-nonce | 3ae11d0500bb90d49fcb74d1ca1e4c971e8ae71d1e4eaeb12e7255401f04f106 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjQyOjI2NTJEQzoyRUUzMUM4OjNCQkMxQ0M6NkIwMUIwOEQiLCJ2aXNpdG9yX2lkIjoiODQ1MTIwOTc4NzI0NDM5MjU4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 848ee2db80387c0f951badaa3480d8872890b71809a74b16186ff1b2b374e944 |
| hovercard-subject-tag | issue:4232822943 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/24201/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5c28bd15f5a2cfdce42b651a76c5675b0d010984a776290fd338400384b26875/coder/coder/issues/24201 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5c28bd15f5a2cfdce42b651a76c5675b0d010984a776290fd338400384b26875/coder/coder/issues/24201 |
| og:image:alt | When coder ssh --stdio dials a Coder Connect host and the dial times out (e.g. broken tunnel but valid DNS), the error is not retried despite the retry logic from #24010. Go's net.Dialer.Timeout pr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | EhabY |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width