Dear all
I’m new here and to home assistant. I have a fresh hassio install runing in virtualbox on an ubuntu machine. I have difficulties getting remote access over https to work using the duckdns add-on. I did the following:
Router:
Forward rule:
Outside: port 8123
Type: TCP
Inside: port 8123 to ip of hassio server.
Duckdnd website
Create an free account. Add a domain name:
xxxx.duckdns.org
Install duckdnd add-on with following config:
lets_encrypt:
accept_terms: true
certfile: /ssl/fullchain.pem
keyfile: /ssl/privkey.pem
token: token-from-duckdns-website
domains:
- xxxx.duckdns. org
aliases: []
seconds: 300
What works:
http:// internal-ip:8123
http:// xxxx.duckdns. org:8123
What doesn’t work:
https:// internal-ip:8123
https:// xxxx.duckdns. org:8123
If I approch these two adresses I get the message that the server returned an invalid response.
From the log files:
Log Details (ERROR)
Logger: aiohttp.server
Source: /usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py:355
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.8/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
Duckdnas add-on log files give no errors
Any advice on what I’m doing wrong or what I can do to find the problem?