Describe the bug
Failure to upload a large file (2.3 GB)
To Reproduce
>>> import zenodopy
>>> zeno = zenodopy.Client()
>>> zeno.set_project("10006217")
>>> zeno.upload_file("/Users/fx/Downloads/crystal_300K_volume_change0.tar")
urllib3.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:2426)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/fx/miniforge3/envs/scripts/lib/python3.10/site-packages/requests/adapters.py", line 486, in send
resp = conn.urlopen(
File "/Users/fx/miniforge3/envs/scripts/lib/python3.10/site-packages/urllib3/connectionpool.py", line 844, in urlopen
retries = retries.increment(
File "/Users/fx/miniforge3/envs/scripts/lib/python3.10/site-packages/urllib3/util/retry.py", line 515, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='zenodo.org', port=443): Max retries exceeded with url: /api/files/56b80de7-c506-4c50-b918-8571eb6d0601/crystal_300K_volume_change0.tar (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2426)')))
where the file is a 2.3 GB data file.
Expected behavior
Upload should succeed.
Desktop (please complete the following information):
Describe the bug Failure to upload a large file (2.3 GB)
To Reproduce
where the file is a 2.3 GB data file.
Expected behavior Upload should succeed.
Desktop (please complete the following information):