Skip to content

Upload fails for files larger than 100MB #3

@stefanofasciani

Description

@stefanofasciani

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions