HTTP 502 on all App Engine Requests

428 views Asked by At

Using the new GAE Split Health Checks, all my GAE requests now return 502 errors. Even after removing Split Health Checks from my app and redeploying, I still get exclusively 502's.

Steps taken, toggle off health checks:

gcloud beta app update --split-health-checks

gcloud SDK: v168.0.0

Error Message:

<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>
1

There are 1 answers

3
Joseph Lust On BEST ANSWER
  1. There are errors in Split Health Checks that can fail irrecoverably. These can't be fixed in your app code.

  2. The gcloud SDK does not allow disabling of Split Health Checks as written. The documentation is erroneous in its instructions to disable this feature

The proper way to disable Split Health Checks is to use the undocumented --no-split-health-checks flag like so:

gcloud beta app update --no-split-health-checks

Then redeploy your app.