[Resolved] HTTPError: 504 Server Error: Gateway Time-out
Published: July 25, 2019 - 11:23
Good morning,
I have a problem following the update of a WAPT server from version 1.3.13 to version 1.7.4.
Everything is working fine: package deployment, adding new hosts, etc...Except for uploading or deleting packages
When uploading packages, I get the following error message:
HTTPError: 504 Server Error: Gateway Time-out for url: http://dist.montpellier.cemagref.fr/api ... d_packages
After the transfer, this message appears after about thirty seconds (during which the console is unresponsive) regardless of the upload method:
-via waptconsole to import a local package
-via waptconsole to import a package from the tranquil.it repository
-via the command prompt with wapt-get build-upload or upload-package The following message appears simultaneously in the nginx error.log file on the server:
[error] 1890#1890: *2186 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 172.16.10.78, server: dist.montpellier.cemagref.fr, request: "POST /api/v3/upload_packages HTTP/1.1", upstream: "http://127.0.0.1:8080/api/v3/upload_packages", host: "dist.montpellier.cemagref.fr"
The following window appears after deleting a package from waptconsole: and at the same time in the nginx error.log:
[error] 1892#1892: *2195 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 172.16.10.78, server: dist.montpellier.cemagref.fr, request: "POST /api/v3/packages_delete HTTP/1.0", upstream: "http://127.0.0.1:8080/api/v3/packages_delete", host: "dist.montpellier.cemagref.fr"
IMPORTANT INFORMATION: Despite the error messages, the packages are being uploaded or deleted correctly, so it's probably not a permissions issue. However, it's still very annoying because the console freezes for 30 seconds each time.
I should point out that the server runs on Debian Stretch (9.9) and the console runs on Windows 10.
I have a problem following the update of a WAPT server from version 1.3.13 to version 1.7.4.
Everything is working fine: package deployment, adding new hosts, etc...Except for uploading or deleting packages
When uploading packages, I get the following error message:
HTTPError: 504 Server Error: Gateway Time-out for url: http://dist.montpellier.cemagref.fr/api ... d_packages
After the transfer, this message appears after about thirty seconds (during which the console is unresponsive) regardless of the upload method:
-via waptconsole to import a local package
-via waptconsole to import a package from the tranquil.it repository
-via the command prompt with wapt-get build-upload or upload-package The following message appears simultaneously in the nginx error.log file on the server:
[error] 1890#1890: *2186 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 172.16.10.78, server: dist.montpellier.cemagref.fr, request: "POST /api/v3/upload_packages HTTP/1.1", upstream: "http://127.0.0.1:8080/api/v3/upload_packages", host: "dist.montpellier.cemagref.fr"
The following window appears after deleting a package from waptconsole: and at the same time in the nginx error.log:
[error] 1892#1892: *2195 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 172.16.10.78, server: dist.montpellier.cemagref.fr, request: "POST /api/v3/packages_delete HTTP/1.0", upstream: "http://127.0.0.1:8080/api/v3/packages_delete", host: "dist.montpellier.cemagref.fr"
IMPORTANT INFORMATION: Despite the error messages, the packages are being uploaded or deleted correctly, so it's probably not a permissions issue. However, it's still very annoying because the console freezes for 30 seconds each time.
I should point out that the server runs on Debian Stretch (9.9) and the console runs on Windows 10.