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
Replace individual catches for ConnectError, RemoteProtocolError, and
TimeoutException with a single catch for their parent class
httpx.TransportError. This covers ReadError (TCP reset mid-response),
WriteError, and all other transport-level failures that were previously
falling through to PermanentError and not being retried.
Discovered when api pods crashed mid-request and httpx raised ReadError
with an empty message, which bypassed the existing retry logic.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,12 @@
1
+
## 0.42.12
2
+
3
+
### Enhancements
4
+
5
+
### Features
6
+
7
+
### Fixes
8
+
* Retry on all `httpx.TransportError` subclasses (including `ReadError`, `WriteError`, `ConnectError`, `RemoteProtocolError`, and all timeout types) when `retry_connection_errors=True`. Previously only `ConnectError`, `RemoteProtocolError`, and `TimeoutException` were retried — `ReadError` (TCP connection reset mid-response) was treated as permanent.
0 commit comments