ESPHome - 502: Bad Gateway issue

Dear all,

i’v been update my esphome and it stopped to work. When i try to open the WEB UI I get the message : 502: Bad Gateway issue.

I try to install the DEV and also the BETA version but I got the same error.

Did you have any idea for it ?

See below my logs :

[s6-init] making user provided files available at /var/run/s6/etc…exited 0.
[s6-init] ensuring user provided files have correct perms…exited 0.
[fix-attrs.d] applying ownership & permissions fixes…
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts…
[cont-init.d] 00-banner.sh: executing…
curl: error while loading shared libraries: libgmp.so.10: cannot open shared object file: No such file or directory
[19:04:55] ERROR: Something went wrong contacting the API
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing…
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] 10-requirements.sh: executing…
[cont-init.d] 10-requirements.sh: exited 0.
[cont-init.d] 20-nginx.sh: executing…
curl: error while loading shared libraries: libgmp.so.10: cannot open shared object file: No such file or directory
[19:04:56] ERROR: Something went wrong contacting the API
[cont-init.d] 20-nginx.sh: exited 0.
[cont-init.d] 30-esphome.sh: executing…
[cont-init.d] 30-esphome.sh: exited 0.
[cont-init.d] 40-migrate.sh: executing…
[cont-init.d] 40-migrate.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[19:04:56] INFO: Waiting for dashboard to come up…
[19:04:57] INFO: Starting ESPHome dashboard…
INFO Starting dashboard web server on unix socket /var/run/esphome.sock and configuration dir /config/esphome…
[19:05:01] INFO: Starting NGINX…
nginx: [emerg] invalid port in “:” of the “listen” directive in /etc/nginx/servers/ingress.conf:2
[19:05:01] INFO: Waiting for dashboard to come up…
[19:05:01] INFO: Starting NGINX…
nginx: [emerg] invalid port in “:” of the “listen” directive in /etc/nginx/servers/ingress.conf:2
[19:05:02] INFO: Waiting for dashboard to come up…
[19:05:02] INFO: Starting NGINX…
nginx: [emerg] invalid port in “:” of the “listen” directive in /etc/nginx/servers/ingress.conf:2
[19:05:03] INFO: Waiting for dashboard to come up…
[19:05:03] INFO: Starting NGINX…
nginx: [emerg] invalid port in “:” of the “listen” directive in /etc/nginx/servers/ingress.conf:2

1 Like

same issue…
I’ve restarted from Supervisor with default status and restarted the add-on
It’s OK now …