ERROR building package

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
User avatar
Mathieu
Messages: 91
Registration: August 18, 2016 - 10:24

May 23, 2018 - 09:17

/var/log/nginx/error.log:

Code: Select all

2018/05/23 08:48:31 [error] 7137#0: *11683 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.200.68, server: _, request: "POST /api/v3/upload_packages HTTP/1.1", upstream: "http://127.0.0.1:8080/api/v3/upload_packages", host: "wapt"
I have no errors in the others

I'm getting an error message, but the package is indeed present in the repository

I'm going to discuss switching to Debian 9

and I would need to switch back to the normal version of Wapt because I'm still in nightly mode
- WAPT 2.2.3.12463 Enterprise
- Debian 9.9
- Windows 10 21H2 & Windows 11 22h2
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

May 23, 2018 - 10:51

Hello Mathieu,
Mathieu wrote: May 23, 2018 - 09:17 /var/log/nginx/error.log:

Code: Select all

2018/05/23 08:48:31 [error] 7137#0: *11683 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.200.68, server: _, request: "POST /api/v3/upload_packages HTTP/1.1", upstream: "http://127.0.0.1:8080/api/v3/upload_packages", host: "wapt"
I have no errors in the others

I'm getting an error message, but the package is indeed present in the repository
The message says that Nginx didn't receive a response from the WAPT Python server (nginx is acting as a reverse proxy). Could you check if there's a Python error message at the same time?

Code: Select all

cat /var/log/syslog | grep python
Mathieu wrote: May 23, 2018 - 09:17 I'm going to discuss switching to Debian 9

, and I'd have to revert to the regular version of Wapt because I'm still on the nightly build.
If you're on a nightly build of 1.5.1, there shouldn't be any problem upgrading both the distribution and the WAPT server. I just want to make sure it's not an issue related to an older version of Debian or WAPT.

Sincerely,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
User avatar
Mathieu
Messages: 91
Registration: August 18, 2016 - 10:24

May 23, 2018 - 12:01

I don't have any Python errors during the build

I'm on nightly wapt-1.6.0.4
Hello,

Following our private exchange, I was able to try building the Wapt package you sent me.

It works for me.

Could you try it with the latest nightly build?

https://wapt.tranquil.it/wapt/nightly/w ... -fab3d82b/

Simon
- WAPT 2.2.3.12463 Enterprise
- Debian 9.9
- Windows 10 21H2 & Windows 11 22h2
User avatar
htouvet
WAPT Expert
Messages: 436
Registration: March 16, 2015 - 10:48
Contact :

June 11, 2018 - 5:59 PM

Could you try replacing the custom_zip.py file in Program Files (x86)\Wapt with this one:

https://raw.githubusercontent.com/tranq ... tom_zip.py
Tranquil IT
User avatar
Mathieu
Messages: 91
Registration: August 18, 2016 - 10:24

June 14, 2018 - 09:40

I just tried the procedure:
htouvet wrote: Could you try replacing the custom_zip.py file in Program Files (x86)\wapt with this one:

https://raw.githubusercontent.com/tranq ... tom_zip.py
Unfortunately, I still get the same error message:

Code: Select all

Done Uploading C:\waptdev\futur-AdobeCC_2018_2018.0.0-34_x64_PROD.wapt
FATAL ERROR : HTTPError: 500 Server Error:  for url: https://futwapt/api/v3/upload_packages
Exit code:  3
I've noticed that after this error message, my package may appear in my console after a while; this happens about once every three times

We are currently in the testing phase of Enterprise version 1.6.1.0
- WAPT 2.2.3.12463 Enterprise
- Debian 9.9
- Windows 10 21H2 & Windows 11 22h2
User avatar
htouvet
WAPT Expert
Messages: 436
Registration: March 16, 2015 - 10:48
Contact :

June 14, 2018 - 09:53

The HTTP 500 error should have logged a more explicit message on the server side.

Can you check /var/log/daemon.log on the server?
There should be a Python traceback.
Tranquil IT
User avatar
Mathieu
Messages: 91
Registration: August 18, 2016 - 10:24

June 14, 2018 - 10:20

There are no Python traceback entries in the file.

I did receive the message

Code: Select all

Done Uploading C:\waptdev\futur-AdobeCC_2018_2018.0.0-35_x64_PROD.wapt
FATAL ERROR : HTTPError: 504 Server Error: Gateway Time-out for url: https://futwapt/api/v3/upload_packages
Exit code:  3
and the package is indeed present in the console.

In my previous test, there was indeed a Python traceback entry, but it was a disk space issue on my VM
- WAPT 2.2.3.12463 Enterprise
- Debian 9.9
- Windows 10 21H2 & Windows 11 22h2
Locked