legacy-knowledge-base
公開されました Jun. 30, 2025

PaaSのデプロイがHTTPエラー408 Request Timeoutで失敗する

written-by

Sorin Pop

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • 今日、DEV環境でのビルドが同じエラーで何度も(3回)失敗した:

    Failed to deploy the services in /var/jenkins_home/workspace/xxx_dev/build on liferay.cloud. 
    HttpError: HTTP Error: 408 Request Timeout

環境

  • PaaS

解像度

  • 問題は、ウェブサーバー・サービスがデプロイされなくなったことだった。 これは、nginxの設定ファイルのいくつかのエラーを修正した後に修正されました。 私たちは現在、この問題が以下の変更によって引き起こされたことを理解している。https://learn.liferay.com/w/liferay-cloud/reference/breaking-changes#changes-to-the-web-server-service

    また、この問題を解決し、ウェブサーバー・サービスが正常にデプロイされた後、サイトが機能せず、「error connecting to upstream server(上流サーバーへの接続エラー)」というエラーに気づきました。 アップストリームサーバーはこれまで81番ポートだったが、現在は8081番ポートになっている(UAT環境と同じ):

    nginx@webserver-594864798d-kfgww:/$ curl 127.0.0.1:81 curl: (7) Failed to connect to 127.0.0.1 port 81: Connection refused
    nginx@webserver-594864798d-kfgww:/$ curl 127.0.0.1:8081
    nginx@webserver-594864798d-kfgww:/$

    そこで、ポートを8081に変更したところ、再び回答が返ってきた。

did-this-article-resolve-your-issue

legacy-knowledge-base