Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

/healthz route of an app deployed on Google App Engine returns 404

HTTP requests for a /healthz route on an app deployed on Google App Engine don't seem to reach the /healthz endpoint within the app.
Instead, a 404 page is served, apparently from the GCP infrastructure.
Can I know how to override this behaviour and make these requests reach my app?

Thank you.

enter image description here.

A bit more background:

I'm deploying a Streamlit app on Google App Engine.
Streamlit web UI appear to be sending requests to the /healthz endpoint periodically, and when these requests fail, Streamlit app stops working and displays an error message as below.

enter image description here

like image 207
user1502505 Avatar asked Oct 07 '20 05:10

user1502505


1 Answers

Some URL paths ending in z, including /healthz, are reserved for use by App Engine and cannot be used.

like image 145
Dustin Ingram Avatar answered Sep 20 '22 12:09

Dustin Ingram