gvr
(Geert Pieter van Reeven)
June 28, 2019, 9:11am
1
Hi,
Iam having a problem with accessing thru https://.
iam getting the following error.
Log Details (ERROR)
Fri Jun 28 2019 10:50:58 GMT+0200 (Midden-Europese zomertijd)
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
can any one tell me what iam doing wrong.
Thank you
tom_l
June 28, 2019, 4:39pm
2
Have you forwarded the required ports in your router?
Does your ISP block any incoming ports?
Is your router’s public IP address correct on the duckDNS configuration page?
If not, does your ISP use CGNAT?
Are you trying to access HA from the duckDNS address or the IP address?
Are you trying to access HA from within your network or without (try a mobile phone with wifi turned off)?
If access from outside your network is ok but inside does not work, does your router support NAT loopback?
gvr
(Geert Pieter van Reeven)
June 28, 2019, 9:17pm
3
1 week ago it was all fine.
After installing hassio again I did not get it working.
Router is still the same.
I am trying to connect from outside of my own network. With my duckdns adres. I can connect over http but nut over https.
Config is the same as before
tom_l
June 28, 2019, 11:07pm
4
If you can connect via http then the duckDNS addon is either not configured to use SSL or is not set up correctly.
gvr
(Geert Pieter van Reeven)
June 29, 2019, 6:42pm
5
This is how i have made my config and addon.
In my config.
http:
base_url: "https://myname.duckdns.org:8123"
ssl_certificate: "/ssl/fullchain.pem"
ssl_certificate: "/ssl/fullchain.pem"
In duckdns addon
{
"lets_encrypt": {
"accept_terms": true,
"certfile": "fullchain.pem",
"keyfile": "privkey.pem"
},
"token": "my token",
"domains": [
"Myname.duckdns.org"
],
"seconds": 300
}
tom_l
June 30, 2019, 1:16am
6
http:
base_url: myname.duckdns.org:8123
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem