Git_pull add-on always getting 401 when checking config

Recently I’ve noticed that my HA doesn’t restart when I push changes for my automations to my Git repository. I’m using the git_pull add-on to pull them and it usually checks the config before restarting the instance.

Based on the logs, the pull is successful but the config check is not and always results in Unexpected server response. Status code: 401. Not sure what it’s not authorized to do here as I’ve not changes anything about the add-on as far as I know.

Do you have any ideas how to fix this?

tcarrondo was so kind and created an issue Git Pull is returning 401 while trying to check Home-Assistant config · Issue #3587 · home-assistant/addons · GitHub

As the issue has been opened for quite some time and there’s still no solution for that, does anyone have a clue about the root cause of this?

I’m sorry to ping about this once again, but is there any explanation for the 401 error while using the Git pull addon?

No idea unfortunately. There’s still an open issue for this Git Pull: "Unexpected server response. Status code: 401" · Issue #3714 · home-assistant/addons · GitHub but no one who fixes it