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

AttributeError: module 'urllib3.util.ssl_' has no attribute 'DEFAULT_CIPHERS' #62

Closed
cyrus01337 opened this issue May 17, 2023 · 9 comments
Labels
documentation Improvements or additions to documentation important

Comments

@cyrus01337
Copy link

Used Pyenv to create a Python 3.8.16 venv.

Here's the full program output:

Welcome to Keep it Markdown or KIM!

Enter your Google account username: 
Enter your Google Password: 


One moment...

Username or password is incorrect (AttributeError("module 'urllib3.util.ssl_' has no attribute 'DEFAULT_CIPHERS'"))
Could not excute KIM

Followed the README to create an app password also, but after reading the error, this might not be something I can resolve.

@djsudduth
Copy link
Owner

@cyrus01337 see if you can install / pin an older version of urllib3. What version is installed now by default?

@cyrus01337
Copy link
Author

Pinning urllib3 to 1.26.16 changes the error to LoginException: BadAuthentication, even when generating a new password.

I will note that I am on Ubuntu 22.04, and my Google account has 2FA enabled, if that is any help.

@Scrinia
Copy link

Scrinia commented Jun 3, 2023

I'm on Windows 10 and I have the exact same problem, were you able to find a solution?

@blumix
Copy link

blumix commented Jun 4, 2023

pip install urllib3==1.26.1

Solved an issue to me

@Scrinia
Copy link

Scrinia commented Jun 5, 2023

That worked! Thank you!

@djsudduth djsudduth added documentation Improvements or additions to documentation important labels Jun 7, 2023
@djsudduth
Copy link
Owner

#63 (comment)

@miguelmarcos
Copy link

miguelmarcos commented Jun 15, 2023

Many thanks, @blumix. I had this exact problem and your solution worked. If it's useful for anyone, I was on Win11, Python 3.11.

@cyrus01337
Copy link
Author

I was unable to use this project unfortunately and ended up (gruellingly) migrating manually, however, it seems that there are solutions to this problem that appeared to work for others. Will close, thank you everyone for your time!

@djsudduth
Copy link
Owner

@cyrus01337 sorry it didn't work out. I've added a Docker version that works without you having to install and get it working on your PC (and it works by default as long as your 2FA pw is setup). It's in the new version 0.5.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation important
Projects
None yet
Development

No branches or pull requests

5 participants