0

I have a Google App Engine (Flexible Python) application running with Stackdriver monitoring. I have been getting failing uptime checks and I can't figure out if there is a real problem or not. The service appears to be available when I query it, and when I click the Test button in the Stackdriver uptime check, the response comes back as requested. However, according to the UI the checks seem to be failing consistently from their Virginia source but succeeding from other sources.

Screenshot

Mouseover

I can't find any corresponding errors in the server logs. I can confirm that I see other 404 errors when triggered manually.

Any ideas how to debug this, or failing that, how to at least modify my Stackdriver uptime check to exclude this (apparently false) alert?

Thanks!

Ben Hsieh
  • 1
  • 1
  • I did a quick reproduction and can see that all the regions are up and running. Are you still experiencing the same issue? – Faizan Jun 14 '18 at 20:45
  • I was able to fix the issue, added the solution as an answer. Thanks for checking! – Ben Hsieh Jun 15 '18 at 22:34

1 Answers1

0

I was able to fix this issue by fixing the address configuration. I had configured stackdriver to ping http://XXXX/address instead of http://XXXX/address/. My server was giving a status 300 redirect, but I guess from some locations the uptime checkers were able to follow the redirects and from other locations they were not.

Ben Hsieh
  • 1
  • 1