SSLError: [Errno bad handshake] (32, 'EPIPE')
See original GitHub issueI m trying to implement httpretty to mock a https endpoint. I m getting this error.
File "util/requests_client.py", line 18, in http_do
verify=False
File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 50, in request
response = session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 464, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 431, in send
raise SSLError(e, request=request)
SSLError: [Errno bad handshake] (32, 'EPIPE')
-------------------- >> begin captured logging << --------------------
requests.packages.urllib3.connectionpool: INFO: Starting new HTTPS connection (1): gateway.agms.com
--------------------- >> end captured logging << ---------------------
Issue Analytics
- State:
- Created 8 years ago
- Reactions:9
- Comments:14 (2 by maintainers)
Top Results From Across the Web
GeoIP not Updating - OPNsense Forum
SSLError : ("bad handshake: SysCallError(32, 'EPIPE')",) During handling of the above exception, another exception occurred:
Read more >Python SSL Bad Handshake - Stack Overflow
According to SSLLabs the server has a terrible setup. ... no longer gets a Unexpected EOF it gets another error: certificate verify failed...
Read more >Bug #1677031 “Scenario GlanceImages ... - Launchpad Bugs
Issue: Rally hangs and doesn't throw any exceptions. This issues happens when I used URL address for image_location:
Read more >Source Code for Module web2py.gluon.wsgiserver
105 106 The 'errno' module contains different global constants depending on ... socket_errors_to_ignore = plat_specific_errors( 118 "EPIPE", 119 "EBADF", ...
Read more >Implementation/HTTP.c - LYNX
On exit, * returns >=0 If no error, a good socket number * <0 Error. ... long SSLerror; CTRACE((tfp, "HTTP: Unable to complete...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I replaced httpretty with the responses library.
I second Clinton’s question. ndg-httpsclient is part of a requests[security] update that we need in order for some code to function properly, but we have several tests that use httpretty, so our tests break upon installing this package. Do we know about how long it would take such an update to be merged?