-
Notifications
You must be signed in to change notification settings - Fork 118
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
Login fails. Anyone able to login? #27
Comments
Code works as is with no changes.
|
@tom-slick |
I don't know. I'm not in that situation so I could not even test that. |
@tom-slick |
I did a clean install of the software (no changes to the download) and then created the auth file and it logged in without errors on the first try. It's not the code, it does work. |
@tom-slick Which operating system and python version are you running? Just to check... Here it's centos 7 and python 2.7 |
Debian and Raspbian. python 2.7 |
Thanks @tom-slick 🍻
|
None of this is working for me. Still can't login on arm architecture, debian 8. Trying with python2.7 right now. |
BTW, I see the code in voice.py that should prompt for an smsKey when unset, that never happens. I also tried setting smsKey in my .gvoice file and that doesn't help. 2-factor authentication still seems broken. Visiting the above url does not prompt for a captcha to unlock and instead only provides me with a continue link. Also, I have tried this both with my real password as well as an app password. |
@nalipaz |
@nalipaz Did you visit the link from the web browser on the Debian 8 ARM machine - or if you're behind a NAT router on a shared IP, from a device on only wifi link to the router, ie, with 3g/4g cellular data disabled, |
@nalipaz |
Turns out it is all related to two-factor authentication not working, reported in another issue. |
Unlock Captcha doesn't work either |
@dzimbeck How about if you disable two-factor authentication on the google account settings. Then will it let you login? |
There is no two factor authentication set. Please test it and patch it. |
It broke recently out of nowhere. I submitted a new issue. Google probably changed something again. |
Here the login worked on 8th and 9th Feb, and is broken today 10th Feb. |
They released a nicer web interface, with slight changes. |
It wasn't working for us on the 9th either. We just get perpetual Auth errors regardless of email, I always get a notification at my gmail when it fails logging in. Even unlock captcha, nothing seems to work. Did they change their login url again? |
Further information: The code actually logs in, but it thinks that the login failed. Probably due to the change in the web interface text. Looking into it.. |
Thank you for noticing this! This is exactly what I'm seeing. But the main question is, can a patch be applied so that the library can text and call again and not think it's login has failed? I've got it in a try/except catch. I could change my code but will it actually text if I ignore this error? It makes more sense to push a fix and eventually close this issue. |
That's interesting, the same commands in the same order are working fine here. |
So is this package still broken? |
The change I proposed fixes it. It hasn't been merged but it's simple
enough to make the change yourself.
…On Mar 18, 2017 9:29 PM, "dzimbeck" ***@***.***> wrote:
So is this package still broken?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#27 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AYzFsF-8wTvlso8Jpf4pWStkrQyz4Sgzks5rnIUBgaJpZM4KIOTR>
.
|
Oops. I forgot to remove the quoted text before sending reply. |
@dov1 I thought the package was still broken when you do the commands |
It's an unrelated issue. I haven't gotten a chance to test it but it might
have to do with the number of unread messages in the folder.
|
You can make a small change to the code to see more information about why it's crashing there.
|
@dov1 File "C:\Python27\lib\site-packages\googlevoice\voice.py", line 158, in call |
You can put the forwarding number in .gvoice instead of directly in the
code so that it's easily changeable.
Maybe I'm not understanding the question but if you don't provide the
number somewhere, how is Google supposed to know which number you want to
use to place the call?
|
@dov1 |
I haven't looked into or confirmed this but I think Hangouts is using the
XMPP protocol which is how Voice places the call with Google Chat. It could
be done that way using Google APIs. But pygooglevoice is making use of the
click-to-call functionality to be able to place the call with linked
numbers.
|
@sshanmu3 |
It's possible to have Google ring numbers and hangouts at the same time but I don't think pygooglevoice was able to place a call using Hangouts at any time. Although I don't remember the click to call function being able to use Google Chat, I see that Google did add the option to use Hangouts. Should be something interesting to look into. This might be possible. |
@chris001 |
@sshanmu3 Just so you know, the current master version was fixed 10 days ago, and it has the update (to the |
@dov1 @numericOverflow @tom-slick
|
I didn't notice any problem placing calls. I rarely use the script for sms. I can test it later or tomorrow. |
I am able to login (right now) and send sms, using the exact command you used @chris001. |
@dov1 @kenttse |
@chris001 FWIW I see the same error when running |
@MrCreosote What's the pip install command you used |
@chris001 |
@MrCreosote
|
If you're getting login failures try commenting the # Optional 2-step authentication key (as provided by Google)
#smsKey= It seems that once I logged in properly one time or after some timeout period, logins started working. I cannot confirm definitively that commenting the |
@gpratt3151 |
I kept getting an error on |
@Abolfazl |
Using the master version from this repo.
It gives the login failure error.
When you run
sms.py
to get a stack trace it says:The code raising the exception is in
voice.py
line 96From #21 #22 and #24 it makes no difference when you modify the
LOGIN
url insettings.py
to remove all get parameters exceptservice=grandcentral
:Anyone else getting this
Login Failed
error ?Could the login be failing because this code is using both
GET
andPOST
parameters, while the login web page itself uses onlyPOST
parameters ?The text was updated successfully, but these errors were encountered: