Import a big package into private repo.

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
elpiafo
Messages: 7
Registration: March 15, 2015 - 00:05

March 15, 2015 - 00:29

Hello,

I built a package from an executable .exe and when I want to import the package in the private deposit, this error occurs:
- HTTPError: 502 Server Error: Bad Gateway.

This error happens from CLI or GUI.
The package size is 2.3 GB.

My OS: Windows Server 2012 R2.

Maybe the connection to the server closes because the transfer is too long. Anyone how to set this?
Guillaume
Messages: 1
Registration: March 16, 2015 - 10:45

March 16, 2015 - 10:52

Hello,

I'm getting the exact same error with version 1.1.1.0,
whether I use a package I built (1.3 GB)
or try with a 630 MB wapt package.

Can you help me?

Thank you.
User avatar
Frédéric Bonnier
Messages: 24
Registration: June 23, 2014 - 10:10
Location: Nantes
Contact :

March 16, 2015 - 11:11

Hello,
The current method for uploading a package from the console has a timeout that is too short for large packages or slow networks. This is one of the things that will be changed in future versions.

For now, if you have a WAPT server on Windows:
copy your new package to the directory C:\WAPT\waptserver\repository\wapt and run the command:
#wapt-get update-packages C:\WAPT\waptserver\repository\wapt

If you have a WAPT server on Linux:
copy your package to /var/www/wapt on your WAPT server using WinSCP.

Then run the command on the WAPT server:
#python /opt/wapt/wapt-scanpackages.py /var/www/wapt

Frédéric
Frédéric Bonnier - Tranquil IT Systems.
Display yourself on the WAPT user map by completing the questionnaire.
Discover our service offerings at Tranquil IT Systems and join us on Twitter.
elpiafo
Messages: 7
Registration: March 15, 2015 - 00:05

March 23, 2015 - 8:47 PM

Hello and thank you for your reply.

I will test it soon and keep you posted.

Best regards.
elpiafo
Messages: 7
Registration: March 15, 2015 - 00:05

March 26, 2015 - 11:54 PM

Great, it works. Thank you very much.
User avatar
CasseThor
Messages: 22
Registration: December 1, 2017 - 9:25 PM

June 21, 2018 - 1:53 PM

Apparently, the same error exists in version 1.5.
I just tested your commands and it works.

I get a message:
Processed packages: SolidWorks.wapt etc...

It was added correctly to my repository; all that's left is to test the deployment.


However, with version 1.5, is there now a variable to modify this timeout?

Here is the console log:

Uploading c:\waptdev\iut-solidworks_22.2.0.40-1_all.wapt: 7058648134 / 7058648134
Done Uploading c:\waptdev\iut-solidworks_22.2.0.40-1_all.wapt
FATAL ERROR: HTTPError: 504 Server Error: Gateway Time-out for url: https://wapt.iut.lan/api/v3/upload_packages
Exit code: 3

(I should mention that I previously had to modify the nginx.conf file by changing client_max_body_size to 10GB
from client_max_body_size to 10000m; to get the gateway timeout error.)


Regards
Locked