Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to upload large file #14

Open
fxcoudert opened this issue Oct 17, 2023 · 0 comments
Open

Failure to upload large file #14

fxcoudert opened this issue Oct 17, 2023 · 0 comments

Comments

@fxcoudert
Copy link

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):

  • OS: macOS 13
  • Browser: not relevant
  • Version: zenodopy-0.3.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant