Page 1 of 1
Windows 10 upgrade package
Published: Dec 6, 2022 - 10:27
by philippem
I'm trying to use this package:
https://store.wapt.fr/store/details-tis ... _PROD.wapt
It says:
You must run the "update-package" and the "build-package" for each required language before deploying the package.
I don't quite understand the "build-package," but I'm getting an error at the end of the "update-package" anyway; the upload phase fails (apparently with a 504 error).
Re: Windows 10 Upgrade Package
Published: Dec 6, 2022 - 11:10 AM
by dcardon
wapt version, os etc.? see forum rules.
Re: Windows 10 Upgrade Package
Published: Dec 6, 2022 - 11:55 AM
by philippem
Enterprise edition
Wapt console 2.2.3.12481 on a Windows 10 Pro
Wapt server 2.2.3.12481 on Ubuntu 20.04
In the server directory /var/www/wapt I do have a file test-windows10-upgrade_10.0.19044-102_x64_windows_6.1_PROD_fr_83731b9867d9448e5909da66426ba8b0.wapt
But the upload (which lasts 1 minute 56 seconds) fails with a 504 Gateway Time-out error
To get this message, I used the "build and upload package" option
THANKS
In the nginx logs, I have:
Code: Select all
2022/12/06 11:50:33 [error] 42438#42438: *38038 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 11.120.16.10, server: _, request: "POST /api/v3/upload_packages HTTP/1.1", upstream: "http://127.0.0.1:8080/api/v3/upload_packages", host: "srvwapt.local"
2022/12/06 12:00:04 [error] 42438#42438: *38105 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 11.120.16.10, server: _, request: "HEAD /api/v3/get_stripped_package?package_uuid=aa2cef51-32b8-4e48-a122-8d9f443ae9e9 HTTP/1.1", upstream: "http://127.0.0.1:8080/api/v3/get_stripped_package?package_uuid=aa2cef51-32b8-4e48-a122-8d9f443ae9e9", host: "srvwapt.local"
Re: Windows 10 Upgrade Package
Published: Dec 7, 2022 - 10:27
by philippem
After increasing the Nginx time_out values, I now get a 408 error at the end of the upload.
Re: Windows 10 Upgrade Package
Published: Dec 7, 2022 - 12:10
by dcardon
Hello,
thank you for this clarification. The nginx timeout shouldn't be the problem (the upload limit is 12GB and 30 minutes).
Do you have an error in /var/log/waptserver.log? Do you have the same SHA2sum for the local package and the uploaded package?
For the Win10 upgrade package, you need to run an update-package to integrate the ISO, which isn't included by default.
Is there a proxy between the two?
The HTTP 408 response is related to timeout differences between the various components waiting for each other (the console, nginx, the waptserver.py Python process).
Best regards,
Denis
Re: Windows 10 Upgrade Package
Published: Dec 7, 2022 - 1:22 PM
by philippem
No, there's no proxy.
I'm importing the package, building
it, and uploading it. The build and upload complete, but I get a 408 error.
When I refresh the package list, the package is present.
The md5sum is identical between the built package (and therefore present on the machine with the console) and the one on the WAPT server.
/var/log/waptserver.log is empty.