添加 Cloud Endpoints 后,Google App Engine Flex 抛出 502

斯科特·范伯格

我有一个在 App Engine Flex 上运行的应用程序(Google Go 运行时,在 docker 运行时中有几个额外的文件)。它工作正常,没有任何问题。

然后我添加了 Google Cloud Endpoints,突然间我收到了每个请求的 502s,直接进入应用程序并通过 Cloud Endpoints。

登录实例,看起来 nginx-proxy 本身正在抛出错误。

Downloading Endpoints Service Configuration to /etc/nginx/endpoints/service.json
curl: (22) The requested URL returned error: 403 Forbidden
Failed to obtain Endpoints Service Configuration from Service Management API
/sbin/start-stop-daemon: warning: failed to kill 26: No such process

app.yaml 的唯一补充是

endpoints_api_service:
   name: "redacted.appspot.com"
   config_id: "2017-06-01r0"

我正在运行最新版本的 gcloud。我在部署 openapi.yaml 文件时收到 403 禁止,然后我更新到了解决该问题的最新 gcloud。不确定这是否相关。

有没有人遇到过这种情况?

斯科特·范伯格

事实证明,核心问题是我第一次用来上传谷歌云端点的 gcloud 版本允许我使用不受支持的参数(文件)。切换到通配符后,一切正常。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

Google App Engine上的Spring Boot REST抛出502

Google App Engine Cloud Endpoints userId为null

调用Google Cloud Endpoints API时,Google App Engine任务队列获取404

如何在本地Google App Engine的非默认模块上访问Google Cloud Endpoints?

Google App Engine 和 Google Endpoints 框架

可以使用Go Google App Engine Standard进行Cloud Endpoints吗?

Google Cloud App Engine上的刷新页面抛出404

迁移到App Engine的Cloud Endpoints Frameworks 2.0

在App Engine的Cloud Endpoints Frameworks 2.0中增强端点

如何将Google App Engine(Flex)Go应用连接到Google Cloud Postgres实例

使用Dockerfile从Google Cloud Build部署到Google App Engine Flex环境

Google Cloud App Engine Flex Env上的Flask-Socketio服务器

从部署在Google Cloud App Engine中的Node JS应用程序查询时,Cloud SQL抛出ETIMEDOUT错误

Google App Engine Django App Admin 登录导致 502

使用App Engine Flexible(Node.js)进行Google Cloud Endpoints自定义身份验证

如何在Google Cloud App Engine上使用PubSub创建订阅者,以通过Publisher从Google Cloud App Engine Flex收听消息?

Google App Engine flex CORS配置

Google App Engine Flex是否支持Pipfile?

带有NodeJS的Google App Engine 502(错误网关)

Google App Engine上的Google Cloud端点

GWT,Google App Engine,TimerTask或ServiceImpl中的线程抛出异常

App Engine服务未在Cloud Endpoints和Dev Portal下显示

Google Cloud Endpoints EOFException

获取 403 尝试调用托管在 App Engine Java 8、开发应用服务器上的 Google Cloud Endpoints API

Google Cloud:存储和 App Engine

Google Cloud Datastore和Flask App Engine

Google Cloud App Engine Flexbile 配额错误

App Engine Google Cloud中的部署失败

Google Cloud Storage通过App Engine定价