Skip to content
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

Need fix for SSL/TLS issue: EOF occurred in violation of protocol #14

Open
sinejoe opened this issue Apr 8, 2015 · 0 comments
Open

Comments

@sinejoe
Copy link

sinejoe commented Apr 8, 2015

Lots of posts on the urllib issue where occasional errors related to non-TLS requests crop up. This is happening within the ShopifyAPI library but obviously the connection and requests are handled here. See below for sample error stack:

File "/Library/Python/2.7/site-packages/pyactiveresource/activeresource.py", line 385, in find
    return cls._find_every(from_=from_, **kwargs)
File "/Library/Python/2.7/site-packages/pyactiveresource/activeresource.py", line 523, in _find_every
    return cls._build_list(cls.connection.get(path, cls.headers)
File "/Library/Python/2.7/site-packages/pyactiveresource/connection.py", line 329, in get
    return self.format.decode(self._open('GET', path, headers=headers).body)
File "/Library/Python/2.7/site-packages/shopify/base.py", line 23, in _open
    self.response = super(ShopifyConnection, self)._open(*args, **kwargs)
File "/Library/Python/2.7/site-packages/pyactiveresource/connection.py", line 290, in _open
  raise Error(err, url)
Error: <urlopen error [Errno 8] _ssl.c:507: EOF occurred in violation of protocol>

One reference... http://stackoverflow.com/questions/28985724/python-ssl-error-violation-of-protocols

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant