ovh/python-ovh

Low HTTP request failed error

asaphe opened this issue · 2 comments

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',))",),))

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.

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.