Page 1 of 1
[RESOLVED] Restriction on package size or number of files
Published: April 20, 2018 - 09:37
by Imp83
Hello,
I'm having trouble uploading large packages to my WAPT 1.5.23 server on a Debian distribution. I keep getting the error "ConnectionError:(-1,'Unexpected EOF')". I imagine this is due to a restriction on package size or the number of files?
Thanks in advance.
Re: Restriction on package size or number of files
Published: April 20, 2018 - 10:10 AM
by dcardon
Hello imp83,
Imp83 wrote: ↑Apr 20, 2018 - 9:37 AM
On my WAPT 1.5.23 server on a Debian distribution, I'm having some trouble uploading large packages. I keep getting the error "ConnectionError:(-1,'Unexpected EOF')". I imagine this is due to a restriction on package size or the number of files?
There are no particular restrictions. We have clients with packages larger than 15GB. When you mention restrictions on the number of files, are you referring to packages with a few hundred files, or tens of thousands? Could you publish your problematic package?
There have been memory issues during uploads in the past, but this should be resolved in version 1.5.1.23. How much RAM do you have on the server and the client machine? Could you specify the amount of RAM that is causing the problem, i.e., at what point you encounter an issue?.
At first glance, the first thing I would look at would be the antivirus, firewalls with DPI or proxies that think they are too smart.
Sincerely,
Denis
Re: Restriction on package size or number of files
Published: April 20, 2018 - 11:27 AM
by Imp83
It's quite strange because when I try to edit the previous version of the package without making any changes and then upload it, I get an error:
HTTPError 413 Client Error: Request Entity Too Large for url:
https://server/api/v3/upload_packages
On both the server and client sides, I have 4GB of RAM.
Re: Restriction on package size or number of files
Published: April 20, 2018 - 11:40 AM
by dcardon
Good morning,
Imp83 wrote: ↑Apr 20, 2018 - 11:27
It's quite strange because when I try to edit the previous version of the package without making any changes and then upload it, I get an error:
HTTPError 413 Client Error: Request Entity Too Large for url:
https://server/api/v3/upload_packages
On the server and client side, I have 4GB of RAM.
I asked in my email what the problematic packet size was... Could it possibly be 4GB? Thank you.
Upon closer inspection, the WAPT server itself doesn't limit it, but there is a security measure at the Nginx level. If you want to upload larger packages, you need to modify the `client_max_body_size` parameter in the `/etc/nginx/sites-enabled/wapt.conf` file.
Sincerely,
Denis
Re: Restriction on package size or number of files
Published: April 20, 2018 - 9:05 PM
by Imp83
Indeed, the package is much larger than 4GB. I'll try pushing the client_max_body_size.
Thank you very much.
Re: Restriction on package size or number of files
Published: April 23, 2018 - 11:06 AM
by Imp83
Hello,
thank you for your help. Modifying the max client body size allowed me to successfully upload the package.