httpx.RemoteProtocolError: <ConnectionTerminated error_code:ErrorCodes.NO_ERROR, last_stream_id:0, additional_data:7b22726561736f6e223a22426164436572746966> #2509
Unanswered
yashk0thari
asked this question in
Q&A
Replies: 3 comments
|
The server is closing the connection. |
0 replies
|
We are using a single sync httpx.Client(http1=False, http2=True) with ThreadPoolExecutor. It works ok with 1 thread, but 5+ threads sometimes cause different errors: Traceback doesn't help to solve the issues. Could it be a problem with sharing one client between threads? Creating a client inside each thread works well, allowing for 50 threads to perform efficiently. |
0 replies
|
This happens when server side starts dropping connections, this is not httpx, server side limitations. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I am trying to create a webservice to update a wallet pass using apns push notifications. I am using httpx for this as it can use http/2. I have the following test code for this:
When I try to run this, I am getting the following traceback and error:
Can someone please help me navigate this error and send a successful request to APNS?
All reactions