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的版本,我第一次使用上傳谷歌雲終端允許我使用不支持的參數(文件)。切換到通配符後,一切正常。