question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SSLEOFError: EOF occurred in violation of protocol (_ssl.c:590)

See original GitHub issue

After 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:closed
  • Created 7 years ago
  • Comments:34 (17 by maintainers)

github_iconTop GitHub Comments

1reaction
carlopirescommented, Jul 28, 2016

@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.

1reaction
carlopirescommented, Jul 21, 2016

@dhermes I’m doing this right now… I just wanted to make sure it is not related to Ubuntu OpenSSL version.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found