I've been struggling to fix and Google App Engine Flexible deployment with app.yaml specifications:
runtime: nodejs
env: flex
The log tail shows that the application is listening, but it appears something is failing between the application and the proxy. I looks like it might be trying to start twice, though that may just be the npm command redirection:
022-09-20 21:07:05 default[v4]
2022-09-20 21:07:05 default[v4] > xxx@1.0.0 start
2022-09-20 21:07:05 default[v4] > nuxt start
2022-09-20 21:07:05 default[v4]
2022-09-20 21:07:20 default[v4] ℹ Listening on: http://localhost:8080/
2022-09-20 21:10:34 default[v4]
2022-09-20 21:10:34 default[v4] > artmuseoio@1.0.0 start
2022-09-20 21:10:34 default[v4] > nuxt start
2022-09-20 21:10:34 default[v4]
2022-09-20 21:10:50 default[v4] ℹ Listening on: http://localhost:8080/
2022-09-20 21:20:04 default[v4]
2022-09-20 21:20:04 default[v4] > artmuseoio@1.0.0 start
2022-09-20 21:20:04 default[v4] > nuxt start
2022-09-20 21:20:04 default[v4]
2022-09-20 21:20:18 default[v4] ℹ Listening on: http://localhost:8080/
The server logs complain of an error:
Cannot operate on apps/xxx/services/default because an operation is already in progress.
At the appspot url, the result is either a 502 Error, 503 Error, or -27 server error.
The application source is in .zip archive stored in a bucket in the same project.
I have tried:
- Switching to standard deployment
- Changing resources.
- Changing readiness checks.
What can I investigate next?