Comments (13)
I just published release 1.0.7 on Pypi that fixes this issue.
Thanks guys for your help !
from garmin-uploader.
I see the same issue.
Update: it seems that reverting to 1.0.5 fixes the issue?!?
from garmin-uploader.
Same issue to me, both with version 1.0.5 and 1.0.6:
2019-04-16 16:43:59,101 [CRITICAL] Login Failure: Missing Garmin auth cookie
Error: Invalid credentials
Thanks in advance.
from garmin-uploader.
Yeah, looks like the sso mechanism is changed at some point in the last week or two (I'll been ill so haven't been running in that period). I see the issue on 1.0.5 and 1.0.6 using ubuntu
from garmin-uploader.
Same problem here. GARMIN-SSO-GUID
cannot be found in session.cookies
(see here).
Here's the list of cookies I have in session.cookies
, extracted with [x[0] for x in session.cookies.items()]
:
['__cfduid',
'__cfduid',
'ADRUM_BT1',
'ADRUM_BTa',
'BIGipServerkcg.cf.garmin.com.443.pool',
'__cflb',
'org.springframework.web.servlet.i18n.CookieLocaleResolver.LOCALE',
'SESSION',
'X-Datacenter']
from garmin-uploader.
Hello guys,
Sorry for the late reply, life has been pretty busy for me lately.
Garmin changed again their SSO protocol in a small way by adding a CSRF check and a required Referer
header.
I have a working authentication in PR #14 , could you try it before i merge & publish a new release ?
You can try this version 1.0.7~beta
by using this command:
pip install https://github.com/La0/garmin-uploader/archive/3c1e2391b0e2e524da7068a43570990df34cea58.tar.gz
You should then be able to use gupload
as before.
from garmin-uploader.
Unfortunately still doesn't work after 1.0.7~beta:
2019-04-23 07:07:23,840 [INFO] Try to login on GarminConnect...
2019-04-23 07:07:24,928 [CRITICAL] Login Failure: cannot use a string pattern on a bytes-like object
from garmin-uploader.
Same error here with 1.0.7~beta.
from garmin-uploader.
Apparently that issue is related to python 3, when swithcing to python 2.7 it works
from garmin-uploader.
I made a patch for Python 3, it should work with:
pip install https://github.com/La0/garmin-uploader/archive/dd48252d38a3a11cfa7e07a03d69e43ad8f0c73d.tar.gz
from garmin-uploader.
2019-04-23 09:50:21,389 [DEBUG] Found CSRF token 30873ECD47F728126F34B74D4F956262517783C8DEF54DE38A6E7F41E37E83F61B04F09BAA69C008F928C129D88B8ED7549E
2019-04-23 09:50:22,752 [DEBUG] Found service ticket ST-2603478-wTbgdHfgFVfdP9OpNoYC-cas
2019-04-23 09:50:24,108 [INFO] Logged in as Aurel
2019-04-23 09:50:24,108 [DEBUG] Login Successful.
👍
from garmin-uploader.
Works for me too when I add the utf-8 conversion in #11 (comment).
Thanks for this tool and support it.
from garmin-uploader.
Thank you so much for this project!
from garmin-uploader.
Related Issues (20)
- Logins are failing HOT 4
- Encode error on login sequence HOT 1
- [CRITICAL] Login Failure: Missing Garmin auth cookie HOT 5
- Failure: Missing Garmin auth cookie HOT 8
- Failure: Missing Garmin auth cookie - again HOT 6
- Nix computers can't find gupload in the command line HOT 1
- Authentication Fails HOT 5
- Authentication issues with direct uploading TCX files HOT 30
- Failed to Authenticate Garmin User HOT 3
- Authentication Failures again HOT 82
- Workouts not uploading
- Strava HOT 1
- Upload limit? HOT 3
- Upload failure HOT 1
- [Question] Spoof Garmin device
- Garmin Two-Step Verification HOT 9
- Upload data when using login with google verification HOT 1
- Login Issues Again HOT 6
- Change activity type failure HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from garmin-uploader.