home-assistant-garmin_connect
home-assistant-garmin_connect copied to clipboard
Forbidden URL
I have managed to get the Garmin Connect integration to connect and login. But as soon as the integration connects, I get the following two lines appear in my HA Logs: -
2022-01-04 17:15:05 ERROR (MainThread) [custom_components.garmin_connect] Connection error occurred during Garmin Connect login request: Forbidden url 2022-01-04 17:15:05 WARNING (MainThread) [homeassistant.config_entries] Config entry '[email protected]' for garmin_connect integration not ready yet: Forbidden url; Retrying in background
It is possible that my PiHole has blocked something, but the HA logs don't tell me what URL is forbidden.
Any thoughts on what URL is forbidden?
@nzrunner Something I want to know as well, it seems HA is maybe requesting an URL before login process is finished, this happens only at restart and resolves itself, I have added more debugging locally to see what exactly is happening.
same here:
The forbidden url is 'post url: https://sso.garmin.com/sso/signin' Looking into it but as mentioned it simply retries and fetches your data.
Maybe this could be flagged as a warning and the if fails after the retry then an error?
Yes looking into that, but we must retry only a fix amount, had some loops already while testing.
Are there any news on this? I tried to setup yesterday and after 5 retries, I end up with this:
And all entities remain empty.
This integration continually goes in and out of this state. Is there a fix for this or is this just how it currently operates?