I’ve setup external URL, for my instance of HA, using the Nginx proxy addon.
Everything worked fine, I even managed to get the integration with google assistant going. But after few days it just stopped and I can’t for the love of me figure out why.
I get couldn’t connect message with HA logo when I try to access my domain url.
This is my http config:
http:
use_x_forwarded_for: true
trusted_proxies:
- 172.30.33.2
Proxy host config:
{
"id": 3,
"created_on": "2021-10-01T06:47:48.000Z",
"modified_on": "2021-10-06T10:53:01.000Z",
"owner_user_id": 1,
"domain_names": [
"mydomain.duckdns.org"
],
"forward_host": "192.168.50.155",
"forward_port": 8123,
"access_list_id": 0,
"certificate_id": 23,
"ssl_forced": true,
"caching_enabled": false,
"block_exploits": false,
"advanced_config": "",
"meta": {
"letsencrypt_email": "[email protected]",
"letsencrypt_agree": true,
"dns_challenge": false
},
"allow_websocket_upgrade": true,
"http2_support": false,
"forward_scheme": "http",
"enabled": 1,
"locations": [],
"hsts_enabled": false,
"hsts_subdomains": false
}
Browser console error when trying to access my domain:
I also noticed this error in the log when HA is starting:
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/connection.py:89
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 9:38:34 AM (1 occurrences)
Last logged: 9:38:34 AM
[2957918272] Received invalid command: mobile_app/push_notification_channel
I guess HA can’t get the SSL key from the proxy? Can anybody tell me what I’m missing?