Back to HTTP Check Tool
5xx · Server Error

502Bad Gateway

服务器作为网关或代理,从上游服务器收到无效响应。

What is HTTP 502?

502 Bad Gateway 表示作为网关或代理的服务器从上游服务器收到了无效响应。常见于后端服务器崩溃或返回格式错误的数据时。

Example

Nginx proxy to crashed Node.js app → 502 Bad Gateway

Check a URL in real-time

Use our HTTP ping tool to check the actual status code of any URL.

Try httping.io →

Common Use Cases

  • 后端服务器崩溃
  • 上游服务返回错误
  • 反向代理配置错误

Quick Facts

Code502
Category5xx
TypeServer Error

Related 5xx Codes