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

Librelink authentication not working anymore #34

Open
mammuth opened this issue Nov 26, 2024 · 3 comments
Open

Librelink authentication not working anymore #34

mammuth opened this issue Nov 26, 2024 · 3 comments
Assignees

Comments

@mammuth
Copy link
Contributor

mammuth commented Nov 26, 2024

I have been running the librelink sync occasionally over the last couple of years and it always worked flawlessly.

All of a sudden, I started receiving the following error responses (since 2024-11-15 12:03:03):

2024-11-26 15:23:02,093 Connecting to 192.168.178.20:8086
2024-11-26 15:23:02,115 Using cached authTicket, expiration: 2024-12-11T11:42:59
2024-11-26 15:23:02,303 HTTP request failed: 403 Client Error: Forbidden for url: https://api-de.libreview.io/llu/connections

Does Anyone see something similar or have an idea how to troubleshoot it? 🤔

My config

LIBRELINKUP_USERNAME = 'redacted'
LIBRELINKUP_PASSWORD = "redacted"
LIBRELINKUP_DATABASE = 'glucose'
LIBRELINKUP_URL = 'https://api-de.libreview.io'
LIBRELINKUP_VERSION = '4.7.0'
LIBRELINKUP_PRODUCT = 'llu.ios'

What I already tried

  • Requesting a new auth token to no success
  • Changing the config to version=4.9 and llu.android
  • Adding a User-Agent: Testing header as proposed here
  • Using different base URLs (api.libreview.io, api-eu and api-eu2 subdomains)
@mammuth
Copy link
Contributor Author

mammuth commented Nov 26, 2024

Unrelated but injecting it since this ticket is already about Librelink connection issues: This comment shows that we'd need additional header changes if we have to go to LLU > 4.11 at some point.

@mammuth
Copy link
Contributor Author

mammuth commented Nov 26, 2024

Using the official webapp at https://www.libreview.com shows that they're also still using api-de.libreview.io, so it might be an issue related to headers? 🤔

image

@c99koder c99koder self-assigned this Nov 26, 2024
@c99koder
Copy link
Owner

I will look into adding the additional headers soon, thanks for letting me know about the change to the API

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

2 participants