Repository navigation
Raise garminconnect for mobile login fixes and clarify Strava 403; 1.15.2 - #79
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This release updates Garmin's mobile login strategy and makes a Strava 403 easier to diagnose.
garminconnectfloor from 0.3.10 to 0.3.20. Version 0.3.20, released on October 23, 2026, restores the library's mobile login, which Garmin had answered with 429 on every attempt since April. It also treats Garmin's new non-standard HTTP 427 as a rate-limit error, which eufy-sync already handles by stopping Garmin for that run and retrying on the next.--doctorto distinguish a Strava 401, which means the session is signed out and can be fixed with--setup-strava, from a 403. A 403 most likely means the Strava subscription on the account that owns the API app has lapsed, which signing in again cannot fix; for weight updates, it can also mean the sign-in did not grant permission to edit the profile. The README now clarifies that the subscription keeps an existing app working, not only creates one.requests, which Cloudflare rejects (curl_cffi works) cyberjunky/python-garminconnect#444. The reporter later traced the failure to adefaultentry in~/.netrc, which made Python's requests replace Garmin's Bearer token and caused Garmin to answer 403. The existing fallback retries any Garmin 403, as well as Cloudflare challenges, once through curl_cffi with a browser fingerprint. Because curl_cffi does not read.netrc, that retry already gets through. The behavior has not changed.pyproject.tomlandeufy_sync/__init__.py.Tests: 770 pass locally with garminconnect 0.3.20 and curl_cffi 0.17.0 (four new tests cover the Strava 401 and 403 messages and the doctor fix hint); ruff is clean.