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
httpx + http2 raises a lot of exceptions when parallelized with ThreadPoolExecuton #3002
Open
1 task done
Comments
I noticed something strange, this only seems to happen when the log level is set to DEBUG. |
Yeah, it's a pain. My workaround (solution) was to add this code whenever I run with DEBUG:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The starting point for issues should usually be a discussion...
https://github.com/encode/httpx/discussions
Possible bugs may be raised as a "Potential Issue" discussion, feature requests may be raised as an "Ideas" discussion. We can then determine if the discussion needs to be escalated into an "Issue" or not.
This will help us ensure that the "Issues" list properly reflects ongoing or needed work on the project.
Problem
I tried to use httpx as http2 client and I want to execute multiple requests in parallel.
First, I tried to parallelize with ThreadPoolExecutor, but it threw a lot of exceptions.
Then I used Asyncio and it worked.
reproducion
server
client
The text was updated successfully, but these errors were encountered: