[google-appengine] Re: 502 Bad Gateway on a PHP GAE Standard - no app logs

2018-10-18 Thread 'Dan S (Cloud Platform Support)' via Google App Engine
The quantity of instances deployed default is 2, the minimum of instances required is 1, as you can confirm in this link[1]. However, maybe only 1 instance it will not be enough for ~5 users. It seems that by setting 2 instances, could help you to solve this issue. You can retrieve more logs

[google-appengine] Re: 502 Bad Gateway on a PHP GAE Standard - no app logs

2018-10-18 Thread Maxime Lebastard
I don't think we experienced a peak, I only see the requests of less than 5 users (it was during the night, we usually don't have a lot of users at this time). One component I forgot in this stack is a Nginx instance that takes the role of a gateway using the reverse proxy feature. The request

[google-appengine] Re: 502 Bad Gateway on a PHP GAE Standard - no app logs

2018-10-17 Thread 'Olu' via Google App Engine
The "failed_to_connect_to_backend" is similar to "failed_to_pick_backend" response and this often occurs when the load balancer knows where it wants to send traffic but cannot successfully route its request or find a healthy or available instance. Reviewing the instance usage and health checks