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

Username or password is incorrect (LoginException('BadAuthentication')) #71

Closed
DennisDyallo opened this issue Oct 1, 2023 · 7 comments
Labels
duplicate This issue or pull request already exists fixed Bug has been fixed in upcoming version important tentative solution Found a fix for one or two specific use cases

Comments

@DennisDyallo
Copy link

Hi guys! First timer user here. Trying to use this on a Windows 10 machine and Python 3.11.
I'm trying to understand if this app is working at all as of this date today, 1 October. I've read through multiple issues and it seems like login problems are a thing :o

I created my app password, ran the program, input my username,
Then I've tried both copy pasting my app password as well as writing it char for char. As the Win terminal doesn't show input, I'm not certain that it's actually taking it in at all.
Wondering if I'm doing it correctly and if I should give up. It's such a shame. I just realized I've lost many Google notes. Reason unknown. When they were lost? Unknown as well.
Don't trust Google with your notes apparently.

@djsudduth
Copy link
Owner

Yes, it is still active and used by many. The problem revolves around the python library versions and Google auth. Did you look at the other similar issues with their fixes?

@djsudduth
Copy link
Owner

See issue #62 and see if doing this fixes the problem:

------ Run this command first and then recreate a new Google app password - try it again
"pip install urllib3==1.26.1

Solved an issue to me"

@djsudduth
Copy link
Owner

djsudduth commented Oct 1, 2023

Also, try running the script as "Admin" in windows (if you use Linux or Mac try "sudo") - after running the pip command above. Also be sure you're logged out of all Google accounts in any and all browsers (Edge, Chrome, Safari, Firefox), logged back into your primary account in you default browser with Keep, and then generate a new app password on Google for each attempt you try.

@djsudduth djsudduth added duplicate This issue or pull request already exists question Further information is requested important labels Oct 1, 2023
@djsudduth
Copy link
Owner

djsudduth commented Oct 2, 2023

@DennisDyallo - I had the same problem on a fresh Windows 10 install - this fixed it for me!
Python version 3.9.1 - no need to run this as Admin
(run the standard KIM install of pip install -r requirements.txt unless you've done it already)
Create a new temp Google app password and be sure to accept the verification it was you in Google security

Run these 2 commands:
pip install urllib3==1.25.11
pip install gpsoauth==1.0.2

I have not tried it on python 3.11.x yet

@djsudduth djsudduth added the tentative solution Found a fix for one or two specific use cases label Oct 2, 2023
@djsudduth djsudduth pinned this issue Oct 3, 2023
@djsudduth djsudduth added fixed Bug has been fixed in upcoming version and removed question Further information is requested labels Oct 3, 2023
@djsudduth djsudduth unpinned this issue Oct 3, 2023
@djsudduth
Copy link
Owner

Python 3.10.x and 3.11.x made SSL changes that seem to cause issues with Google authentication. @DennisDyallo - see issue #72 on how to solve this.

@DennisDyallo
Copy link
Author

Thanks, will look into it @djsudduth

@djsudduth
Copy link
Owner

@DennisDyallo - PS, the new version 0.6.0 has the new instructions on how to get the Keep Token to run keep-it-markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists fixed Bug has been fixed in upcoming version important tentative solution Found a fix for one or two specific use cases
Projects
None yet
Development

No branches or pull requests

2 participants