-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: list.remove(x): x not in list #670
Comments
Versions:
|
Some example code would be useful. |
I don't have an MRE, as this is relatively rare and happens in prod under unusual conditions. |
async with AsyncClient(
proxies=..., # using a SOCKS5 proxy from `httpx[socks]`
limits=Limits(max_connections=...),
timeout=...,
cookies=...,
) as config.upstream_client:
# ...
async with config.upstream_client.stream(method, str(url), headers=..., content=...) as resp:
...
response = StreamingResponse(resp.aiter_bytes(), status_code=..., headers=...)
...
await response(scope, receive, send) |
Merged
tomchristie
pushed a commit
that referenced
this issue
May 17, 2023
Closed via #680 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Apologies for a not-very-well-formed bug report.
I was only able to hit this under rather weird conditions (streaming responses, backpressure, connection pool full).
At the very end, when
httpcore
fails here:httpcore/httpcore/_async/connection_pool.py
Lines 228 to 234 in 5e06a9b
The text was updated successfully, but these errors were encountered: