SSLEOFError: EOF occurred in violation of protocol (_ssl.c:590)
See original GitHub issueAfter installing this package on python 2.7.10 and using Google Admin API I get tons of these errors in an intermittent fashion:
File "/usr/local/lib/python2.7/site-packages/oauth2client/util.py", line 135, in positional_wrapper
return wrapped(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/googleapiclient/http.py", line 827, in execute
method=str(self.method), body=self.body, headers=self.headers)
File "/usr/local/lib/python2.7/site-packages/googleapiclient/http.py", line 167, in _retry_request
raise exception
SSLEOFError: EOF occurred in violation of protocol (_ssl.c:590)
I’m using Ubuntu 14.04:
$ openssl version
OpenSSL 1.0.1f 6 Jan 2014
ubuntu@tests:~$ python
Python 2.7.10 (default, Sep 7 2015, 14:45:00)
[GCC 4.8.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
>>> ssl.OPENSSL_VERSION
'OpenSSL 1.0.1f 6 Jan 2014'
Any ideas on how to fix this?
Issue Analytics
- State:
- Created 7 years ago
- Comments:34 (17 by maintainers)
Top Results From Across the Web
Python requests.exceptions.SSLError: EOF occurred in ...
It removed my SSLError: EOF occurred in violation of protocol (_ssl.c:590) error. Hope it helps. Share.
Read more >SSLError: EOF occurred in violation of protocol (_ssl.c:590 ...
I have been using requests to scrape data from the Play Store. I need to make a large amount of requests (about 20k)....
Read more >“SSLError: EOF occurred in violation of protocol” Exception ...
I try to access the IBM Hyperledger Blockchain from python. Unfortunately I get an SSL Protocol error while trying to connect.
Read more >EOF occurred in violation of protocol (_ssl.c:590)
SSLError: EOF occurred in violation of protocol (_ssl.c:590). The full output is: Sorry, AWS Credentials invalid.
Read more >EOF occurred in violation of protocol (_ssl.c:1122) - Reddit
EOF occurred in violation of protocol (_ssl.c:1122). Hello everyone,. I'm using requests to acces a url and grab its information using:
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 Free
Top 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
@jonparrott As the problem arrives from the use of this library it would be good to have some way to inform the developers that this error can be erroneously reported by Google servers in high concurrency scenarios.
@dhermes I’m doing this right now… I just wanted to make sure it is not related to Ubuntu OpenSSL version.