is it nginx or the spring boot app? a 502 mystery with one clue

Solved502nginxreverse-proxy91 replies 路 1.7K views 路 started
  1. wait what everyone keeps saying this but nobody posts proof just my 2 cents

    2 2 helpful
  2. Start with the nginx error log, it tells you which kinda 502 it is:

    sudo tail -f /var/log/nginx/error.log
    

    connect() failed (111: Connection refused) means nothing listens where proxy_pass points 馃う upstream prematurely closed connection means teh app accepted and then dropped teh request :D no live upstreams means all backends were marked down. fingers crossed 馃

    5 12 helpful
  3. make a backup before u touch the settings, learned that the hard way, following, having teh same problem

    6 5 helpful
  4. hmmmm not sure about that idk man that sounds like bad advice tbh... pro tip: write down what u change, i didnt and had to redo after from scratch but hey ymmv

    4 1 helpful
  5. lol this thread is gold

    0 1 helpful
  6. nah tbh everyone keeps saying this but nobody posts proof just my 2 cents

    0 5 helpful
  7. @dtanaka what did u end up doing in the end ?

    3 0 helpful
  8. bump. still happening with reverse-proxy for me

    5 3 helpful
  9. so annoyed rn spent a whole week on nginx and im still not done

    0 6 helpful
  10. ok but which version are you on?. ok this thread just saved my weekend ??

    2 0 helpful
  11. oof came here to say exactly this. which version are you on? good luck man!

    1 0 helpful
  12. big if true

    4 0 helpful
  13. make a backup before u touch the DNS, learned that the hard way... wait does this also apply to spring?

    2 0 helpful
  14. oh also unrelated but anyone elses coffee machine also judging them today

    1 10 helpful
  15. i swear nginx is cursed im about to throw this thing out the window lol

    0 2 helpful
  16. spent a whole week on 502 and im still not done

    9 2 helpful
  17. hmmmm ok ok this thread just saved my weekend

    2 0 helpful
  18. @quiet_sage420 works on paper, not in real life. following, having the same problem idk maybe im wrong lol

    2 0 helpful

Reply to this topic

Sign in or create an account to reply.

is it nginx or the spring boot app? a 502 mystery with one clue (page 3) 路 Patchhall