petergardfjall / garminexport

Garmin Connect activity exporter and backup tool
Apache License 2.0
507 stars 83 forks source link

failed with exception: auth failure: unable to extract flowExecutionKey #16

Closed pavlinux closed 7 years ago

pavlinux commented 7 years ago

Running virtualenv with interpreter /usr/bin/python2 New python executable in venv.garminexport/bin/python2 Not overwriting existing python script venv.garminexport/bin/python (you must use venv.garminexport/bin/python2) Installing setuptools, pip...done. 2017-05-11 18:17:50,025 [INFO] backing up formats: fit 2017-05-11 18:17:50,033 [INFO] authenticating user ... 2017-05-11 18:17:50,806 [ERROR] failed with exception: auth failure: unable to extract flowExecutionKey: https://sso.garmin.com/sso/login:

inginero commented 7 years ago

I am observing the same issue as of 5/11/2017

petergardfjall commented 7 years ago

Thanks for reporting. I'm looking into it. Seems like Garmin has (yet again...) changed their authentication process.

dlenski commented 7 years ago

:frowning_face:

Is Garmin doing this to intentionally bork 3rd-party applications, or are they just incompetent?

petergardfjall commented 7 years ago

Good question. In either case, I think I'm onto a solution..

pavlinux commented 7 years ago

https://github.com/cpfair/tapiriik/commit/fabd4d4bfed270fa300f68de0a08218d684d1ab5 https://github.com/cpfair/tapiriik/commit/f483b78522916b3baed4c76966a76a2331e951f9 https://github.com/cpfair/tapiriik/commit/e85fe252023de18e41e22fd3becfab0e74fde0f8

petergardfjall commented 7 years ago

With the latest commit on master, things appear to be working again on my end. Would anyone care to try it out before I close the issue?

https://github.com/petergardfjall/garminexport/commit/aaed3f44bba4442227512d1f872656eee73fa949

spawn-github commented 7 years ago

Works for me. Thanks!

inginero commented 7 years ago

Confirmed as working on my end as well. Thanks for the update, Peter!

dlenski commented 7 years ago

Same here, working for me as well. Thanks, @petergardfjall!

However, login no longer works with my GC username, but only my email address. (Garmin changing random @#$* for no reason, naturally :-1:)