"[Errno 104] Connection reset by peer" error emanating from _keepalive_sweep
in connection pool
#1612
-
Today we rolled out an upgrade to from HTTPX 0.16.1 to 0.18.0. Consequently, we started getting alerts from Sentry. Here's a typical call stack from one such event:
We had several long-lived I suspect that this is a regression in the management of stale connections. It's surprising that an error during a connection sweep should bubble all the way up like this. UPDATE - further information: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I just came across encode/httpcore#310 so perhaps this has already been fixed. |
Beta Was this translation helpful? Give feedback.
I just came across encode/httpcore#310 so perhaps this has already been fixed.