-
Notifications
You must be signed in to change notification settings - Fork 79
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
Can't connect to Google home addon - Could not get master token. #528
Comments
+1
|
I had the same problem and I did the same thing than you (removed and re-added). |
Sadly I have the same problem. Reinstalled the whole of my home assistant and as first addon I installed HACS and this one. Still i get this error.. |
I have the same issue (HA 2022.5.4 - addon 1.9.10). Did clean install of all components - nothing helped |
Having this problem also. Already tried a lot of thigs found here, nothing seems to work.
|
I guess this is related simon-weber/gpsoauth#37 |
Same issue. Tried reinstalling, but didn't work. |
First time install but im also getting the same issue (Failing to get master token). |
same error with a fresh HA install. Tried removing 2FA but even then same error |
same here my timers and alarms sensors suddenly stopped working. I decided to delete and reinstall the extension and now I'm unable to even login no matter if I use 2FA or not. I tried different google accounts too |
This seems quite worrying, pretty sure it has to do with some Google Api change. Further investigation shall be performed. |
This is related to |
Fixed in Please update to the latest version and verify it works :) |
I just updated to 1.9.11, restarted HA, created new app password for my gmail address, tried to log in with it into integration and still get |
I confirm, always same error after update and reboot of my Home Asssitant. |
Reopening this issue, since it seems to be on Since we still keep seeing the same issue in Home Assistant, let's try to dig deeper here to understand what's an issue. Supposedly it's to do with dependencies during installation, but we look into it deeper. |
I'm gonna provide you with the log I get, just in case it could help. |
@mitch55500, @hugalafutro, @Pronown, @srappan, @dineshkathir, @Neolanco, can one of you please double-check |
I am available now to ssh. Still fairly new to Linux and how the file hierchy works, but if you tell me commands, I can input them. |
I run latest ha in docker, here's the output from inside the container: https://o.o5.ddns.net/z3KcF I will now bring the stack down and rebuild, but it'll take time on pi. Will report if that changes anything. |
uuu, it's highly dependant on what HA installation you have done, @Pronown. If it was using docker container you should be able to just run a command like this: @hugalafutro, thank you for the update. Seems like my assumption was right, you have |
On my HA, glocaltokens==0.6.3 |
@leikoilja you forgot to update it in the manifest: https://github.com/leikoilja/ha-google-home/blob/master/custom_components/google_home/manifest.json#L20
|
that's the issue. flip i think it's my fault, I keep forgetting updating the |
custom_components/google_home/manifest.json |
I had |
Sorry, guys, my fault (not the first time forgetting to update |
Haha, looks like we got it figured out before I could put the commands in. Thanks for all your work!
…________________________________
From: Ilja Leiko ***@***.***>
Sent: Wednesday, June 1, 2022 4:46:00 AM
To: leikoilja/ha-google-home ***@***.***>
Cc: Pronown ***@***.***>; Mention ***@***.***>
Subject: Re: [leikoilja/ha-google-home] Can't connect to Google home addon - Could not get master token. (Issue #528)
Sorry, guys, my fault (not the first time 😮💨 🤦 😅 )
Fixed here: #541<#541>
will merge and deploy a new release
—
Reply to this email directly, view it on GitHub<#528 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ASJGOXPA2RXWHJKA2QJOD73VM45ORANCNFSM5V2YQEGQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Um... I'm running ha os on a rasperry pi, not sure how I get pip commands to work ^^' |
@Neolanco just wait a bit till new version is pushed out, update via hacs and it will do the work automatically |
Okay, new patch release is out, it should fix it. |
Success! all good here, thanks for quick fix! |
Seems to work for me! ^^ |
Bad news yall...
|
@leikoilja, the same error for me too. It doesn't work. |
strange, it works here, I created a timer to test and could see it in ha |
hmm, @mitch55500 & @Pronown, can you guys please dig deeper into your container/ha environment to see which version |
Bro! Reinstall from HACS and restart just fixed mine! |
@leikoilja do you want me to check that still, now that it worked? |
No, no worries, thank you, @Pronown. Happy to hear it has eventually worked for you :) |
It worked 🙂 |
Arrfff, Always the same error. Yet, I have uninstall Google Home, And reboot HA and then reinstall GH.
*EDIT : It works!! I have forgotten I have reactived the double factor identification, sorry. Thanks @leikoilja |
I've just come across this add-on and am trying to set it up but am hitting this error. Been through the trouble shooting guides as listed, installed from HACS/uninstalled/reinstalled. I've also tried enabling and disabling 2FA (using App Password when having 2FA setup), still no luck. Logs:
manifest: {
"after_dependencies": [
"cloud",
"http",
"zeroconf"
],
"codeowners": [
"@leikoilja",
"@DurgNomis-drol",
"@ArnyminerZ",
"@KapJI"
],
"config_flow": true,
"dependencies": [],
"documentation": "https://github.com/leikoilja/ha-google-home",
"domain": "google_home",
"issue_tracker": "https://github.com/leikoilja/ha-google-home/issues",
"name": "Google Home",
"requirements": [
"glocaltokens==0.6.4",
"google-api-python-client==2.38.0"
],
"version": "1.9.12",
"zeroconf": [
"_googlecast._tcp.local."
],
"iot_class": "cloud_polling"
} HA info:
Thoughts on the next debugging step? |
@aaronpowell sorry to hear you are having issues. I suggest you try a simple python package https://github.com/leikoilja/glocaltokens that we use in this integration first in isolation. Try obtaining your master tokens. From the logs that you have posted, you are getting |
Cool, will give that a go |
Hello,
I have read the other issues with the same error than mine, but I couldn't resolve it.
I use the Google Home addon of Home Assistant, but the connection is refused.
I've tried to take off the protection methods to my google account too.
Here the log :
2022-05-13 10:58:25 DEBUG (MainThread) [glocaltokens.client] Initializing new GLocalAuthenticationTokens instance. 2022-05-13 10:58:25 DEBUG (MainThread) [glocaltokens.client] Set GLocalAuthenticationTokens client access_token, homegraph, access_token_date and homegraph_date to None 2022-05-13 10:58:25 DEBUG (MainThread) [glocaltokens.client] Set GLocalAuthenticationTokens client username to "m*******************", password to "V********", master_token to "" and android_id to 2022-05-13 10:58:25 DEBUG (SyncWorker_15) [glocaltokens.client] There is no stored master_token, logging in using username and password 2022-05-13 10:58:25 DEBUG (SyncWorker_15) [glocaltokens.client] There is no stored android_id, generating a new one 2022-05-13 10:58:25 DEBUG (SyncWorker_15) [glocaltokens.client] Generating android id... 2022-05-13 10:58:25 DEBUG (SyncWorker_15) [glocaltokens.client] Generated android id: 02d89392d5f67400 2022-05-13 10:58:25 ERROR (SyncWorker_15) [glocaltokens.client] [!] Could not get master token. 2022-05-13 10:58:25 DEBUG (SyncWorker_15) [glocaltokens.client] Request response: {'Error': 'NeedsBrowser', 'Url': 'https://accounts.google.com/signin/continue?sarp=1&scc=1&continue=https://accounts.google.com/o/android/IDELETEDTHIS', 'ErrorDetail': 'To access your account, you must sign in on the web. Touch Next to start browser sign-in.'} 2022-05-13 10:58:25 ERROR (MainThread) [custom_components.google_home]
*Edit : Of course, no pop-up opens.
The text was updated successfully, but these errors were encountered: