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

Juan Cabrera juan.cabrera at unamur.be
Wed Jun 26 14:32:36 UTC 2019


Hi,

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

$ http --form -a admin:password POST
http://10.0.148.220:24817/pulp/api/v3/artifacts/
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:
http://10.0.148.220:24817/pulp/api/v3/artifacts/

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

$ http --timeout=120 --form -a admin:password POST
http://10.0.148.220:24817/pulp/api/v3/artifacts/
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: http://10.0.148.220:24817/pulp/api/v3/artifacts/

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

Regards

Juan Cabrera

-- 

Juan CABRERA
Correspondant informatique
Département de Mathématiques

T. 081724919
juan.cabrera at unamur.be <mailto:juan.cabrera at unamur.be>
http://staff.unamur.be/jbcabrer

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

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20190626/e72ab6bf/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdceafbkcaajjkmc.png
Type: image/png
Size: 9356 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20190626/e72ab6bf/attachment.png>


More information about the Pulp-list mailing list