Router Port forwarding for 80, 443, and 8123 to 8123
Logs indicate everything is running correctly
From an external device, I am able to access http://domain.duckdns.org but nothttps://domain.duckdns.org. I keep getting ERR_SSL_PROTOCOL_ERROR (Chrome) and “This might be because the site uses outdated or unsafe TLS security settings” (Edge) when I try accessing Hassio with the https url.
Lol I was in the process of typing this exact same post when I decided to do ONE more search for an answer.
The only diff in my config is that under http I have the base_url as
https://xxxx.duckdns.org:8123
I get the login page when I go to https://xxxx.duckdns.org, but after that while on the “Loading data” screen I get a message after about a minute saying it couldn’t connect.
The only error I’m seeing in the home-assistant.log is:
2019-12-22 12:57:17 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 275, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
File "aiohttp\_http_parser.pyx", line 523, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: invalid HTTP method
I’ve tried the base_url with all variations of http, https and the port number, but cannot get past the ssl protocol error to see the login page. Did you do anything differently than the steps provided on the duckdns and nginx Addon pages?
I set it up according to the DuckDNS instructions. I removed the cert file entries in accordance with the NGINX proxy directions. Trying the removal of the base_url now.
You can forward whatever external port you want to 443 internally. You just then need to add the port number to the end of the URL when you go to access it. I forward a high port (>20000) for obscurity to cut down on malicious attempts to access my instance.
No prob! If you can’t load your instance using the duckdns URL internally, your router might not support NAT loopback (or it does but it’s disabled). Something to look into.