is it nginx or the spring boot app? a 502 mystery with one clue
ok so check what address the app binds to:
ss -ltnp | grep 5000. if it listens on127.0.0.1butproxy_passuses the servers LAN IP (or the other way around, or IPv6[::1]vs127.0.0.1vialocalhost), nginx will get refused while your curl works.been there man have u checked your 502 settings? lmao mine were reset after an update
hmmm honestly just reset teh fan curve and save yousrelf teh pain, this... so much this
told my boss it would take 10 minutes.. :/ its been my entire lunch break
@sorent613 Raised the Spring Boot app keep-alive timeout above nginxs and enabeld upstream keepalive. Load test passed without a single 502. Thanks all! u guys are the best!!!
IS MY VENV HAUNTED? DOTENV VANISHES THE MOMENT THE DOCKER IMAGE TAKES OVER !!
Related topics
- 502 Bad Gateway Right After I Enabled HTTPS, But The Django App Swears Its Up
- Everything green in the dashboard. Users see BAD GATEWAY.
- IS IT NGINX OR THE NODE API? A 502 MYSTERY WITH ONE CLUE
- nginx says 502, my app says it's fine. who's lying? !!
- Is A 502 Every Few Hours At Random My Hosts Fault Or MINE?
- my site goes 502 right after every deploy. proxy or app to blame?
Reply to this topic
Sign in or create an account to reply.
