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
requests.exceptions.SSLError: [Errno 8] _ssl.c:507: EOF occurred in violation of protocol #315
Comments
@kajisaap what URL was it? |
@jakubroztocil I would paste it but I hate to see company's URL in public issue listing. That's why i pasted the debug log. how do i message you privately if api endpoint URL is critical for debugging purposes ? |
@jakubroztocil , assuming the similarity here https://github.com/kennethreitz/requests/issues/2056 |
Seems like an upstream issue. Try installing those packages mentioned in the linked issue. |
Try
@kajisaap please email me the URL so I can give you better help with this. My email is on my profile page. |
@sigmavirus24 |
@kajisaap can you comment with Side note: @jakubroztocil your debug call to requests is faulty. |
@kajisaap also |
$>python -c 'import ssl; print(ssl.OPENSSL_VERSION)'
OpenSSL 0.9.8zc 15 Oct 2014 |
@sigmavirus24 thanks, fixed |
So I have 0 problems with the website on python 3.4.2. So this would seem to be an SNI issue. For reference, this is my openssl version: >>> import ssl
>>> print(ssl.OPENSSL_VERSION)
OpenSSL 1.0.1l 15 Jan 2015 But also, I only have requests installed. On python 2.7.9 the same works with the same openssl version. Interestingly enough, installing |
@mathiasbynens this doesn't have anything to do with SNI as best as I can tell. That said @kajisaap has stopped responding so I'm 👍 for closing this as incomplete. |
@sigmavirus24 I’m confused — you just said “So this would seem to be an SNI issue” in your previous comment. |
I confirm that I have this error too:
With that version of OpenSSL and HTTPie:
I forced reinstall with requests' security module without any improvement. |
I'm having the same issue trying to hit a hello-world Dropwizard app on localhost (the expected response is an empty JSON array).
|
I'm still seeing this:
I tried force reinstalling requests' security module: no joy. |
hello, |
maybe related to kennethreitz/requests#3006 |
Does someone experience this issue with Python 2.7.6? |
I was able to resolve this by doing what @sigmavirus24 suggested
|
I've just hit this problem on apache/fineract#644, with whatever versions FYI this anchor seems to have been removed meanwhile. |
fixed 👍 |
The text was updated successfully, but these errors were encountered: