Upstream prematurely closed connection... randomly at night only

502nginxreverse-proxy1 replies 路 193 views 路 started
  1. I just moved our FastAPI service to a new server and set up nginx as the reverse proxy. Every request returns:

    502 Bad Gateway

    502 Bad Gateway
    nginx
    

    the app logs show nothing, as if no request ever arrives. firewall is open, the process is running, port 3000 is listening 馃う what on earth is nginx talking to?

    im used to deploying on a PaaS where this just works, so teh proxy layer is new territory for me. could it be a permissions thing, an address thing, or something Ive never even heard of? any direction helps. any ideas??

    facepalm

    1
  2. is the video call app bound to 127.0.0.1, 0.0.0.0, or ::1? and whats in ur proxy_pass? ??

    26 1 helpful

Reply to this topic

Sign in or create an account to reply.