Error with Storj API python

Hello, I have a problem with connecting an python scrip to be able to upload files to my storj.io profile, I use the code of this web: github.com/hwkns/storj-python-sdk

The problem is when i execute, it didnt work.

site-packages\requests\adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.storj.io', port=443): Max retries exceeded with url: /keys`Preformatted text` (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000002103A7FB4C0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))

Try this

2 Likes

^ @ChemiJ let us know how that works for you!