Skip to content

Issue identified : Failure when setting up libre account #55

@carl-ranson

Description

@carl-ranson

** Which country are you from **
New Zealand

Describe the bug
Integration says,
Failed setup, will retry: Something really wrong happened!

Log file
Logger: homeassistant.config_entries
Source: config_entries.py:761
First occurred: 8:49:05 PM (1 occurrence)
Last logged: 8:49:05 PM

Error setting up entry carl.**..com for librelink
Traceback (most recent call last):
File "/config/custom_components/librelink/api.py", line 200, in api_wrapper
response.raise_for_status()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/client_reqrep.py", line 629, in raise_for_status
raise ClientResponseError(
...<5 lines>...
)
aiohttp.client_exceptions.ClientResponseError: 430, message='', url='https://api.libreview.io/llu/auth/login'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 761, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/librelink/init.py", line 48, in async_setup_entry
sessionToken = await myLibrelinkLogin.async_get_token()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/librelink/api.py", line 148, in async_get_token
reponseLogin = await api_wrapper(
^^^^^^^^^^^^^^^^^^
...<9 lines>...
)
^
File "/config/custom_components/librelink/api.py", line 209, in api_wrapper
raise LibreLinkApiCommunicationError(
"Error fetching information",
) from exception
custom_components.librelink.api.LibreLinkApiCommunicationError: Error fetching information

Screenshots
n/a

Additional context
New Zealand is not one of the possible zones. I think we're counted as "global", but I also tried "australia" and "asia/pacific"

Thanks for the plugin, Happy to do additional investigation as directed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions