0

我有一个应用程序在App Engine Flex上运行(Google Go Runtime,Docker运行时带有一对额外的文件)。它工作正常,没有问题。Google App Engine Flex投掷502添加云端点后

然后,我添加了Google Cloud Endpoints,突然之间,我的每个请求都获得了502,两者都直接通过云端点的应用程序&。

登录到实例,它看起来像nginx代理本身抛出错误。

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。不确定这是否相关。

有没有人甚至遇到过这个?

回答

0

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