ovh / python-ovh

Thin wrapper around OVH's APIs. Handles all the hard work including credential creation and requests signing.
https://pypi.org/project/ovh/
Other
278 stars 76 forks source link

Low HTTP request failed error #53

Closed asaphe closed 6 years ago

asaphe commented 6 years ago

Trying: any api call! The first call will work, second call will always fail.

Getting: Failed to call OVH API: ('Low HTTP request failed error', ConnectionError(MaxRetryError("HTTPSConnectionPool(host='ca.api.ovh.com', port=443): Max retries exceeded with url: /1.0/dedicated/server/ns553576.ip-142-44-212.net/task (Caused by NewConnectionError('<ovh.vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f07f1e81790>: Failed to establish a new connection: [Errno 4] Interrupted system call',))",),))

rbeuque74 commented 6 years ago

Hello,

23 is a different error, because it concerned a SSL certificate file missing:

SSLError(SSLError(IOError(2, 'No such file or directory'),),))

Here, the detail of your issue is: Failed to establish a new connection: [Errno 4] Interrupted system call',))

Seems to be related to your system as stated by "Interrupted system call", and I'm not sure it is related to the ovh-python wrapper.

asaphe commented 6 years ago

Thanks. Tried running from a different system and everything appears to work. same code. Python 2.7.14 on Ubuntu fails and Python 2.7.11 on Windows works.

Not sure what's wrong but I'll try to fix it.