Tag

502

0 views collected around this technical thread.

Efficient Ops
Efficient Ops
Nov 3, 2022 · Operations

Why Random 502 Errors Appear After PaaS Migration? Nginx‑Ingress‑uwsgi Insights

After moving an application to a PaaS platform, intermittent 502 errors occur due to Nginx’s retry behavior, HTTP/1.1 connection reuse, and a mismatch between Ingress and uwsgi protocols, which can be diagnosed through error statistics and packet capture.

502NginxTroubleshooting
0 likes · 6 min read
Why Random 502 Errors Appear After PaaS Migration? Nginx‑Ingress‑uwsgi Insights
Qunar Tech Salon
Qunar Tech Salon
Dec 28, 2018 · Backend Development

Troubleshooting Intermittent 502 Errors in a Node Backend Behind Nginx Reverse Proxy

The article details a step‑by‑step investigation of intermittent 502 errors when routing client requests through Nginx to a Node.js service, identifies malformed URL characters triggering Node's clientError event as the root cause, and presents code and configuration fixes to prevent the issue.

502NginxNode.js
0 likes · 8 min read
Troubleshooting Intermittent 502 Errors in a Node Backend Behind Nginx Reverse Proxy
Beike Product & Technology
Beike Product & Technology
Mar 16, 2018 · Backend Development

Investigation of Nginx 502 Errors Caused by Large Response Headers from PHP‑FPM

This article analyzes a recurring Nginx 502 Bad Gateway error triggered by oversized response headers from PHP‑FPM, explores whether fastcgi_buffer_size is the root cause, captures communication data between Nginx and PHP‑FPM, conducts systematic tests with varying buffer sizes, and draws conclusions about header handling and buffer configuration.

502NginxPHP-FPM
0 likes · 12 min read
Investigation of Nginx 502 Errors Caused by Large Response Headers from PHP‑FPM