Closed Shidiqadm closed 6 years ago
https://youtu.be/e57oF_qmR1g This is my error and i have uploaded it in youtube watch this and help me solving this issue
I guess you have enabled the pushbutton google assistant service as well without modifying the systemd file. That is why that service is getting restarted. To stop that, open terminal and execute:
sudo systemctl stop gassistpi-push-button.service
sudo systemctl disable gassistpi-push-button.service
For the youtube issue, please see this #163 (https://github.com/shivasiddharth/GassistPi/issues/163#issuecomment-361090246)
Sorry thats not working
What's not working ? Fix for YouTube or the restart issue ? Post the status of the service using:
sudo systemctl status gassistpi-ok-google.service
Also attach the log. If you can manually run the assistant and then post the error like #163 I will have something to look and provide help. videos do not help.
pi@raspberrypi:~ $ sudo systemctl status gassistpi-ok-google.service ● gassistpi-ok-google.service - Google Assistant-Voice Loaded: loaded (/lib/systemd/system/gassistpi-ok-google.service; enabled; ven Active: active (running) since Mon 2018-01-29 17:45:59 UTC; 17h ago Main PID: 379 (python) CGroup: /system.slice/gassistpi-ok-google.service └─379 /home/pi/env/bin/python -u /home/pi/GassistPi/src/main.py --pro
Jan 29 17:45:59 raspberrypi systemd[1]: Started Google Assistant-Voice. Jan 29 17:46:21 raspberrypi python[379]: device_model_id: sidpi-193506-201801291 Jan 29 17:46:21 raspberrypi python[379]: device_id: 842D9E26959F51029FCC512B679C Jan 29 17:46:22 raspberrypi python[379]: https://embeddedassistant.googleapis.co Jan 29 17:46:22 raspberrypi python[379]: ON_MUTED_CHANGED: Jan 29 17:46:22 raspberrypi python[379]: {'is_muted': False} Jan 29 17:46:22 raspberrypi python[379]: ON_START_FINISHED Jan 29 17:46:26 raspberrypi python[379]: [379:1070:ERROR:http_client_with_backof Jan 29 17:46:26 raspberrypi python[379]: [379:1070:ERROR:http_client_with_backof lines 1-16/16 (END)...skipping... ● gassistpi-ok-google.service - Google Assistant-Voice Loaded: loaded (/lib/systemd/system/gassistpi-ok-google.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2018-01-29 17:45:59 UTC; 17h ago Main PID: 379 (python) CGroup: /system.slice/gassistpi-ok-google.service └─379 /home/pi/env/bin/python -u /home/pi/GassistPi/src/main.py --project_id sidpi-193506 --device_model_id sidpi-193506-20180129172212
Jan 29 17:45:59 raspberrypi systemd[1]: Started Google Assistant-Voice. Jan 29 17:46:21 raspberrypi python[379]: device_model_id: sidpi-193506-20180129172212 Jan 29 17:46:21 raspberrypi python[379]: device_id: 842D9E26959F51029FCC512B679C121E Jan 29 17:46:22 raspberrypi python[379]: https://embeddedassistant.googleapis.com/v1alpha2/projects/sidpi-193506/devices/842D9E26959F51029FCC512B679C121E 200 Jan 29 17:46:22 raspberrypi python[379]: ON_MUTED_CHANGED: Jan 29 17:46:22 raspberrypi python[379]: {'is_muted': False} Jan 29 17:46:22 raspberrypi python[379]: ON_START_FINISHED Jan 29 17:46:26 raspberrypi python[379]: [379:1070:ERROR:http_client_with_backoff.cc(101)] Retrying request with http_status=200 request_id=0 Jan 29 17:46:26 raspberrypi python[379]: [379:1070:ERROR:http_client_with_backoff.cc(101)] Retrying request with http_status=200 request_id=1 ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
THE LOG FILES ARE
2018-01-29 17:46:19,894 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-29 17:46:19,900 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-29 17:46:20,039 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-29 17:46:20,046 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-29 17:46:20,959 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-29 17:46:21,007 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-29 17:46:21,018 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-29 17:46:21,019 INFO root Registering device 2018-01-29 17:46:21,020 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-29 17:46:21,026 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-29 17:46:21,180 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-29 17:46:21,208 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-29 17:46:21,217 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-29 17:46:22,190 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "GET /v1alpha2/projects/sidpi-193506/devices/842D9E26959F51029FCC512B679C121E HTTP/1.1" 200 None 2018-01-29 17:46:22,277 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-29 17:46:22,281 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:42:13,338 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:42:13,345 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:42:13,684 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:42:13,691 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:42:14,307 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:42:15,171 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:42:15,230 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:42:15,241 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:42:15,241 INFO root Registering device 2018-01-30 11:42:15,243 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:42:15,250 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:42:17,180 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:42:17,184 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:42:26,593 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:42:26,599 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:42:29,554 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:42:29,581 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:42:29,592 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:42:29,592 INFO root Registering device 2018-01-30 11:42:29,594 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:42:29,600 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:42:31,188 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:42:31,197 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:42:39,313 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:42:39,320 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:42:39,794 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:42:39,827 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:42:39,838 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:42:39,839 INFO root Registering device 2018-01-30 11:42:39,841 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:42:39,847 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:42:40,540 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:42:40,545 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:42:48,785 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:42:48,793 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:42:49,230 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:42:49,286 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:42:49,326 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:42:49,327 INFO root Registering device 2018-01-30 11:42:49,330 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:42:49,337 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:42:50,302 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:42:50,310 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:43:01,123 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:43:01,129 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:43:06,524 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:43:06,574 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:43:06,594 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:43:06,595 INFO root Registering device 2018-01-30 11:43:06,598 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:43:06,609 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:43:07,300 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:43:07,304 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:43:16,675 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:43:16,682 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:43:17,146 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:43:17,197 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:43:17,217 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:43:17,217 INFO root Registering device 2018-01-30 11:43:17,221 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:43:17,231 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:43:18,690 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:43:18,697 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:43:28,078 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:43:28,085 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:43:28,528 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:43:28,554 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:43:28,565 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:43:28,565 INFO root Registering device 2018-01-30 11:43:28,567 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:43:28,577 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:43:30,194 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:43:30,200 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:43:38,741 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:43:38,748 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:43:39,169 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:43:39,195 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:43:39,206 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:43:39,207 INFO root Registering device 2018-01-30 11:43:39,209 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:43:39,214 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:43:40,018 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:43:40,021 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:45:47,181 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:45:47,188 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:45:49,690 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:45:49,721 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:45:49,736 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:45:49,736 INFO root Registering device 2018-01-30 11:45:49,739 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:45:49,746 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:45:52,402 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:45:52,410 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:46:03,032 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:46:03,041 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:46:05,381 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:46:05,432 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:46:05,456 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:46:05,457 INFO root Registering device 2018-01-30 11:46:05,466 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:46:05,493 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:46:07,944 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:46:07,948 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:46:18,874 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:46:18,882 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:46:20,837 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:46:20,862 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:46:20,873 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:46:20,873 INFO root Registering device 2018-01-30 11:46:20,875 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:46:20,881 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:46:23,449 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:46:23,464 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:46:34,127 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:46:34,134 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:46:36,277 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:46:36,309 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:46:36,320 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:46:36,321 INFO root Registering device 2018-01-30 11:46:36,323 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:46:36,340 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:46:38,562 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:46:38,568 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:46:49,000 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:46:49,007 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:46:51,373 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:46:51,424 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:46:51,444 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:46:51,445 INFO root Registering device 2018-01-30 11:46:51,448 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:46:51,459 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:46:53,756 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:46:53,759 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:47:05,529 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:47:05,536 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:47:07,655 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:47:07,706 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:47:07,727 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:47:07,728 INFO root Registering device 2018-01-30 11:47:07,731 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:47:07,742 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:47:10,282 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:47:10,290 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:47:19,985 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:47:19,992 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:47:24,170 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:47:24,219 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:47:24,239 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:47:24,240 INFO root Registering device 2018-01-30 11:47:24,243 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:47:24,253 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:47:27,691 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:47:27,700 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:47:37,609 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:47:37,620 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:47:41,237 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:47:41,284 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:47:41,303 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:47:41,304 INFO root Registering device 2018-01-30 11:47:41,308 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:47:41,318 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:47:46,775 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:47:46,783 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:47:56,824 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:47:56,831 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:47:59,067 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:47:59,116 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:47:59,138 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:47:59,139 INFO root Registering device 2018-01-30 11:47:59,142 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:47:59,153 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:48:01,951 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:48:01,958 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:48:12,118 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:48:12,130 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:48:14,094 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:48:14,146 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:48:14,163 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:48:14,164 INFO root Registering device 2018-01-30 11:48:14,172 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:48:14,182 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:48:16,512 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:48:16,544 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:48:26,475 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:48:26,482 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:48:29,096 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:48:29,152 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:48:29,184 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:48:29,184 INFO root Registering device 2018-01-30 11:48:29,186 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:48:29,192 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:48:31,791 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:48:31,797 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:48:41,332 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:48:41,339 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:48:43,517 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:48:43,568 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:48:43,588 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:48:43,589 INFO root Registering device 2018-01-30 11:48:43,592 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:48:43,597 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:48:45,896 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:48:45,902 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:48:56,008 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:48:56,015 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:48:58,012 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:48:58,066 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:48:58,086 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:48:58,087 INFO root Registering device 2018-01-30 11:48:58,090 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:48:58,101 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:49:00,579 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:49:00,586 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:49:10,346 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:49:10,353 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:49:12,952 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:49:13,030 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:49:13,053 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:49:13,054 INFO root Registering device 2018-01-30 11:49:13,058 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:49:13,068 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:49:16,156 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:49:16,162 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:49:25,991 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:49:25,998 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:49:28,309 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:49:28,359 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:49:28,379 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:49:28,380 INFO root Registering device 2018-01-30 11:49:28,383 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:49:28,394 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:49:31,068 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:49:31,073 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:49:41,060 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:49:41,067 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:49:43,071 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:49:43,123 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:49:43,142 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:49:43,143 INFO root Registering device 2018-01-30 11:49:43,147 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:49:43,157 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:49:45,750 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:49:45,759 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:49:55,397 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:49:55,404 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:49:57,484 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:49:57,534 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:49:57,552 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:49:57,552 INFO root Registering device 2018-01-30 11:49:57,554 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:49:57,560 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:49:59,670 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:49:59,678 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:50:09,241 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:50:09,247 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:50:11,261 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:50:11,312 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:50:11,332 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:50:11,333 INFO root Registering device 2018-01-30 11:50:11,337 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:50:11,347 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:50:14,452 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:50:14,459 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:50:24,069 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:50:24,075 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:50:25,978 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:50:26,050 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:50:26,070 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:50:26,071 INFO root Registering device 2018-01-30 11:50:26,074 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:50:26,085 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:50:29,011 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:50:29,018 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:50:38,436 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:50:38,443 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:50:41,216 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:50:41,270 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:50:41,289 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:50:41,290 INFO root Registering device 2018-01-30 11:50:41,294 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:50:41,304 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:50:43,469 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:50:43,476 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:50:53,337 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:50:53,348 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:50:55,229 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:50:55,287 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:50:55,308 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:50:55,310 INFO root Registering device 2018-01-30 11:50:55,313 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:50:55,325 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:50:57,832 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:50:57,836 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:51:07,424 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:51:07,446 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:51:09,345 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:51:09,400 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:51:09,412 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:51:09,412 INFO root Registering device 2018-01-30 11:51:09,414 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:51:09,420 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:51:11,573 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:51:11,578 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:51:21,311 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:51:21,321 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:51:23,542 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:51:23,590 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:51:23,610 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:51:23,611 INFO root Registering device 2018-01-30 11:51:23,612 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:51:23,618 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:51:26,343 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:51:26,349 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:51:36,545 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:51:36,554 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:51:38,757 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:51:38,812 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:51:38,833 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:51:38,834 INFO root Registering device 2018-01-30 11:51:38,838 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:51:38,850 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:51:40,995 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:51:41,002 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:51:50,879 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:51:50,886 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:51:53,418 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:51:53,464 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:51:53,484 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:51:53,485 INFO root Registering device 2018-01-30 11:51:53,487 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:51:53,492 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:51:56,107 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:51:56,120 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:52:06,899 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:52:06,906 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:52:09,014 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:52:09,043 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:52:09,061 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:52:09,062 INFO root Registering device 2018-01-30 11:52:09,066 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:52:09,072 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:52:11,282 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:52:11,289 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
2018-01-30 11:52:21,668 DEBUG google.auth.transport.requests Making request: POST https://accounts.google.com/o/oauth2/token 2018-01-30 11:52:21,678 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): accounts.google.com 2018-01-30 11:52:23,633 DEBUG requests.packages.urllib3.connectionpool https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2018-01-30 11:52:23,681 INFO root Connecting to embeddedassistant.googleapis.com 2018-01-30 11:52:23,703 WARNING root Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json' 2018-01-30 11:52:23,704 INFO root Registering device 2018-01-30 11:52:23,708 DEBUG requests.packages.urllib3.util.retry Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None, status=None) 2018-01-30 11:52:23,718 DEBUG requests.packages.urllib3.connectionpool Starting new HTTPS connection (1): embeddedassistant.googleapis.com 2018-01-30 11:52:26,422 DEBUG requests.packages.urllib3.connectionpool https://embeddedassistant.googleapis.com:443 "POST /v1alpha2/projects/project-id/devices HTTP/1.1" 403 None 2018-01-30 11:52:26,429 ERROR root Failed to register device: { "error": { "code": 403, "message": "Could not create the device instance. Account doesn't have permission to perform this operation for project project-id. See https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device", "status": "PERMISSION_DENIED" } }
YouTube also not working even after Source env/bin/activate Pip install youtube-dl
Your device has not been registered. Re-run the installer script or follow the steps given here to register the device. https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device
Restart issue has been solved and what to do for YouTube streaming,it was not working as you said in #163
(env) pi@raspberrypi:~ $ /home/pi/env/bin/python -u /home/pi/GassistPi/src/main.py --project_id sidpi-193506 --device_model_id sidpi-193506-20180131115457 device_model_id: sidpi-193506-20180131115457 device_id: 842D9E26959F51029FCC512B679C121E
https://embeddedassistant.googleapis.com/v1alpha2/projects/sidpi-193506/devices/842D9E26959F51029FCC512B679C121E 200 ON_MUTED_CHANGED: {'is_muted': False} ON_START_FINISHED
ON_CONVERSATION_TURN_STARTED ON_CONVERSATION_TURN_STARTED ON_END_OF_UTTERANCE ON_RECOGNIZING_SPEECH_FINISHED: {'text': 'stream I got you'} Getting youtube link High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.23.8; written and copyright by Michael Hipp and others free software (LGPL) without any warranty but with best wishes
Directory: /tmp/
Terminal control enabled, press 'h' for listing of keys and functions.
Playing MPEG stream 1 of 1: say.mp3 ...
MPEG 2.0 L III cbr32 24000 mono
[0:01] Decoding of say.mp3 finished.
Attach the log please. You have an option to attach files by selecting them, so attach the log and dont paste it.
Sorry bro for distrub you ,the problem is I have not included my YouTube API in actions.py so I have fixed it Any way thankyou bro
Can I change the wake word for Google assistant
And please tell me how in a clear way
No, you cannot for the moment, this was possible with older API, but he is having issues making it work for new API.
Le 31 janv. 2018 17:26, "Shidiqadm" notifications@github.com a écrit :
Can I change the wake word for Google assistant
And please tell me how in a clear way
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/shivasiddharth/GassistPi/issues/167#issuecomment-361987332, or mute the thread https://github.com/notifications/unsubscribe-auth/AHhFyJo6R9BmXn1X4LNDUUOCXaDuNOoFks5tQJRRgaJpZM4Rwhgj .
Hmmm thank you for your information
@BadFlo , Thanks.
Issue resolved so closing this.
I have seen your latest update and updated the gassist after updating, the startup sound continously repeating. I have tried to completly format my sd card and reinstalling google assistant, but having the same problem. But the google assistant working fine, youtube not working, and trigger shutdown working fine Pls help with this issue