1
使用新的GAE Split Health Checks,我現在的所有GAE請求都會返回錯誤。即使從我的應用程序中刪除拆分運行狀況檢查並重新部署後,我仍然只能獲得502的。採取所有App引擎請求上的HTTP 502
步驟,切換關健康檢查:
gcloud beta app update --split-health-checks
gcloud SDK:v168.0.0
錯誤消息:
<html><head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>502 Server Error</title>
</head>
<body text=#000000 bgcolor=#ffffff>
<h1>Error: Server Error</h1>
<h2>The server encountered a temporary error and could not complete your request.<p>Please try again in 30 seconds.</h2>
<h2></h2>
</body></html>
指向[--no-split-health-checks]的鏈接(https://cloud.google.com/appengine/docs/flexible/nodejs/configuring-your-app-with-app-yaml#enabling_updated_health_checks)flag文檔。對於傳統運行狀況檢查,請禁用「enable_health_check:False」 – Kenworth
謝謝@Kenworth。鏈接頁面沒有對該標誌的引用,「gcloud beta應用更新」的'v168.0.0'文檔沒有任何參考。希望文檔很快就會解決。 –
謝謝@約瑟夫。我提交了一個關於該問題的文檔錯誤,以便公衆可以看到'--no-split-health-checks'。 – Kenworth