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

google authentication not working #21

Open
yardenac opened this issue Apr 22, 2017 · 0 comments
Open

google authentication not working #21

yardenac opened this issue Apr 22, 2017 · 0 comments

Comments

@yardenac
Copy link

Am I the only one getting errors like this? I'm not sure if the problem is with hangouts. Has anybody used pickups successfully in the past year?

$ python -m pickups
Sign in with your Google account:
Email: ***@gmail.com
Password:
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/hangups/auth.py", line 338, in _make_token_request
    r.raise_for_status()
  File "/usr/lib/python3.6/site-packages/requests/models.py", line 909, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://accounts.google.com/o/oauth2/token
            
During handling of the above exception, another exception occurred:
            
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/hangups/auth.py", line 159, in get_auth
    access_token = _auth_with_refresh_token(session, refresh_token)
  File "/usr/lib/python3.6/site-packages/hangups/auth.py", line 306, in _auth_with_refresh_token
    res = _make_token_request(session, token_request_data)
  File "/usr/lib/python3.6/site-packages/hangups/auth.py", line 340, in _make_token_request
    raise GoogleAuthError('Token request failed: {}'.format(e))
hangups.auth.GoogleAuthError: Token request failed: 400 Client Error: Bad Request for url: https://accounts.google.com/o/oauth2/token
            
During handling of the above exception, another exception occurred:
            
Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3.6/site-packages/pickups/__main__.py", line 16, in <module>
    cookies = hangups.auth.get_auth_stdin(default_cookies_path)
  File "/usr/lib/python3.6/site-packages/hangups/auth.py", line 186, in get_auth_stdin
    return get_auth(CredentialsPrompt(), refresh_token_cache)
  File "/usr/lib/python3.6/site-packages/hangups/auth.py", line 164, in get_auth
    session, credentials_prompt
  File "/usr/lib/python3.6/site-packages/hangups/auth.py", line 280, in _get_authorization_code
    raise GoogleAuthError('Unknown verification code input')
hangups.auth.GoogleAuthError: Unknown verification code input
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

1 participant