google-app-engine - App Engine 端点 API - 带有自定义域的 404

标签 google-app-engine google-cloud-endpoints

我正在尝试将自定义域与应用引擎一起使用。使用 localhost 和 appspot url 一切正常.但是用 custom domain端点 api 不起作用; API 发现请求 ( https://cc.mdsarowar.me/_ah/api/discovery/v1/apis/conference/v1/rest ) 返回 Not Found,错误代码为 404

这是我的 app.yaml ( full code ):

- url: /_ah/spi/.*
  script: conference.api
  secure: optional

和端点 api ( full code ):

@endpoints.api( name='conference',
            version='v1',
            allowed_client_ids=[WEB_CLIENT_ID, API_EXPLORER_CLIENT_ID],
            scopes=[EMAIL_SCOPE], hostname = 'cc.mdsarowar.me')
class ConferenceApi(remote.Service):
"""Conference API v0.1"""
........

提前致谢。

最佳答案

根据 docs :

Note: Google Cloud Endpoints does not support custom domains.

编辑

有一个open feature request为此,您可能想要为其加注星标。

关于google-app-engine - App Engine 端点 API - 带有自定义域的 404,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34612705/

相关文章:

java - jpa IllegalArgumentException异常

java - 请求的对象化事务处理的最佳实践是什么

python - 如何在开发服务器(Google App Engine)中使用生产 BlobStore

python - Google 应用程序引擎端点 api python

java - Cloud Endpoints 为作为命名参数传递的特殊字符生成 HTTP 404

android - 生成的 Google Endpoint 库中的版本字符串来自哪里?

python - 如何测试最终一致性?

python - GoogleAppEngineLauncher : database disk image is malformed

javascript - 使用谷歌云端点上传文件到谷歌应用程序引擎应用程序

google-app-engine - Google Endpoints 在 API 方法中支持哪些参数类型?