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.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!!!
Reply to this topic
Sign in or create an account to reply.
