Error: didn't find any Jaguar devices
kaxori opened this issue · 3 comments
From tmit to time Jaguar application stops running:
failed to ping 'device'.
Scanning ...
Error: didn't find any Jaguar devices
[wifi] DEBUG: connecting
[wifi] DEBUG: connected
[wifi] DEBUG: closing
[jaguar] WARN: running Jaguar failed due to 'DEADLINE_EXCEEDED' (2/3)
??? any glue?
Are there any exceptions that could help debug this issue?
this is the monitor output:
o
o ESP32 TOIT Prototype, Motion sensor and HASS-interface
o
o dev-ID: 1f84d167-d56b-5c38-85f4-610f775a97a8
o
[wifi] DEBUG: connecting
[wifi] DEBUG: connected
[wifi] DEBUG: closing
[wifi] DEBUG: connecting
[jaguar] WARN: running Jaguar failed due to 'DEADLINE_EXCEEDED' (1/3)
[wifi] DEBUG: connected
[wifi] DEBUG: closing
[wifi] DEBUG: connecting
Received a Toit system message. Executing the command below will
make it human readable:
build/host/sdk/bin/toit.run tools/system_message.toit "$SNAPSHOT" -b WyNVBVVYU1UOdjIuMC4wLWFscGhhLjFTVQBbJFUjVRAAAAAAAAAAAAAAAAAAAAAAWyNVBFVFU1UJRVhDRVBUSU9OU1URREVBRExJTkVfRVhDRUVERURbI1UCVVNbI1UjWyNVA1VGVQBJWCVbI1UDVUZVAUliSlsjVQNVRlUCSWFlWyNVA1VGVQNJWaNbI1UDVUZVBElaBVsjVQNVRlUFSWF4WyNVA1VGVQZsAACJb1sjVQNVRlUHSTqrWyNVA1VGVQhJRLhbI1UDVUZVCUlE3VsjVQNVRlUKSRj7WyNVA1VGVQtJGNhbI1UDVUZVDEk61lsjVQNVRlUNSTr5WyNVA1VGVQ5JYrlbI1UDVUZVD0lZo1sjVQNVRlUQSVoFWyNVA1VGVRFJYtBbI1UDVUZVEkk6Q1sjVQNVRlUTSTnFWyNVA1VGVRRJOTpbI1UDVUZVFUk5tVsjVQNVRlUWSR1oWyNVA1VGVRdJJaJbI1UDVUZVGEklylsjVQNVRlUZSVz9WyNVA1VGVRpJXSVbI1UDVUZVG0ldXFsjVQNVRlUcSQoUWyNVA1VGVR1JCztbI1UDVUZVHkkLUFsjVQNVRlUfSQsrWyNVA1VGVSBJRX5bI1UDVUZVIUlFkVsjVQNVRlUiSQoo
[wifi] DEBUG: connected
[wifi] DEBUG: closing
[jaguar] WARN: running Jaguar failed due to 'DEADLINE_EXCEEDED' (2/3)
[wifi] DEBUG: connecting
[wifi] DEBUG: connected
I found out, that after reflashing the controller runs.
But if I start the "jag monitor" afterwards the controller hangs up ans shows the 'DEADLINE_EXCEEDED' message.
After a reset with running/already opened montor the controller runs properly and shows the debug message in monitor window.
BUT if I close the monitor an reopen it again, the controller behaves faulty again.
after 02:30 h running controller stops runnning:
Received a Toit system message. Executing the command below will
make it human readable:
Failed to ping 'D1-Prototype'.
Scanning ...
Found device 'D1-Prototype' again
EXCEPTION error.
Connection closed
0: tcp_error_ \net\modules\tcp.toit:204:3
1: TcpSocket_.ensure_state_ \net\modules\tcp.toit:77:14
2: TcpSocket.read \net\modules\tcp.toit:153:14
3: BufferedReader.more_ \reader.toit:77:22
4: BufferedReader.ensure_ \reader.toit:64:14
5: BufferedReader.ensure \reader.toit:95:5
6: BufferedReader.byte \reader.toit:164:5
7: BufferedReader.read_byte \reader.toit:440:10
8: Packet.deserialize pkg:mqtt\packets.toit:38:21
9: TcpTransport.receive.. pkg:mqtt\tcp.toit:32:22
10: Task_.with_deadline_. \core\task.toit:73:21
11: Task_.with_deadline_ \core\task.toit:67:3
12: with_timeout \core\utils.toit:179:15
13: with_timeout \core\utils.toit:162:12
14: TcpTransport.receive. pkg:mqtt\tcp.toit:31:7
15: catch. \core\exceptions.toit:122:10
16: catch \core\exceptions.toit:120:1
17: catch \core\exceptions.toit:83:10
18: TcpTransport.receive pkg:mqtt\tcp.toit:30:5
19: Client.run_ pkg:mqtt\client.toit:228:29
20: Client... pkg:mqtt\client.toit:85:11
21: catch. \core\exceptions.toit:122:10
22: catch \core\exceptions.toit:120:1
23: catch \core\exceptions.toit:95:10
24: Client.. pkg:mqtt\client.toit:84:9
25: Client. pkg:mqtt\client.toit:82:30
==> error related to Home Assistant Interface ...