[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Pulp-list] timeout when uploading creating artifact in Pulp3

I would break up the file into chunks and upload it as multiple requests with the uploads API[0]. The full example of how to do this can be found at the bottom of this page[1].

Please note that the Uploads API is going to change very soon (most likely later today). It will be slightly different in the next RC.

[0] https://docs.pulpproject.org/en/3.0/nightly/restapi.html#tag/uploads
[1] https://docs.pulpproject.org/en/3.0/nightly/workflows/upload-publish.html#chunked-uploads

On Wed, Jun 26, 2019 at 10:38 AM Juan Cabrera <juan cabrera unamur be> wrote:


I'm checking to upload a 5.4G rpm package. First I get a time out.

$ http --form -a admin:password POST file@/home/jcabrera/mnt/pkg//RedHat-7_6_45_7_None/easybuild/sticky/Schrodinger-2018-1_Linux-x86_64-eb_3.5.1-1.x86_64.rpm

http: error: ConnectionError: ('Connection aborted.', timeout('timed out',)) while doing POST request to URL:

When I set a longer timeout, I give a server error.

 $ http --timeout=120 --form -a admin:password POST file@/home/jcabrera/mnt/pkg/RedHat-7_6_45_7_None/easybuild/sticky/Schrodinger-2018-1_Linux-x86_64-eb_3.5.1-1.x86_64.rpm 

http: error: ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) while doing POST request to URL:

Is there a way to increase the timeout in the sever ?


Juan Cabrera


Correspondant informatique
Département de Mathématiques

T. 081724919
juan cabrera unamur be

Université de Namur ASBL
Rue de Bruxelles 61 - 5000 Namur

Let’s respect the environment together.
Only print this message if necessary!

Pulp-list mailing list
Pulp-list redhat com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]