Login fails. Anyone able to login?
See original GitHub issueUsing 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<mpl=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:
- Created 7 years ago
- Comments:68 (19 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The LOGIN_POST continue link seems to be the best place to put it. &continue=https://www.google.com/voice/redirection/voice
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.