Skip to content

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

@sinejoe

Description

@sinejoe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions