The script fails to upload files larger than 100MB returning the error: urllib3.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:2427).
Other users experience similar issues, and suggest uploading the file in chunks (which has also failed).
The script seems to be slightly outdated with respect to recent code template for uploading records on Zenodo. A complete rewriting of the function upload_to_zenodo may help to solve the issue.
Additionally or alternatively, we can look/adopt something similar to the upload function for https://inveniordm.docs.cern.ch/ available here https://github.com/inveniosoftware/docs-invenio-rdm-restapi-example/tree/master
The script fails to upload files larger than 100MB returning the error: urllib3.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:2427).
Other users experience similar issues, and suggest uploading the file in chunks (which has also failed).
The script seems to be slightly outdated with respect to recent code template for uploading records on Zenodo. A complete rewriting of the function upload_to_zenodo may help to solve the issue.
Additionally or alternatively, we can look/adopt something similar to the upload function for https://inveniordm.docs.cern.ch/ available here https://github.com/inveniosoftware/docs-invenio-rdm-restapi-example/tree/master