hassio-addons / addon-nginx-proxy-manager

Nginx Proxy Manager - Home Assistant Community Add-ons
https://addons.community
MIT License
315 stars 101 forks source link

Proxy does not work anymore [warn] 173#173 #559

Closed MomosX closed 2 months ago

MomosX commented 2 months ago

Hi,

Since a few days back my proxy hosts do not work anymore. I have not messed with the config, just doing regular HA updates. SSL Certificates are ok, i can renew them using the NPM web interface. I have tried to delete the proxy host and recreate it but it still doesnt work.

The log shows [warn] 173#173: protocol options redefined for 0.0.0.0:443 in /config/nginx/proxy_host/4.conf:14. I dug up the file 4.conf and line 14 is

listen 443 ssl http2;

If i delete the proxy host corresponding to 4.conf, same error will pop up for next proxy host.

Need some help please :)

Thank you !!

`s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service base-addon-banner: starting


Add-on: Nginx Proxy Manager Manage Nginx proxy hosts with a simple, powerful interface

Add-on version: 1.0.1 You are running the latest version of this add-on. System: Home Assistant OS 12.1 (amd64 / qemux86-64) Home Assistant Core: 2024.4.2 Home Assistant Supervisor: 2024.04.0

Please, share the above information when looking for help or support in, e.g., GitHub, forums or the Discord chat.

s6-rc: info: service base-addon-banner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service base-addon-log-level: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service base-addon-log-level successfully started s6-rc: info: service legacy-cont-init: starting s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service init-npm: starting s6-rc: info: service init-nginx: starting s6-rc: info: service init-npm successfully started s6-rc: info: service npm: starting s6-rc: info: service npm successfully started [20:26:48] INFO: Starting the Manager... s6-rc: info: service init-nginx successfully started s6-rc: info: service nginx: starting s6-rc: info: service nginx successfully started s6-rc: info: service legacy-services: starting [20:26:48] INFO: Starting NGinx... nginx: [warn] protocol options redefined for 0.0.0.0:443 in /config/nginx/proxy_host/4.conf:14 s6-rc: info: service legacy-services successfully started [4/10/2024] [8:26:48 PM] [Global ] › ℹ info Using Sqlite: /config/database.sqlite [4/10/2024] [8:26:49 PM] [Migrate ] › ℹ info Current database version: none [4/10/2024] [8:26:49 PM] [Setup ] › ℹ info Logrotate Timer initialized [4/10/2024] [8:26:49 PM] [Setup ] › ℹ info Logrotate completed. [4/10/2024] [8:26:49 PM] [IP Ranges] › ℹ info Fetching IP Ranges from online services... [4/10/2024] [8:26:49 PM] [IP Ranges] › ℹ info Fetching https://ip-ranges.amazonaws.com/ip-ranges.json [4/10/2024] [8:26:49 PM] [IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v4 [4/10/2024] [8:26:49 PM] [IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v6 [4/10/2024] [8:26:49 PM] [SSL ] › ℹ info Let's Encrypt Renewal Timer initialized [4/10/2024] [8:26:49 PM] [SSL ] › ℹ info Renewing SSL certs close to expiry... [4/10/2024] [8:26:49 PM] [IP Ranges] › ℹ info IP Ranges Renewal Timer initialized [4/10/2024] [8:26:49 PM] [Global ] › ℹ info Backend PID 159 listening on port 3000 ... [4/10/2024] [8:26:50 PM] [Nginx ] › ℹ info Reloading Nginx [4/10/2024] [8:26:50 PM] [SSL ] › ℹ info Renew Complete 2024/04/10 20:26:50 [warn] 173#173: protocol options redefined for 0.0.0.0:443 in /config/nginx/proxy_host/4.conf:14 [4/10/2024] [9:26:49 PM] [SSL ] › ℹ info Renewing SSL certs close to expiry... [4/10/2024] [9:26:50 PM] [Nginx ] › ℹ info Reloading Nginx [4/10/2024] [9:26:50 PM] [SSL ] › ℹ info Renew Complete 2024/04/10 21:26:50 [warn] 173#173: protocol options redefined for 0.0.0.0:443 in /config/nginx/proxy_host/4.conf:14 [4/10/2024] [10:26:49 PM] [SSL ] › ℹ info Renewing SSL certs close to expiry... [4/10/2024] [10:26:50 PM] [Nginx ] › ℹ info Reloading Nginx [4/10/2024] [10:26:50 PM] [SSL ] › ℹ info Renew Complete 2024/04/10 22:26:50 [warn] 173#173: protocol options redefined for 0.0.0.0:443 in /config/nginx/proxy_host/4.conf:14 [4/10/2024] [11:26:49 PM] [SSL ] › ℹ info Renewing SSL certs close to expiry... [4/10/2024] [11:26:50 PM] [Nginx ] › ℹ info Reloading Nginx [4/10/2024] [11:26:50 PM] [SSL ] › ℹ info Renew Complete 2024/04/10 23:26:50 [warn] 173#173: protocol options redefined for 0.0.0.0:443 in /config/nginx/proxy_host/4.conf:14 [4/11/2024] [12:26:49 AM] [SSL ] › ℹ info Renewing SSL certs close to expiry... [4/11/2024] [12:26:50 AM] [Nginx ] › ℹ info Reloading Nginx [4/11/2024] [12:26:50 AM] [SSL ] › ℹ info Renew Complete 2024/04/11 00:26:50 [warn] 173#173: protocol options redefined for 0.0.0.0:443 in /config/nginx/proxy_host/4.conf:14 [4/11/2024] [1:26:49 AM] [SSL ] › ℹ info Renewing SSL certs close to expiry... [4/11/2024] [1:26:50 AM] [Nginx ] › ℹ info Reloading Nginx [4/11/2024] [1:26:50 AM] [SSL ] › ℹ info Renew Complete 2024/04/11 01:26:50 [warn] 173#173: protocol options redefined for 0.0.0.0:443 in /config/nginx/proxy_host/4.conf:14 [4/11/2024] [2:26:49 AM] [IP Ranges] › ℹ info Fetching IP Ranges from online services... [4/11/2024] [2:26:49 AM] [IP Ranges] › ℹ info Fetching https://ip-ranges.amazonaws.com/ip-ranges.json [4/11/2024] [2:26:49 AM] [SSL ] › ℹ info Renewing SSL certs close to expiry... [4/11/2024] [2:26:50 AM] [IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v4 [4/11/2024] [2:26:50 AM] [IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v6 [4/11/2024] [2:26:50 AM] [Nginx ] › ℹ info Reloading Nginx 2024/04/11 02:26:50 [warn] 173#173: protocol options redefined for 0.0.0.0:443 in /config/nginx/proxy_host/4.conf:14 [4/11/2024] [2:26:50 AM] [Nginx ] › ℹ info Reloading Nginx [4/11/2024] [2:26:50 AM] [SSL ] › ℹ info Renew Complete 2024/04/11 02:26:50 [warn] 173#173: protocol options redefined for 0.0.0.0:443 in /config/nginx/proxy_host/4.conf:14 [4/11/2024] [3:26:49 AM] [SSL ] › ℹ info Renewing SSL certs close to expiry... [4/11/2024] [3:26:50 AM] [Nginx ] › ℹ info Reloading Nginx [4/11/2024] [3:26:50 AM] [SSL ] › ℹ info Renew Complete 2024/04/11 03:26:50 [warn] 173#173: protocol options redefined for 0.0.0.0:443 in /config/nginx/proxy_host/4.conf:14 [4/11/2024] [4:26:49 AM] [SSL ] › ℹ info Renewing SSL certs close to expiry... [4/11/2024] [4:26:50 AM] [Nginx ] › ℹ info Reloading Nginx [4/11/2024] [4:26:50 AM] [SSL ] › ℹ info Renew Complete 2024/04/11 04:26:50 [warn] 173#173: protocol options redefined for 0.0.0.0:443 in /config/nginx/proxy_host/4.conf:14 [4/11/2024] [5:26:49 AM] [SSL ] › ℹ info Renewing SSL certs close to expiry... [4/11/2024] [5:26:50 AM] [Nginx ] › ℹ info Reloading Nginx [4/11/2024] [5:26:50 AM] [SSL ] › ℹ info Renew Complete 2024/04/11 05:26:50 [warn] 173#173: protocol options redefined for 0.0.0.0:443 in /config/nginx/proxy_host/4.conf:14 [4/11/2024] [6:26:49 AM] [SSL ] › ℹ info Renewing SSL certs close to expiry... [4/11/2024] [6:26:50 AM] [Nginx ] › ℹ info Reloading Nginx [4/11/2024] [6:26:50 AM] [SSL ] › ℹ info Renew Complete 2024/04/11 06:26:50 [warn] 173#173: protocol options redefined for 0.0.0.0:443 in /config/nginx/proxy_host/4.conf:14`

MomosX commented 2 months ago

Update: I have deleted all the hosts, all the ssl certificates. Configured them again, reboot, anything i could think of. Nothing worked , same freaking error. Wasted a few good hours.

And suddenly i thought to reboot the router also ... Asus Zenfi ET12.

And... everything is alive again. It was like the router stopped forwarding the ports, even if they showed ok. Go figure.

Cheers all, happy camper again :)