Authelia error 502 Bad Gateway reddit / selfhosted ---------------------------------------------------------------------- Pitiful_Vermicelli42 · 2023-12-15 22:43 Hello, since a few days ago, maybe after an update I have this error when accessing the IP where my Authelia instance is hosted, what steps can I follow to troubleshoot? Thanks ---------------------------------------------------------------------- thekrautboy · 2023-12-15 22:47 You are overwhelming me with so many details of your setup and the actual problems, i dont even know where to start, sorry... ^/s ---------------------------------------------------------------------- rbatersi · 2023-12-15 22:50 Check Docker logs or logs in Portainer. ---------------------------------------------------------------------- KD_done · 2023-12-16 00:00 A 502 error is often a "not much there, no response, what are you expecting dude?" error. So.. kick open a shell, and get the container id. of authelia `docker ps` Then lets check if the ip you are using is actually attached to authelia; `docker inspect ` And if that all makes sense, lets open up a log; `docker logs ` Good luck trouble shooting! (and yes.. you can also use the docker name, but if your are copy- pasting.. both work equally fine). ---------------------------------------------------------------------- arcadianarcadian · 2023-12-16 09:45 Because you gave no information at all, we don't know what OS, platform, or application you are using. It's not an actual Authelia error but a reverse proxy. Because it says openresty, it's a NGINX. "502 Bad gateway" errors are mostly because your reverse proxy cannot connect to backend services (in your case it's Authelia) If you're using docker, connect to your nginx container and test to connect to Authelia. There are many ways to do it. docker exec -it bash nc -zv curl -kv : telnet ---------------------------------------------------------------------- Pitiful_Vermicelli42 · 2023-12-17 22:05 Hi!, is running on a LCX in Proxmox Yes in using Nginx in a separate LXC and is running fine for the services that are not using Authelia, let me check those commands , many thanks! ---------------------------------------------------------------------- Pitiful_Vermicelli42 · 2023-12-17 22:05 Thanks, let me further investigate