Error log shows Camera stream error
Xavier82 opened this issue · 7 comments
Describe the bug:
Error log shows Camera stream error:
2022-12-13 11:05:40 - ERROR - 'Camera_Stream'
2022-12-13 11:05:40 - ERROR - Error handling message {'inputs': [{'intent': 'action.devices.SYNC'}], 'requestId': 'XXXXXXXXXXXXX'}: {'errorCode': 'unknownError'}
2022-12-13 11:05:38 - INFO - t=2022-12-13T11:05:38+0100 lvl=info msg="join connections" obj=join id=XXXXXXXXX l=127.0.0.1:3030 r=74.125.208.26:35514
XXXXXXX = replaced
Expected behavior:
No error in the log
Logs:
2022-12-13 11:05:40 - ERROR - 'Camera_Stream'
2022-12-13 11:05:40 - ERROR - Error handling message {'inputs': [{'intent': 'action.devices.SYNC'}], 'requestId': 'XXXXXXXXXXXXX'}: {'errorCode': 'unknownError'}
2022-12-13 11:05:38 - INFO - t=2022-12-13T11:05:38+0100 lvl=info msg="join connections" obj=join id=XXXXXXXXX l=127.0.0.1:3030 r=74.125.208.26:35514
**Desktop (please complete the following information):**
- Domoticz version: 2022.2
- Dzga version 1.22.25 master
and even more errors:
2022-12-13 11:22:34 - INFO - Google Assistant requests an action.devices.QUERY
2022-12-13 11:22:34 - ERROR - Unexpected error serializing query for <helpers.AogState object at 0x74e1eeb0>
2022-12-13 11:22:34 - ERROR - Unexpected error serializing query for <helpers.AogState object at 0x74cc0fd0>
2022-12-13 11:22:34 - INFO - t=2022-12-13T11:22:34+0100 lvl=info msg="join connections" obj=join id=XXXXXl=127.0.0.1:3030 r=74.125.208.31:49778
2022-12-13 11:22:34 - INFO - {
"inputs": [
{
"intent": "action.devices.SYNC"
}
],
"requestId": "XXXXXXXXXX"
}
2022-12-13 11:22:34 - ERROR - Unexpected error serializing query for <helpers.AogState object at 0x74e16b50>
2022-12-13 11:22:34 - INFO - Google Assistant requests an action.devices.SYNC
2022-12-13 11:22:34 - ERROR - Unexpected error serializing query for <helpers.AogState object at 0x74c308b0>
2022-12-13 11:22:34 - ERROR - 'NoneType' object has no attribute 'domain'
2022-12-13 11:22:34 - ERROR - Error handling message {'inputs': [{'intent': 'action.devices.QUERY', 'payload': {'devices': [{'id': 'Speaker14'}, {'id': 'Temperature248'}, {'id': 'Blind81'}, {'id': 'Blind87'}, {'id': 'Light249'}, {'id': 'Thermostat123'}, {'id': 'Blind63'}, {'id': 'Thermostat25'}, {'id': 'Blind57'}, {'id': 'Light13'}, {'id': 'Fan124'}, {'id': 'Blind45'}, {'id': 'Light352'}, {'id': 'Selector16'}, {'id': 'Selector122'}, {'id': 'Blind75'}, {'id': 'Selector15'}, {'id': 'Blind69'}, {'id': 'Blind51'}, {'id': 'Fan125'}, {'id': 'Blind27'}, {'id': 'Light128'}, {'id': 'Light121'}, {'id': 'Light353'}, {'id': 'Light258'}, {'id': 'Blind365'}, {'id': 'Group2'}, {'id': 'Group4'}, {'id': 'Group11'}, {'id': 'Group6'}, {'id': 'Group9'}, {'id': 'Group5'}, {'id': 'Light417'}, {'id': 'Light293'}, {'id': 'Light411'}, {'id': 'Light413'}, {'id': 'Light414'}, {'id': 'Light412'}, {'id': 'Light419'}, {'id': 'Light415'}, {'id': 'Light416'}, {'id': 'Light284'}, {'id': 'Light290'}, {'id': 'Light287'}, {'id': 'Light418'}, {'id': 'Light279'}]}}], 'requestId': 'XXXXXXXX'}: {'errorCode': 'unknownError'}
2022-12-13 11:22:36 - ERROR - 'Camera_Stream'
2022-12-13 11:22:36 - ERROR - Error handling message {'inputs': [{'intent': 'action.devices.SYNC'}], 'requestId': 'XXXXXXXXXX'}: {'errorCode': 'unknownError'}
In config.yaml try to turn off camera streams:
Camera_Stream:
Enabled: false
Camera stream fixed by addding to config.yaml.
But other error still present:
2022-12-13 14:29:24 - INFO - t=2022-12-13T14:29:24+0100 lvl=info msg="join connections" obj=join id=XXXXXXl=127.0.0.1:3030 r=66.249.81.58:55066
2022-12-13 14:29:24 - INFO - Google Assistant requests an action.devices.QUERY
2022-12-13 14:29:24 - ERROR - 'NoneType' object has no attribute 'domain'
2022-12-13 14:29:24 - ERROR - Error handling message {'inputs': [{'intent': 'action.devices.QUERY', 'payload': {'devices': [{'id': 'Speaker14'}, {'id': 'Temperature248'}, {'id': 'Blind81'}, {'id': 'Blind87'}, {'id': 'Light249'}, {'id': 'Thermostat123'}, {'id': 'Blind63'}, {'id': 'Thermostat25'}, {'id': 'Blind57'}, {'id': 'Light13'}, {'id': 'Fan124'}, {'id': 'Blind45'}, {'id': 'Light352'}, {'id': 'Selector16'}, {'id': 'Selector122'}, {'id': 'Blind75'}, {'id': 'Selector15'}, {'id': 'Blind69'}, {'id': 'Blind51'}, {'id': 'Fan125'}, {'id': 'Blind27'}, {'id': 'Light128'}, {'id': 'Light121'}, {'id': 'Light353'}, {'id': 'Light258'}, {'id': 'Blind365'}, {'id': 'Group2'}, {'id': 'Group4'}, {'id': 'Group11'}, {'id': 'Group6'}, {'id': 'Group9'}, {'id': 'Group5'}, {'id': 'Light417'}, {'id': 'Light293'}, {'id': 'Light411'}, {'id': 'Light413'}, {'id': 'Light414'}, {'id': 'Light412'}, {'id': 'Light419'}, {'id': 'Light415'}, {'id': 'Light416'}, {'id': 'Light284'}, {'id': 'Light290'}, {'id': 'Light287'}, {'id': 'Light418'}, {'id': 'Light279'}]}}], 'requestId': 'XXXXXXXX'}: {'errorCode': 'unknownError'}
2022-12-13 14:29:39 - INFO - t=2022-12-13T14:29:39+0100 lvl=info msg=start pg=/api/tunnels id=XXXXXXX
2022-12-13 14:29:39 - INFO - t=2022-12-13T14:29:39+0100 lvl=info msg=end pg=/api/tunnels id=XXXXXX status=200 dur=1.012448ms
2022-12-13 14:29:40 - INFO - t=2022-12-13T14:29:40+0100 lvl=info msg="join connections" obj=join id=XXXXXX =127.0.0.1:3030 r=66.249.81.58:55066
Do you run on RPI? Seems to be a problm with ngrok connections
yes run on RPI and yes I use ngrok....why do you think it is an ngrok connection issue?
Is there something I can help with (providing loggs?) ?
This Error returns each time:
ERROR - 'NoneType' object has no attribute 'domain'
ERROR - Error handling message
yes run on RPI and yes I use ngrok....why do you think it is an ngrok connection issue?
Is there something I can help with (providing loggs?) ? This Error returns each time: ERROR - 'NoneType' object has no attribute 'domain' ERROR - Error handling message
Sometimes, I get this error but after a 1-2 sync request it disapears
Camera_stream issue is fixed in latest Beta