I have Google App Engine enabled in a Google Cloud project my-project
,
the App Engine's URL is my-project.appspot.com
by default, which is fine.
However, I found sometimes it becomes my-project.df.r.appspot.com
(in my App Engine console), which makes my app engine project using a completely different host name internally.
Does anybody know what's going on here? Thanks.
Have you seen this page yet?
https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed
There are several ways you can target different versions & services within a single GCP project.
However, most of them spell out -dot-
instead of using an actual .
and most of them have MY_PROJECT_ID
as the thing before .appspot.com
.
do you have multiple services or versions running in your environment?
EDIT - I found this in the Appengine Flex release notes:
App Engine is changing the URLs that you use to send requests to your apps. You can now include a region ID to help Google route your requests more efficiently and reliably. For example, an app can receive requests at https://PROJECT_ID.REGION_ID.r.appspot.com. This new URL is optional for existing apps, and will soon be required for all new apps.
https://cloud.google.com/appengine/docs/flexible/python/release-notes
I'm not seeing this happen to my flex service, but I am seeing it happen to my custom-runtime service. Is yours either of these?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With