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

Since 2 weeks i got "Failed to login!" #120

Closed
EmptySoft opened this issue May 19, 2021 · 8 comments
Closed

Since 2 weeks i got "Failed to login!" #120

EmptySoft opened this issue May 19, 2021 · 8 comments

Comments

@EmptySoft
Copy link

bugreport_1621399791.zip

I don't think it's a GarminDB bug, but I don't know what to do anymore.

For 2 weeks I keep getting the error message "Failed to login!" the last 2 times it helped to change my Garmin password, then it worked again for a week. But today it doesn't help anymore. No matter what I do, I can no longer synchronize data.

@christian-ho
Copy link

Same problem here ...

@lpierron
Copy link

Same problem here with GarminDB and GarminConnect API, but I can connect with web.

@lpierron
Copy link

After upgrading GarminConnect (https://github.com/cyberjunky/python-garminconnect) the connection works again but not with GarminDB.

@lpierron
Copy link

Maybe Garmin Connect is recently protected by Cloudfare, so GarmninDB needs something like CloudScraper (https://pypi.org/project/cloudscraper/ ) to bypass protection against bots. In GarminConnect they replaced requests module by cloudscraper module and now I can download my datas.

@lpierron
Copy link

In download_garmin.py file replace ìmport requests by import cloudscraper and requests.session() by cloudscraper.CloudScraper()

@EmptySoft
Copy link
Author

In download_garmin.py file replace ìmport requests by import cloudscraper and requests.session() by cloudscraper.CloudScraper()

Thanks a lot, this works for me!

@tcgoetz
Copy link
Owner

tcgoetz commented May 19, 2021

In download_garmin.py file replace ìmport requests by import cloudscraper and requests.session() by cloudscraper.CloudScraper()

Can you put in a pull request with this change? Target the pull request against the develop branch please.

@lpierron
Copy link

In download_garmin.py file replace ìmport requests by import cloudscraper and requests.session() by cloudscraper.CloudScraper()

Can you put in a pull request with this change? Target the pull request against the develop branch please.

I don't know how todo that. So you can do it, just 2 lines to modify and adding the dependance with cloudscraper.

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

4 participants