Proxy Header Forwarding
4 incident problems about Proxy Header Forwarding. Start with the reviewed ones.
Read first
502 Bad Gateway and 504 Gateway Timeout: causes and fixes (upstream down, socket path, slow responses)A 502 from nginx or a load balancer means the upstream did not answer properly; a 504 means it did not answer in time. Use the error log message to find the cause, then fix in order: call the upstream directly, fix address and socket config, then timeouts.Network4 min read502 vs 503 vs 504: what each status code means, who generated it, and how to debug eachA 502 means the proxy got an invalid response from the upstream, a 503 means nothing can take the request right now, and a 504 means the upstream did not answer in time. Learn to tell from headers, body and timing whether a CDN, load balancer, ingress-nginx or your app produced it.Network4 min readAccess port vs trunk port: VLAN tagging differences, when to use each, and what breaksAn access port carries one VLAN untagged; a trunk port carries many VLANs with 802.1Q tags. The differences, where each belongs, allowed VLAN lists and DTP, and the outages caused by the wrong mode, with the commands that confirm them.Network4 min read
Recommended problems
Reviewed problems first, then problems with detailed scenarios.
All problems (4)
NETWORK-1205Proxy health page is green but user traffic still failsA proxy health endpoint looks fine, but actual user traffic still fails because the TLS hostname path chooses a different upstream certificate or route than the simple health check.NetworkIntermediate19 minProNETWORK-1200Reverse proxy timeout tuning hides that one upstream path is serializing requests unexpectedlyRaising timeout values improves symptoms temporarily, but the real issue is that a supposedly parallel backend path became serialized and now stalls under modest load.NetworkAdvanced23 minProNETWORK-1190WebSocket path fails only through reverse proxyA network team validates normal HTTP traffic and DNS, yet upgraded sessions still fail because one proxy hop never forwards the needed semantics.NetworkIntermediate18 minProNETWORK-1195Reverse proxy returns 499 and upstream timeout togetherA team reads public NGINX troubleshooting threads and focuses on 499 status codes. The real problem is a backend path slow enough that clients disconnect first.NetworkIntermediate19 minPro