Skip to content

This seems to resolve the "LocalProtocolError: Max outbound streams is n, n open" error - #11

Closed
nzbrian wants to merge 1 commit into
nE0sIghT:masterfrom
nzbrian:master
Closed

This seems to resolve the "LocalProtocolError: Max outbound streams is n, n open" error#11
nzbrian wants to merge 1 commit into
nE0sIghT:masterfrom
nzbrian:master

Conversation

@nzbrian

@nzbrian nzbrian commented Jul 7, 2026

Copy link
Copy Markdown

It looks like http_limits wasn't passed to httpx, except I think in the case of proxy transports. I changed limits and kept seeing the error until I passed the limits explicitly. I also rebooted which I see searchXG people said was necessary to clear the h2 pool.

I don't think this is the full fix as encode/httpcore#1088 looks like it fixes the core issue but hasn't been merged yet. I have just reduced max connections to 16 which fixes my case.

Only submitting in case you missed passing the http_limits argument and I haven't misunderstood the code.

@nE0sIghT

nE0sIghT commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Hello! Thanks for your contribution!

This repository is a mirror of the https://gitlab.com/apt-mirror2/apt-mirror2 - please send MR to Gitlab.

@nE0sIghT nE0sIghT closed this Jul 7, 2026
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.

2 participants