-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NGINX SSL Proxy add-on fails to work but no logs to debug #3289
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Short info of my Setup: 1: Access logs
or a "tail -f" from the core-ssh addon to /config/home-assistant.log is doing what needed. 2: The problem itself
No difference when using curl and switching explicitly to http2 or http1.1 Suspicous to me is the part of the error log address: 172.30.33.0 is normaly a net address and not used actively. That's all I got now, it's late and this has been a hour or so debugging this whole thing. |
Did you follow the configuration page? And you need to add the trusted_proxies section (requests from reverse proxies will be blocked if these options are not set).
Requires restart of hass. |
The add-on doc should clearly say "if you see 400 Bad request you need to add this section...". To a newcomer like me the NGINX SSL Proxy documentation is very unclear: there is no distinction between which parts of the configuration instructions concern the Add-on and which parts refer to global HA Even before the must-have |
the fun thing is, I added the trusted_proxies section, no difference. I will try to replicate with a standalone nginx and trace down the content send between nginx and ha... |
ok, got it running. Changed the following Settings meanwhile:
As described by @tkurki the trusted_proxies section got added to the homassitant.yaml. Quick reload of all services and it worked. https://www.home-assistant.io/getting-started/configuration/ |
@elegant-emma did u notice the PR that I linked above? Can you check if the doc updates there make sense to you? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi I'm still facing issue with getting this working, it's been hours debugging. Tried and verified.
Please let me know if there are any logs required |
It all of sudden started working, For those stumble on to this make sure to do full reboot and wait for some time for the addon to start before accessing the web UI |
Describe the issue you are experiencing
Add-on shows as started, then 20 seconds late it stops itself.
At no point does 443: get opened on the machine that i can see via netstat.
Browser reports connection refused.
What type of installation are you running?
Home Assistant OS
Which operating system are you running on?
Home Assistant Operating System
Which add-on are you reporting an issue with?
NGINX Home Assistant SSL proxy
What is the version of the add-on?
3.5.0
Steps to reproduce the issue
DuckDNS installed and working, certs checked and fine on domain.
Install NGINX SSL Proxy add-on and configure with FQDN used by duckdns (https://X.duckdns.org) and operating on port 443
Forward port on router 443 to the HAOS machine 443.
Enable NGINX proxy - no response at X.duckdns.org:443
System Health information
No repairs, system healthy. No button/pop-up.
Anything in the Supervisor logs that might be useful for us?
Anything in the add-on logs that might be useful for us?
Additional information
I had this exact process working fine on an RPi OS, but I cannot replicate it here on HAOS. It seems that if anything additional is needed in the config isn't explicitly listed in the documentation.
The text was updated successfully, but these errors were encountered: