Page 1 of 1

LibreOffice package problem

Published: May 18, 2017 - 11:00 AM
by Léo André
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.

Re: LibreOffice package problem

Published: May 18, 2017 - 11:57
by Léo André

Re: LibreOffice package problem

Published: May 19, 2017 - 09:32
by htouvet
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?

Re: LibreOffice package problem

Published: May 19, 2017 - 10:01
by Léo André
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.

Re: LibreOffice package problem

Published: May 29, 2017 - 11:20
by Léo André
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?

Re: LibreOffice package problem

Published: June 15, 2017 - 4:01 PM
by Léo André
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!