Git Product home page Git Product logo

Comments (13)

La0 avatar La0 commented on August 30, 2024 1

I just published release 1.0.7 on Pypi that fixes this issue.

Thanks guys for your help !

from garmin-uploader.

henningspruth avatar henningspruth commented on August 30, 2024

I see the same issue.

Update: it seems that reverting to 1.0.5 fixes the issue?!?

from garmin-uploader.

trideck avatar trideck commented on August 30, 2024

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.

j4ypee avatar j4ypee commented on August 30, 2024

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.

aurelg avatar aurelg commented on August 30, 2024

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.

La0 avatar La0 commented on August 30, 2024

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:

⚠️ This version does not work on Python 3, look below for an updated link

pip install https://github.com/La0/garmin-uploader/archive/3c1e2391b0e2e524da7068a43570990df34cea58.tar.gz

⚠️ This version does not work on Python 3, look below for an updated link

You should then be able to use gupload as before.

from garmin-uploader.

Kroellie avatar Kroellie commented on August 30, 2024

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.

aurelg avatar aurelg commented on August 30, 2024

Same error here with 1.0.7~beta.

from garmin-uploader.

Kroellie avatar Kroellie commented on August 30, 2024

Apparently that issue is related to python 3, when swithcing to python 2.7 it works

from garmin-uploader.

La0 avatar La0 commented on August 30, 2024

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.

aurelg avatar aurelg commented on August 30, 2024
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.

trideck avatar trideck commented on August 30, 2024

Works for me too when I add the utf-8 conversion in #11 (comment).

Thanks for this tool and support it.

from garmin-uploader.

aurelg avatar aurelg commented on August 30, 2024

Thank you so much for this project!

from garmin-uploader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.