Closed RunnicFusion closed 1 year ago
ps: looks like I can't rollback because of the tags on: https://hub.docker.com/r/dewgew/domoticz-google-assistant Only latest, develop and beta are set. Can't rollback to for example 1.23.7.
Some of the details in the Google cloud logs are collapsed which will have the actual response codes from DZGA and will help to identify the actual issue, especially the response: {2} in the insertId: "6nzqy6b1u" section
Some of the details in the Google cloud logs are collapsed which will have the actual response codes from DZGA and will help to identify the actual issue, especially the response: {2} in the insertId: "6nzqy6b1u" section
Do you mean I need to provide more details to fill-in missing string.format {X} placeholders? Not very familiar with the way how Google Cloud's logs are working and how to get relevant details out of it.
There should be a button "Expand nested fields" which should allow you to see all of the log details like this snippet from my earlier logs, the important bit being the body and status, which can then be matched to the DZGA code to identify the actual error.
jsonPayload: { @type: "type.googleapis.com/google.identity.accountlinking.type.AccountLinkingError" errorReason: "Can't parse the response. The response needs to be JSON format." response: { body: "incorrect client data" status: 400 } step: "AUTH_CODE_EXCHANGE" }
Allright. Will check and see if I van find more relevant information.
Do you have any other suggestions for me right now?
With expanding nested fields on:
{ "insertId": "c7wnz8f1rpy24", "jsonPayload": { "syncLog": { "syncs": [ { "requestId": "5422424344015623184", "status": "unknownError", "httpLatencyMsec": "226" } ] } }, "resource": { "type": "assistant_action_project", "labels": { "project_id": "dzga-gateway-64472" } }, "timestamp": "2023-08-24T20:37:20.749305228Z", "severity": "ERROR", "logName": "projects/dzga-gateway-64472/logs/assistant_smarthome%2Fassistant_smarthome_logs", "receiveTimestamp": "2023-08-24T20:37:20.749305228Z" }
It needs to be one of the log entries with
step: "AUTH_CODE_EXCHANGE"
and
errorReason: "Can't parse the response. The response needs to be JSON format."
The only details needed are the response: section
See also issues when calling the Domoticz json api endpoint. So not sure if something goes wrong on that side also. Endpoint always returns Err as state.
Closing issue. Issue was:
Issue was; my docker image wasn't update correctly and using older (2023.1) version... :( Sorry for not noticing version difference until now.
Right now the new endpoints seems to work as expected so DZGA can fetch my devices and also connect to Google Home app.
Close #339
After updating my docker image to the latest DZGA release (1.23.10) my inslations stopped working. Previously my installation was running fine. Prevously I had 1.23.2 installed.
Things i've tried:
When pressing sync button this error will display: Error: Page not found!: 404 Client Error: Not Found for url: https://homegraph.googleapis.com/v1/devices:requestSync
Log file:
When clicking trough Google Cloud platform's log explorer it shows me that: