Since a couple a days (I think since I updated to 2024.10), integrations which need to retrieve data via an API, show an error that no connection can be made (http 400). When I restart HA, initially it works, but after a few minutes, and after reloading an integration, the connection errors appear again.
At the end of this post. I put a few examples of errors in the log file.
I have an external connection to HA with Duckdns and Nginx Proxy Manager. I enabled Websockets support in Nginx.
Other info which might be relevant:
- Home Assistant Yellow
- Core 2024.10.2
- Supervisor 2024.10.0
- Operating System 13.1
- Frontend 20241002.3
- I run Adguard Home (ad blocker) in my HA installation, but disabling AGH doens’t solve the problem.
- Router is a Fritz!Box 7590.
- In configuration.yaml:
http: use_x_forwarded_for: true trusted_proxies: - 172.30.33.0/24 - 192.168.1.49 - 192.168.1.36 ip_ban_enabled: true login_attempts_threshold: 5
Some examples of error messages:
Samsung smart things
2024-10-13 21:07:10.063 DEBUG (MainThread) [homeassistant.components.smartthings] 400, message="Expected HTTP/:\n\n b''\n ^", url='https://api.smartthings.com/v1/installedapps/.....'
Brink ventilation custom component
2024-10-13 21:12:37.588 DEBUG (MainThread) [custom_components.brink_ventilation.core.brink_home_cloud] POST request: https://www.brink-home.com/portal/api/portal/UserLogon, data {'UserName': '******', 'Password': '*******'}
2024-10-13 21:12:37.674 ERROR (MainThread) [custom_components.brink_ventilation.core.brink_home_cloud] Client error on API https://www.brink-home.com/portal/api/portal/UserLogon request Cannot write to closing transport
2024-10-13 21:12:37.675 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry ***@***.** for brink_ventilation
Reolink doorbell
2024-10-13 21:10:42.280 ERROR (MainThread) [homeassistant.components.reolink.host] Reolink Deurbel event long polling subscription lost: Host 192.168.1.88:443: failed to subscribe long_poll: Host 192.168.1.88:443: subscription request got a response with wrong HTTP status 400: Bad Request
Buienradar (weather)
2024-10-13 21:10:56.563 WARNING (MainThread) [homeassistant.components.buienradar.util] Unable to retrieve json data from Buienradar (Msg: 400, message="Expected HTTP/:\n\n b''\n ^", url='https://data.buienradar.nl/2.0/feed/json', status: None)
2024-10-13 21:10:56.569 WARNING (MainThread) [homeassistant.components.buienradar.util] Unable to retrieve json data from Buienradar (Msg: 400, message="Expected HTTP/:\n\n b''\n ^", url='https://data.buienradar.nl/2.0/feed/json', status: None)
Solardedge (solar panels)
2024-10-13 21:11:52.054 ERROR (MainThread) [homeassistant.components.solaredge] Could not retrieve details from SolarEdge API
Frank (energy provider)
2024-10-13 21:11:56.966 ERROR (MainThread) [custom_components.frank_energie.coordinator] Unexpected error fetching Frank Energie coordinator data