Open michaelbeljaars opened 3 years ago
Frankly, I have no clue as to why it is happening. Pointers are taking me nowhere. Thats why to reduce the inconvenience, I have given a script for re-authentication.
It may not be of any help, but I have updated my issue with the output of the terminal, when running the command manually. The assistant has worked for about a week.
The issue keeps occurring about once every 7 to 10 days. As such the assistant is not very user-friendly, since it requires frequent manual actions to keep it functional. Is there additional troubleshooting that we can do to pinpoint the issue? Might it be a problem with the google API?
This is a Google API issue. I have no control over it. Also, I cannot find any information regarding this anywhere in the assistant documentation. The public interest in the Google Assistant has tapered off and I have halted the developmental activities for the same reason. If this trend continues, I will pull the plug on this project sometime.
This is a Google API issue. I have no control over it. Also, I cannot find any information regarding this anywhere in the assistant documentation. The public interest in the Google Assistant has tapered off and I have halted the developmental activities for the same reason. If this trend continues, I will pull the plug on this project sometime.
That is too bad, but understandable. I will be looking for a different implementation of the google assistant for the Raspberry Pi. Thanks for your great work and help!
Hello i have the same problem can any one help please ? Or did anyone tried to solve this problem
It's a limitation of an application in the Google API still being in the testing phase. You can change the status of your app to be "In production" (see screenshot) and it will solve the issue with re-authentication.
We did change the mode but after 7 days i got this again
meybe i can send you my teamviewer and you can connect and check my code ?
If we change the project mode to production then an Out-Of-Band authentication error occurs. https://developers.google.com/identity/protocols/oauth2/resources/oob-migration#:~:text=2.0%20authorization%20endpoints.-,What%20is%20OOB%3F,approves%20an%20OAuth%20consent%20request.
I haven't used Gassistpi in a while, I guess since way before February 2022. I scrapped the assistant I had because this repo is no longer maintained. I suppose that was before the more secure implementation (and scrapping of OOB) and hence I did not have this problem. What would be needed (as far as I can tell) is an updated implementation of the authentication in accordance with Google's latest security requirements. I don't think that is going to happen.
We did change the mode but after 7 days i got this again
meybe i can send you my teamviewer and you can connect and check my code ?
AFTER switching to production mode, I had to activate one last time.
IMPORTANT NOTICE
If you do not complete the template below it is likely that your issue will not be addressed. When providing information about your issue please be as extensive as possible so that it can be solved by as little as possible responses.
FAILURE TO COMPLETE THE REQUESTED INFORMATION WILL RESULT IN YOUR ISSUE BEING CLOSED
Which branch of GassistPi are you using ?
GassistPi Master
Board and OS details:
Open a terminal and run
Describe the bug:
Did you go through or search the issues section to check if your issue was already discussed (either currently open issues or closed issues)?
Yes
2. Is the issue related to assistant installation ?
No
If answer to question 2 is Yes, then attach the contents of terminal as a file or paste it below.
If answer to question 2 is No, then proceed further.
3. Does the assistant service start normally?
Yes (provided that it is successfully authenticated)
4. Is the assistant service restarting automatically?
No
If answer to question 4 is Yes, then paste the contents of the terminal below.
If answer to question 4 is No, then proceed further.
Manually start the assistant. For guidelines to start the assistant manually refer this
Paste the command below, that crashed the assistant
Paste the contents of the terminal below