Issue
-
Today a build on DEV environment fails repeatedly (3 times) with the same error each time:
Failed to deploy the services in /var/jenkins_home/workspace/xxx_dev/build on liferay.cloud.
HttpError: HTTP Error: 408 Request Timeout
Environment
- PaaS
Resolution
-
The problem was that the webserver service was not deploying any more. This was corrected after fixing some errors in the nginx config files. We now understand that the problem was caused by these changes: https://learn.liferay.com/w/liferay-cloud/reference/breaking-changes#changes-to-the-web-server-service
Also, after fixing this and the webserver service was deployed successfully, the site did not work, we noticed an error "error connecting to upstream server". The upstream server was at port 81 until now, but now it is on port 8081 (as on UAT env), we checked this on the shell:
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:/$So after changing the port to 8081, the site answers again.
Contenido exclusivo para suscriptores.
Una Suscripción Enterprise de Liferay proporciona acceso a más de 1.500 artículos que incluyen las mejores practicas, diagnóstico de problemas y otras soluciones útiles. Inicia sesión para tener un acceso completo.
Inicia sesión