LibreOffice package problem

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
Leo André
Messages: 5
Registration: May 18, 2017 - 10:26

May 18, 2017 - 11:00

Hello,

my supervisor asked me to set up a WAPT server to keep the software up to date on their computer network. I had no problems setting up the device; however, when I try to install the LibreOffice package on my private repository, either the download fails or I get the following error message:

"An unhandled exception has occurred
HTTPError: 502 Server Error: Bad Gateway for url:
http://xxxx/upload_package/vhmat_lib ... 1_all.wapt".

I tried creating a package using the command line and downloading LibreOffice as an .msi file, but I get the same error message.

Even after changing the repository address to the "Les Fourmis du Web" repository, I get the same message.

I'm not sure how to get LibreOffice into my private repository.

Sincerely, have a good day.
User avatar
htouvet
WAPT Expert
Messages: 436
Registration: March 16, 2015 - 10:48
Contact :

May 19, 2017 - 09:32

This could be due to an HTTP POST request size limit in your HTTP server configuration.
Is your server a Windows system?
Are you using IIS?
Tranquil IT
Leo André
Messages: 5
Registration: May 18, 2017 - 10:26

May 19, 2017 - 10:01

I think the problem might stem from there.

I didn't encounter any issues when duplicating smaller packages.

My server is indeed running Windows 7, but I don't use IIS.
Leo André
Messages: 5
Registration: May 18, 2017 - 10:26

May 29, 2017 - 11:20

Here is the error message I get when I try to duplicate the LibreOffice package:

Traceback (most recent call last):
File "
File "C:\wapt\common.py", line 4844, in build_upload
upload_res = self.http_upload_package(buildresult['package'],wapt_server_user=wapt_server_user,wapt_server_passwd=wapt_server_passwd)
File "C:\wapt\common.py", line 2983, in http_upload_package
res = self.waptserver.post('upload_package/%s'%os.path.basename(package_filename),data=afile,auth=auth,timeout=300)
File "C:\wapt\common.py", line 2056, in post
req.raise_for_status()
File "C:\wapt\lib\site-packages\requests\models.py", line 837, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 502 Server Error: Bad Gateway for url: http://XXXX//upload_package/vhmat-li ... 1_all.wapt

Do you have any idea what steps to take to resolve this error?
Leo André
Messages: 5
Registration: May 18, 2017 - 10:26

June 15, 2017 - 4:01 PM

Problem solved!

The issue was with the 32-bit version of the Voyage Linux distribution; once our Wapt devices were upgraded to the stable 32-bit version of Debian 8.8, there were no more problems!
Locked