Hello everyone
Usually I’m connecting to HASS through SSL-enabled domain and everything works great.
But a few days ago I didn’t have an internet for a few hours and found myself totally losing control over my home.
So I’ve tried to connect locally:
- Desktops and androids work with SSL hostname mismatch warning.
- iOS devices load login page but can’t login. Looks like it’s related to how the SSL websocket works on iOS.
trusted_networks looked the best solution but it doesn’t work for me at all.
I have HASS installation on a Mac connected to Time Capsule (router).
Mac is 10.0.1.50, which is part of router’s range 10.0.1.2-200, router’s IP is 10.0.1.1
HTTP Config:
http:
server_port: 3333
api_password: xxx
ssl_certificate: '…fullchain.pem'
ssl_key: '…privkey.pem'
use_x_forwarded_for: true
trusted_networks:
# - 10.0.x.x
# - 10.0.x.x/24
- 10.0.1.1
- 10.0.1.1/8
- 10.0.1.1/24
- 10.0.1.50
- '10.0.1.50'
- localhost
- sterling.local
- 127.0.0.1
- '127.0.0.1'
- ::1
Connecting to any IP/name through http returns: The server unexpectedly dropped the connection.
What am I doing wrong?
Please help!