502

Bad Gateway

服务器作为网关或代理,从上游服务器接收到了无效的响应。这通常意味着后端服务暂时过载或正在维护。

系统日志

LIVE
~ curl -I https://api.example.com/v1/data
Trying 192.168.1.100:443...
Connected to api.example.com (192.168.1.100) port 443 (#0)
TLSv1.3 (OUT), TLS handshake, Client hello (1):
TLSv1.3 (IN), TLS handshake, Server hello (2):
Warning: Upstream server timed out (504)
HTTP/2 502
date: Tue, 22 Sep 2026 10:23:45 GMT
content-type: text/html
server: cloudflare
Connection #0 to host api.example.com left intact
_
CDN 状态
正常运行
后端 API
连接失败

报告此问题