Homeassistant authorization callback error with 0.211.1 #25961
Replies: 7 comments 9 replies
-
Where? What happens if you execute the call from the logfile using curl? |
Beta Was this translation helpful? Give feedback.
-
|
I just had the same issue. Check your ip_bans.yaml in Home Assistant to see if the EVCC IP appears there. If you remove the IP from the ban list and restart HA / EVCC, it should work again. So far, I’ve also noticed that the authorization between EVCC and HA has to be redone every time either HA or EVCC restarts. |
Beta Was this translation helpful? Give feedback.
-
|
My EVCC instance is at http://<my_nas_fqdn>/evcc, which is portal to http://<my_nas_fqdn>:7070. During EVCC startup, I see the following error in the logs:
Request failed with status code 404.
GET http://<my_nas_fqdn>/evcc/api/config/devices/vehicle
Could that have something to do with the problem? The error appeared after configuring the home assistant template. Maybe a wrong API call or a call with the wrong credentials?
|
Beta Was this translation helpful? Give feedback.
-
|
At the moment, I unfortunately can’t add anything regarding the root cause, since no further issues have occurred since then. I have no idea what went wrong that caused the login attempts to fail and ultimately led to the IP being blocked. In my configuration, I’m using both the Home Assistant device integration as well as MQTT via the HA broker, and HTTP GET commands (with a long-term token) to read and set entities. The only thing I haven’t tried yet to possibly reproduce the issue is restarting the host OS. |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
|
Could this be related to this issue? #25788 Since 0.211 specifying the Home Assistant server by hostname does no longer work. You need to specify it by its IP address. |
Beta Was this translation helpful? Give feedback.
-
|
Ich habe das gerade an meinen Instanzen ausprobiert, einmal mit long lived token und einmal ohne. Beides Mal hängt die Authentisierung nach dem erfolgreichen Einloggen in Homeassistant. Hier sind die Logfiles von Homeassistent:
2025-12-28 08:16:29.633 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 192.168.178.140 (192.168.178.140). Requested URL: '/auth/login_flow/f64a45c7b6fe3bb13c9ee966f5214167'. (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.0 Safari/605.1.15)
2025-12-28 08:17:35.154 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 192.168.178.140 (192.168.178.140). Requested URL: '/auth/login_flow/43ffe3f7abb6f294ecbada3bbb6ae833'. (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.0 Safari/605.1.15)
2025-12-28 08:21:00.684 ERROR (MainThread) [custom_components.evcc_intg.pyevcc_ha] ***@***.***: WSServerHandshakeError - 502, message='Invalid response status', url='ws://nas.maassgang.de/evcc/ws'
2025-12-28 08:23:20.432 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 192.168.178.140 (192.168.178.140). Requested URL: '/auth/login_flow/5ddf4f87a5553c81b3eae56b6a716995'. (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.0 Safari/605.1.15)
2025-12-28 08:24:47.494 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from fe80::bc:7d78:a9e7:ae6c (fe80::bc:7d78:a9e7:ae6c). Requested URL: '/auth/login_flow/77b991ae4cbafc9ce29503287be7f2be'. (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.0 Safari/605.1.15)
2025-12-28 08:29:57.059 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 192.168.178.140 (192.168.178.140). Requested URL: '/auth/login_flow/50ced306bc8781fcd8b2b560bb73b6b5'. (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.0 Safari/605.1.15)
… Am 27.12.2025 um 23:38 schrieb andig ***@***.***>:
Logfile?
—
Reply to this email directly, view it on GitHub <#25961 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACQDEBHCGIFO6DZ6ZXJUIPL4D4C5BAVCNFSM6AAAAACOYZ73PWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTKMZVGM4TINA>.
You are receiving this because you commented.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
Authorize homeassistant, always end up in "callback error"
Steps to reproduce
Configuration details
Log details
nslookup evcc.home.arpa
Server: adguard.home.arpa
Address: 192.168.100.11
Name: evcc.home.arpa
Address: 192.168.100.254
nslookup homeass.home.arpa
Server: adguard.home.arpa
Address: 192.168.100.11
Name: homeass.home.arpa
Address: 192.168.100.10
What type of operating system or environment does evcc run on?
Linux
External automation
Nightly build
Version
root@evcc:~# evcc -v evcc version 0.211.1
Beta Was this translation helpful? Give feedback.
All reactions