Intermittent 502 Server Error

50 views
Skip to first unread message

Alex Taffe

unread,
Feb 15, 2019, 4:07:29 PM2/15/19
to Google App Engine
I’m running a PHP app with Laravel on Google App Engine Flexible. Locally it’s totally fine. However, about once a day for seemingly no reason the entire app dies for 2-5 minutes with a 502 error that says “The server encountered a temporary error and could not complete your request”. By the time I go to start investigating the issue, it’s resolved itself. There are also no error logs being reported through 
gcloud app logs read
or through the app engine logs. It might be some issue with Nginx but I can’t seem to find anything.

I’ve tried searching here but no one else seems to have had the exact same issue and if they had, there was no solution. If anyone has any idea what’s going on or even just how to start debugging this, that’d be great.
image001 copy.png
app.yaml

Harmit Rishi (Cloud Platform Support)

unread,
Feb 26, 2019, 2:55:10 PM2/26/19
to Google App Engine

Thank you for using Google groups.


I understand you are experiencing some downtime for your Google App Engine: Flex application. Based on the error you are getting, I was able to find the following reasoning behind why you may experience random 503 errors. As discussed here[1], a possible scenario may be that you have reached the quota limit and the downtime you encounter is the period in which the quota requires to be replenished. You can explore the details of this further by the documentation provided here[1] under the section called "When a resource is depleted".  


However, if this quota limit is not the issue then I would encourage you to create a private issue on our Public Issue Tracker[2] . This will allow a member of the Google Support team to further investigate this issue for you and verify exactly what is occurring on your specific project.


Hope this helps!



[1]When a resource is depleted: https://cloud.google.com/appengine/quotas#When_a_Resource_is_Depleted

[2]Public issue Tracker: https://cloud.google.com/support/docs/issue-trackers


Reply all
Reply to author
Forward
0 new messages