question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Login fails. Anyone able to login?

See original GitHub issue

Using the master version from this repo. It gives the login failure error.

~# gvoice send_sms +18005551212 "Test Message... "
Login failed. Retry?[Y/n]

When you run sms.py to get a stack trace it says:

~/pygooglevoice/examples # python sms.py
Traceback (most recent call last):
  File "sms.py", line 5, in <module>
    voice.login()
  File "/usr/lib/python2.7/site-packages/googlevoice/voice.py", line 96, in login
    raise LoginError
googlevoice.util.LoginError

The code raising the exception is in voice.py line 96

        try:
            assert self.special
        except (AssertionError, AttributeError):
            raise LoginError

From #21 #22 and #24 it makes no difference when you modify the LOGIN url in settings.py to remove all get parameters except service=grandcentral :

#LOGIN = 'https://accounts.google.com/ServiceLogin?service=grandcentral&passive=1209600&continue=https://www.google.com/voice&followup=https://www.google.com/voice&ltmpl=open'
LOGIN = 'https://accounts.google.com/ServiceLoginAuth?service=grandcentral'

Anyone else getting this Login Failed error ?

Could the login be failing because this code is using both GET and POST parameters, while the login web page itself uses only POST parameters ?

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:68 (19 by maintainers)

github_iconTop GitHub Comments

1reaction
dov1commented, Mar 10, 2017

The LOGIN_POST continue link seems to be the best place to put it. &continue=https://www.google.com/voice/redirection/voice

1reaction
dov1commented, Mar 2, 2017

After testing, I found the regex is correct. The problem is that even though the url for settings.INBOX is correct, urlopen is getting the mobile version of the page and _rnr_se is not on the mobile version, only the desktop version. I’ve tried various user agent strings but was unsuccessful in getting the desktop version. I hope someone can add some input here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix login issues on websites that require a username and ...
Fix login issues on websites that require a username and password · Enable cookies for the website · Clear history for that site...
Read more >
How to Fix Windows 10 Login Problems [EXPERT GUIDE]
The first thing you should immediately try is restarting your computer. If you can get to the log in screen, click on the...
Read more >
Can't sign in from a third-party service - Google Account Help
A general error that your sign-in was unsuccessful. · The service you're signing in from doesn't provide enough information to prove it's you....
Read more >
Trouble signing in? - Login.gov
Trouble signing in? Forgot your password? Locked out of your account? We'll help you resolve account access issues. Common troubleshooting topics.
Read more >
Cannot Log in to the App, But Can Log in to the Website
Troubleshooting steps when you can log into your account management page but ... I get an error when I try log into the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found