New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Homeassistant bans ip and API config missmatch: 401 #15595
Comments
My system has just started doing this as well...
|
I'm running with hassos. Seeing exact same problem with reboots, invalid login ip and messages. I thought it was a problem with 0.74 but also seeing with 0.73 |
I can confirm. I have the same issues on HassOS 1.7 with Supervisor 117 and Home Assistant 0.74.0. |
This is interesting https://community.home-assistant.io/t/after-update-to-0-60-1-home-assistant-gets-stuck/38377 Might explain the restart. Also all my addons for hassio are stopped and not set to start at boot. The only one that runs still is duckdns |
Seems like adding the ip to config trusted networks solves the problem. So seems like hassio banned itself, so the watchdog signal got banned and the system restartet since the signal didn't get through. |
I can confirm this. Either setting ip_ban_enabled to false or, if enabled, setting trusted networks to 172.16.0.0/12 fixed it. My http config now looks this:
But is this really safe or will this give access to unauthorized users? |
Adding to truered networks stops the reboot. Thank you fir figuring it out. The explanation seems like it makes sense. What is true troubling is why this was a problem in the first case. Things we know:
All this points to something dealing with time. What did all people have in common that changed that didn't necessarily require an update to ha? The ip was an internal one. Does this mean there was a recent update to an addon, the hypervisor, etc? |
I can confirm the same issue.
|
This is a hassio issue that has been fixed and looks like it will go in version 119 https://github.com/home-assistant/hassio/commits/dev Found this via https://community.home-assistant.io/t/community-hass-io-add-on-node-red/55023/73 |
More info: the bug fixed was introduced with 117 which was released on July 20, 2018, Friday. This might explain the sudden timing. |
I have the same issue using HA 0.75.1, Hassio 123, HassOS 1.8 |
@JesseWebDotCom could you please open a new issue? This issue has been fixed, yours may be unrelated although the error message may be similar. |
I was having this problem in 0.75.2 I had left my MQTT config settings in my configuration.yaml but had not yet reinstalled the mqtt add-on. Commenting out the config settings cleared up my 401 errors. WARNING (MainThread) [hassio.homeassistant] Home-Assistant API config missmatch: 401 |
Trying to set up Hass.io properly, I am still seeing this exact issue on 0.75.2 / 123 / 1.7 + 1.9. My configuration.yaml is a copy of an existing Home Assistant instance, so, like digidude, I had MQTT enabled among a lot of other things. However, commenting out MQTT has not resolved the issue. I am currently commenting out components one by one to see what's causing the issue... |
Please either open a new issue, or follow up with #15873 (it is similar issue on 0.75.2 hassio). Again, issue reported in this thread already been fixed, What ever issue 0.75.2 may have is different one. |
Home Assistant release with the issue:
0.74 (also 0.73 and maybe more)
Last working Home Assistant release (if known):
n/a
Operating environment (Hass.io/Docker/Windows/etc.):
HassIO
Component/platform:
Description of problem:
Today suddenly my homeassistant restartet itself all the time, with just some minutes apart.
I also got an ip-ban from 172.30.32.2. (This is from hassio internally?)
When looking at the system log under hass.io tab I see some errors (listed below).
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):Traceback (if applicable):
System log under hass.io tab --> system:
Additional information:
Hope there is an easy solution, since as of now, hassio restart itself every 5 or 10 minutes. Also tried with version 0.73, with the same problem.
The text was updated successfully, but these errors were encountered: