Closed GermanBluefox closed 6 years ago
I'm currently looking into a few developers seeing this error after successfully authenticating.
Can it be because of port 447 and not 443?
Changed everything to 443... Still no lack. German, English... nothing work
If it can help, I can let the action run and you can test yourself.
You can share the project with me, although I have thus far been unable to reproduce the errors. I have been investigating internally.
@Fleker Not sure if this is related, but on my Local Ubuntu box and the request-sync request is hitting 403 "Forbidden" error.
To avoid 403 I had to enable "HomeGraph API" from google developer console, which I know is not required/captured according to the documentation. After enabling this API now the request-sync is hitting 400 "Bad Request", so not sure what is causing this as of yet.
Any insights for further investigation?
The Request Sync documentation does mention enabling the API.
Have you linked your account to the Assistant? If you haven't done that, the REQUEST_SYNC
command will be denied since there's no user to request it for.
@Fleker thanks for the doc. Should have read this instead of just blindly following the instructions on GitHub README.
The account linking from my iOS Google Assistant app keeps failing with "Something Went Wrong". The node server log shows authentication was successful using rick/oldman.
Yeah I'm aware of that issue.
It is very important for me to get this action running. So you cannot reproduce the error, it is very hard for you to get it fixed. May be I can help you with online session? Team viewer, hangout, Skype, slack session with me?
I understand. I'm trying to identify the issue now and potential fixes. Until I have a better idea of where the failure is happening or reproduce it, an online session may not be too helpful.
Can you try this out:
In your action package, add a locale like en-US
and redeploy.
{
"actions": [{
"name": "actions.devices",
"deviceControl": {
},
"fulfillment": {
"conversationName": "automation"
}
}],
"conversations": {
"automation" :
{
"name": "automation",
"url": "https://<NGROK_DOMAIN>.ngrok.io/smarthome"
}
},
"locale": "en-US"
}
@Fleker same issue with account linking (Something went wrong) after adding "locale" : "en-US" & redeploy.
Do you think it could be a timezone issue here with the local server that is simulating the Device Manufacture Cloud?
@GermanBluefox: I hope this helps a little bit: I have it running and I had the same error message. It should not be a problem with locale, it works in german. I had also problems or misunderstanding with the ngrok.io tunnel and so took a subdomain and nginx as reverse proxy. I also had to manage let's encrypt certs.
@grabbman Please explain me a little bit.
I have it running and I had the same error message.
That means: you have google action running with Google Home and it works, although you see the same error message? And you use this action with letsencrypt certificate on some public host?
@GermanBluefox
I had this message, now it connects ans shows me the devices and i can controll them from google home mini.
@grabbman Sorry. I still do not understand.
And what have you done to eliminate the message? Set locale?
@GermanBluefox können wir irgendwie anders kommunizieren? Allerdings bin ich grad beim reifenwechsel. Ich habe am Code nix verändert, ausser meine URL angepasst
I still have a problem with locale: "en-US" and with "de-DE" I tried all combinations. Switched andorid to english and locale to "en-US"/"de-DE". Switched android to German tested again... Nothing.
@grabbman You can write me your Whatsapp oder Telegram on dogafox@gmail.com Or just use email to communication.
It may be helpful to share your project with my email to see whether I can reproduce the error and hopefully understand why some developers are experiencing this issue.
Let's continue discussion in issue #58
I modified this example to support https and changed action.json to:
The name of my action is "ioBroker", the name of project is "iobrokerhome"![image](https://user-images.githubusercontent.com/4582016/31855087-b578bed4-b6a3-11e7-9132-7b0de4af8be2.png)
After I start my server I can browse the Devices:![image](https://user-images.githubusercontent.com/4582016/31855104-196077a2-b6a4-11e7-86db-395918b3c708.png)
Then I register the Action with:
gactions update --action_package action.json --project iobrokerhome
And no errors. I go to the Google Home App and try to activate this action:
Yes. I took the pronunciation as "house broker", because I have no lack to use IOBroker/IO-Broker/I.O.Broker.
and get this "nothing saying" error after I login:![image](https://user-images.githubusercontent.com/4582016/31855207-8071b8e6-b6a6-11e7-9f23-882991e4e654.png)
This is what I see in the console of my server:
And no following outputs...
How can I see what the Action is trying to do and if there are any errors on the google side in the log?
Where can I find the Log of action?
Help me. I am facing this problem till Februar 2017 and still no progress.