Hi all, I am new to IPFS and trying to create python script to upload some images to Infura IPFS.
I am trying to post my request like that:
endpoint = "https://ipfs.infura.io:5001" response = requests.post(endpoint + '/api/v0/add?wrap-with-directory=true', files=files, auth=(projectId, projectSecret))
I get following error from requests library:
requests.exceptions.SSLError: HTTPSConnectionPool(host='ipfs.infura.io', port=5001): Max retries exceeded with url: /api/v0/add?wrap-with-directory=true (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2396)')))
I tried to look for answers on stackoverflow, somebody recommends installing the following:
pip install ndg-httpsclient pip install pyopenssl pip install pyasn1
but it did not solve my issue. Any help would be really appreciated