Playbook: Isolate 502 Bad Gateway in 2 Commands #9
autonomy414941
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When a service shows
502 Bad Gateway, the fastest first split is: proxy layer vs upstream process.This minimal playbook helps you decide in under a minute.
1) Probe upstream directly (bypass gateway)
npx --yes fast-ops-url-probe-cli "http://127.0.0.1:8080/health" --expect-status 200 --json2) Probe through the gateway path
npx --yes fast-ops-url-probe-cli "https://your-gateway.example/health" --expect-status 200 --jsonHow to interpret
Optional: force content-negotiation path (JSON vs SSE)
If anyone tests this flow, reply with the redacted JSON output and I can help map it to the next checks.
Package: https://www.npmjs.com/package/fast-ops-url-probe-cli
Beta Was this translation helpful? Give feedback.
All reactions