Investigating HTTPX Library Error with Proxies: A Code Snippet Analysis (_ssl.c:992) #3200
Unanswered
Johnserf-Seed
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Okay, so are you seeing the same error without the proxy server? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wrote a very simple test code snippet
code snippet
code snippet
exception
ConnectError: EOF occurred in violation of protocol (_ssl.c:992) ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:992) During handling of the above exception, another exception occurred: httpcore.ConnectError: EOF occurred in violation of protocol (_ssl.c:992) The above exception was the direct cause of the following exception: response = httpx.post( ^^^^^^^^^^^ httpx.ConnectError: EOF occurred in violation of protocol (_ssl.c:992)
In most cases, this can be requested successfully, but occasionally the following error occurs.
dependency
Python:
httpx:
requests:
question
I want to know if this is related to the proxy server. Even if I set
verify=False
, this error continues to occur. I can't find a solution related to(_ssl.c:992)
, and I want to know if anyone who is more familiar with it or has encountered the same situation can help me figure out my confusion.This one is another similar discussion: #2566
Beta Was this translation helpful? Give feedback.
All reactions