Tagged articles

502 Bad Gateway

5 articles · Page 1 of 1
liandk
liandk
Sep 26, 2026 · Operations

Nginx & API Gateway Troubleshooting: 10 Critical Production Faults Solved

This guide covers the top 10 Nginx and API gateway production faults—including 502/504 errors, retry storms, load imbalance, rate limiting failures, CORS issues, and 499 errors—with root cause analysis, configuration fixes, and a step-by-step SOP for rapid diagnosis and long-term prevention.

502 Bad Gateway504 Gateway TimeoutAPI Gateway
0 likes · 13 min read
Nginx & API Gateway Troubleshooting: 10 Critical Production Faults Solved
Raymond Ops
Raymond Ops
Aug 14, 2026 · Operations

How to Diagnose and Fix 502, 504, and Connection Reset Errors in Nginx

This guide explains the distinct causes of 502 Bad Gateway, 504 Gateway Timeout, and Connection Reset errors in Nginx reverse‑proxy setups and provides a step‑by‑step, four‑segment troubleshooting workflow with concrete log examples, shell commands, and configuration recommendations.

502 Bad Gateway504 Gateway TimeoutConfiguration
0 likes · 24 min read
How to Diagnose and Fix 502, 504, and Connection Reset Errors in Nginx
Practical DevOps Architecture
Practical DevOps Architecture
Mar 27, 2025 · Backend Development

Resolving 502 Bad Gateway Errors in Nginx Reverse Proxy Caused by Missing SNI Configuration

This article explains why Nginx reverse‑proxying to an HTTPS upstream can return a 502 Bad Gateway error when SNI is not sent, shows the relevant SSL handshake log, and provides a complete configuration example—including enabling proxy_ssl_server_name—to fix the issue and avoid reload‑related socket problems.

502 Bad GatewayConfigurationSNI
0 likes · 4 min read
Resolving 502 Bad Gateway Errors in Nginx Reverse Proxy Caused by Missing SNI Configuration
LouZai
LouZai
Oct 19, 2023 · Backend Development

How to Diagnose and Fix 502 Bad Gateway Errors

This article explains what a 502 Bad Gateway error means, why it is usually generated by a reverse‑proxy like nginx, and provides step‑by‑step methods to identify common causes such as backend timeouts, process crashes, and misconfigured upstream servers.

502 Bad GatewayBackendHTTP status codes
0 likes · 15 min read
How to Diagnose and Fix 502 Bad Gateway Errors