Closed
Description
Version
hyper-util 0.1.13
Platform
mac OS 15.5 arm64
Description
The user has a network where IPv6 results in "Connection reset by peer". After we upgraded hyper-util from 0.1.12 to 0.1.13, uv, which uses reqwest, stopped working for them. Downgrading to 0.1.12 fixes the problem, so I assume hyperium/hyper-util#194 is the cause.
$ curl -6 https://pypi.org/
curl: (35) Recv failure: Connection reset by peer
$ uv add numpy # Connects to pypi.org with a retry layer.
[...]
Caused by: Request failed after 3 retries
Caused by: error sending request
Caused by: client error (Connect)
Caused by: Connection reset by peer (os error 54)
Unfortunately, this seems to be particular to this user's network connection, so I can't reproduce this locally.