google-app-engine - 为什么我的谷歌应用引擎有域名 'my-project.df.r.appspot.com' ?

标签 google-app-engine google-cloud-platform

我在 Google Cloud 项目中启用了 Google App Engine my-project ,
App Engine 的 URL 是 my-project.appspot.com默认情况下,这很好。
但是,我发现有时它会变成 my-project.df.r.appspot.com (在我的 App Engine 控制台中),这使我的应用引擎项目在内部使用完全不同的主机名。

有人知道这里发生了什么吗?谢谢。

enter image description here

最佳答案

你见过这个页面吗?

https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed

您可以通过多种方式在单个 GCP 项目中定位不同的版本和服务。

然而,他们中的大多数都拼出了-dot-而不是使用实际的 .他们中的大多数人都有MY_PROJECT_ID和之前的一样.appspot.com .

您的环境中是否有多个服务或版本在运行?

编辑 - 我在 Appengine Flex 发行说明中找到了这个:

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

我没有看到我的弹性服务发生这种情况,但我看到它发生在我的自定义运行时服务上。你的是其中一个吗?

关于google-app-engine - 为什么我的谷歌应用引擎有域名 'my-project.df.r.appspot.com' ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60077636/

相关文章:

node.js - Google App Engine 中的文件在哪里下载?

java - 在 Appengine 上使用 mapreduce 对 200 万条记录进行重复数据删除时性能不佳

python - Reportlab 不在 Google App Engine 上的 Django 应用程序中生成图表

python - 在 Python Google App Engine 中,如何模拟或子类化 File 类,以便编写用于访问文件的软件不会抛出异常?

java - 驱动器 REST API 插入错误,错误显示请求太长

google-cloud-platform - GCP - 如何在 GCP 中查看一个 VM 成本?在计费帐户中,我看到所有计算引擎的成本

java - 从 Android 访问云存储

r - 如何使用 bigrquery 中的 bq_load_table() 将数据从谷歌云存储加载到 R 中?

google-cloud-platform - Google Cloud 如何减少磁盘大小?

go - 如何从数据存储中获取名称/ key