Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

why my google app engine has domain name 'my-project.df.r.appspot.com'?

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.

enter image description here

like image 582
Guoliang Avatar asked Feb 05 '20 14:02

Guoliang


1 Answers

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?

like image 146
Alex Avatar answered Nov 10 '22 10:11

Alex