Skip to content
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

Git Pull is returning 401 while trying to check Home-Assistant config #3587

Open
tcarrondo opened this issue May 3, 2024 · 2 comments
Open

Comments

@tcarrondo
Copy link

Describe the issue you are experiencing

Git pull addon is unable to check configuration and because of that unable to restart after config changes being fetched.

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Home Assistant Operating System

Which add-on are you reporting an issue with?

Git pull

What is the version of the add-on?

7.14.1

Steps to reproduce the issue

  1. push some changes to config repo
  2. wait for add-on Git pull to fetch those changes

System Health information

There are currently no repairs available

Anything in the Supervisor logs that might be useful for us?

No response

Anything in the add-on logs that might be useful for us?

(...)
[Info] Checking if something has changed...
[Info] Something has changed, checking Home-Assistant config...
time="2024-05-02T19:01:11Z" level=error msg="Unexpected server response. Status code: 401"
Unexpected server response. Status code: 401
[Error] Configuration updated but it does not pass the config check. Do not restart until this is fixed!
(...)

Additional information

Going to: Developer tools > Check and restart
Configuration is valid, and restarting HA works as expected with the changes pushed to repo.

@andarotajo
Copy link

I'm experiencing the same issue. Not sure since when this has been happening though

@AleksejsC
Copy link

I have same issue. In supervisor logs:
WARNING (MainThread) [supervisor.api.middleware.security] No API token provided for /core/check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants