Skip to content

Fix/wfs connect timeout 246 - #247

Merged
smnorris merged 2 commits into
mainfrom
fix/wfs-connect-timeout-246
Aug 21, 2026
Merged

Fix/wfs connect timeout 246#247
smnorris merged 2 commits into
mainfrom
fix/wfs-connect-timeout-246

Conversation

@smnorris

Copy link
Copy Markdown
Collaborator

should fix primary download issue in #246 but I'm not yet sure why the catalogue is refusing connections to GHA runners.

smnorris and others added 2 commits August 21, 2026 16:08
A hardcoded 10s connect timeout, introduced when WFS requests were
consolidated into _request(), can trip on GitHub-hosted runners whose
TCP handshake to openmaps.gov.bc.ca sometimes exceeds 10s, causing
every retry attempt to fail identically. Dropping the connect timeout
(read timeout unchanged) restores the pre-existing unbounded-connect
behavior, matching what requests/urllib3 do by default.

Fixes #246

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@smnorris

Copy link
Copy Markdown
Collaborator Author

I'll merge and cut a new release. Failures seem to just be openmaps.gov.bc.ca issues with connections from GHA - which have generally been fine from this set of tests.

@smnorris
smnorris merged commit 1e19d24 into main Aug 21, 2026
7 of 11 checks passed
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