-
Notifications
You must be signed in to change notification settings - Fork 208
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
I am getting Bad authnetication error #140
Comments
The email address used (or its password) is wrong, check it again by trying to connect to your Gmail account (via a browser). |
Hello ouaguid. Thanks for the reply. |
I am also getting a "BadAuthentication" response from the server. I have verified the password and email is correct and attempted to unlock the account here "https://accounts.google.com/b/0/DisplayUnlockCaptcha". I have also tried multiple different accounts. @d78ui98 How did you end up getting auth working again? |
Turns out to be the version of requests not playing nice with the lib. I downgraded from requests version 2.25.1 to 2.20.0 and now I can sign in. I hope that helps someone else having the same issue. |
I havn't tracked all the packet but the Raccoon is working well. |
I found the problem. it was proxy in my case. |
I found the a possible explanation: the auth header different for different auth type: But if you use username/password (i use "app password"), the auth header works this: |
The reason for why you have to do this is that the Auth API does TLS fingerprinting, so the client has to have a specific TLS signature otherwise the server rejects the requests.
For this same reason, the auth API cannot be used with most proxies because the proxy messes with the TLS fingerprint. I did some experimentation with the fingerprinting and found a valid fingerprint that at least for me has worked reliably: |
Here is a quick and dirty patch for the Bad Authentication issue: gentoolinux@6e4c7a4 |
Racoon also returned "Bad authentication" error |
I downgraded If you stick to |
started getting this issue again lately while trying to login. did anybody successfully login in the last couple of days? |
My fork works for me. I also uploaded it to pypi. |
[ERROR] Bad authentication, login or password incorrect ('server says: BadAuthentication')
The text was updated successfully, but these errors were encountered: