Score:0

Troubleshooting opaque Cloud Run 502

cn flag

My Cloud Run app responds with 200 on most requests, but certain HEAD requests throw 502. When I run the Docker container locally it consistently returns 200.

Even my in-app access logs say that the web server has returned 200, yet I get 502 from Google Frontend. No other messages are logged between the in-app access log's successful response and the failure from Cloud Run.

Logs screenshot

How do I debug this opaque error? I've tried everything in the Cloud Run troubleshooting guide to no avail.

Alex G avatar
ar flag
Have you tried checking this [documentation](https://cloud.google.com/debugger/docs/setup) to help you add more details to your question?
cn flag
Thanks Alex, unfortunately it looks like Cloud Debug for Go isn't available on Cloud Run https://cloud.google.com/debugger/docs/setup/go
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.