Сейчас контроллер отключился от облака, я проверил связь в этот момент, посмотрите:
Все это выполнено в мемент, когда в облаке статус проблема.
вывод из консоли
ping 8.8.8.8 -c 4
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=109 time=22.7 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=109 time=23.0 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=109 time=22.6 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=109 time=22.4 ms
— 8.8.8.8 ping statistics —
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 22.402/22.670/23.002/0.216 ms
root@wirenboard-AOBD7L2C:~# traceroute wirenboard.cloud
traceroute to wirenboard.cloud (5.35.10.8), 30 hops max, 60 byte packets
1 Keenetic-2724.local (192.168.1.1) 0.285 ms 0.259 ms 0.203 ms
2 10.88.36.1 (10.88.36.1) 2.360 ms 2.542 ms 2.713 ms
3 192.168.47.53 (192.168.47.53) 1.014 ms 1.237 ms 1.183 ms
4 192.168.47.1 (192.168.47.1) 0.968 ms 0.948 ms 0.891 ms
5 cyaro0.gw11.yartele.com (178.57.120.1) 2.294 ms 2.215 ms 2.190 ms
6 ysl06.transtelecom.net (188.43.30.118) 4.092 ms 2.645 ms 4.359 ms
7 92.53.94.97 (92.53.94.97) 7.318 ms 10.991 ms 7.599 ms
8 92.53.94.96 (92.53.94.96) 13.437 ms 10.164 ms 13.104 ms
9 92.53.94.74 (92.53.94.74) 9.754 ms 92.53.94.78 (92.53.94.78) 5.844 ms 6.611 ms
10 5.35.10.8 (5.35.10.8) 13.984 ms 13.825 ms 13.573 ms
11 * * *
root@wirenboard-AOBD7L2C:~# host agent.wirenboard.cloud
agent.wirenboard.cloud is an alias for wirenboard.cloud.
wirenboard.cloud has address 5.35.10.8
root@wirenboard-AOBD7L2C:~# systemctl status wb-cloud-agent@wirenboard.cloud
● wb-cloud-agent@wirenboard.cloud.service - Wiren Board Cloud Agent (wirenboard.cloud)
Loaded: loaded (/lib/systemd/system/wb-cloud-agent@.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2025-11-13 23:35:08 UTC; 9h ago
Main PID: 3358 (wb-cloud-agent)
Tasks: 3 (limit: 4676)
Memory: 16.6M
CPU: 6min 23.897s
CGroup: /system.slice/system-wb\x2dcloud\x2dagent.slice/wb-cloud-agent@wirenboard.cloud.service
├─ 3358 /usr/bin/python3 /usr/bin/wb-cloud-agent run-daemon wirenboard.cloud
└─326524 curl --connect-timeout 45 --retry 8 --retry-delay 1 --retry-all-errors --cert --key ATECCx08:00:02:C0:00 --engine ateccx08 --key-type ENG -D - -w |||{“code”:"%{response_co>
Nov 14 09:14:45 wirenboard-AOBD7L2C wb-cloud-agent[3358]: subprocess.CalledProcessError: Command '[‘curl’, ‘–connect-timeout’, ‘45’, ‘–retry’, ‘8’, ‘–retry-delay’, ‘1’, ‘–retry-all-errors’, ‘–cert’, '/var/lib/wb-cloud-agent/device_bun>
Nov 14 09:14:45 wirenboard-AOBD7L2C wb-cloud-agent[3358]: The above exception was the direct cause of the following exception:
Nov 14 09:14:45 wirenboard-AOBD7L2C wb-cloud-agent[3358]: Traceback (most recent call last):
Nov 14 09:14:45 wirenboard-AOBD7L2C wb-cloud-agent[3358]: File “/usr/lib/python3/dist-packages/wb/cloud_agent/commands.py”, line 136, in run_daemon
Nov 14 09:14:45 wirenboard-AOBD7L2C wb-cloud-agent[3358]: make_event_request(settings, mqtt)
Nov 14 09:14:45 wirenboard-AOBD7L2C wb-cloud-agent[3358]: File “/usr/lib/python3/dist-packages/wb/cloud_agent/handlers/events.py”, line 22, in make_event_request
Nov 14 09:14:45 wirenboard-AOBD7L2C wb-cloud-agent[3358]: event_data, http_status = do_curl(settings=settings, method=“get”, endpoint=“events/”)
Nov 14 09:14:45 wirenboard-AOBD7L2C wb-cloud-agent[3358]: File “/usr/lib/python3/dist-packages/wb/cloud_agent/handlers/curl.py”, line 66, in do_curl
Nov 14 09:14:45 wirenboard-AOBD7L2C wb-cloud-agent[3358]: raise RuntimeError(
Nov 14 09:14:45 wirenboard-AOBD7L2C wb-cloud-agent[3358]: RuntimeError: Cert /var/lib/wb-cloud-agent/device_bundle.crt.pem and key ATECCx08:00:02:C0:00 seem to be inconsistent (possibly because of CPU board missmatch)!
root@wirenboard-AOBD7L2C:~# curl --connect-timeout 45 --retry 8 --retry-delay 1 --retry-all-errors
–cert /var/lib/wb-cloud-agent/device_bundle.crt.pem
–engine ateccx08
–key ATECCx08:00:02:C0:00
–key-type ENG
-w ‘|||{“code”:“%{response_code}”}’
https://agent.wirenboard.cloud/api-agent/v1/agent-start-up/
curl: (58) failed to load private key from crypto engine
Warning: Problem (retrying all errors). Will retry in 1 seconds. 8 retries
Warning: left.
curl: (58) failed to load private key from crypto engine
Warning: Problem (retrying all errors). Will retry in 1 seconds. 7 retries
Warning: left.
curl: (58) failed to load private key from crypto engine
Warning: Problem (retrying all errors). Will retry in 1 seconds. 6 retries
Warning: left.
curl: (58) failed to load private key from crypto engine
Warning: Problem (retrying all errors). Will retry in 1 seconds. 5 retries
Warning: left.
curl: (58) failed to load private key from crypto engine
Warning: Problem (retrying all errors). Will retry in 1 seconds. 4 retries
Warning: left.
curl: (58) failed to load private key from crypto engine
Warning: Problem (retrying all errors). Will retry in 1 seconds. 3 retries
Warning: left.
curl: (58) failed to load private key from crypto engine
Warning: Problem (retrying all errors). Will retry in 1 seconds. 2 retries
Warning: left.
curl: (58) failed to load private key from crypto engine
Warning: Problem (retrying all errors). Will retry in 1 seconds. 1 retries
Warning: left.
curl: (58) failed to load private key from crypto engine
|||{“code”:“000”}
В логах на котроллере:
в логах
14-11-2025 10:09:34.371 RuntimeError: Cert /var/lib/wb-cloud-agent/device_bundle.crt.pem and key ATECCx08:00:02:C0:00 seem to be inconsistent (possibly because of CPU board missmatch)!
14-11-2025 10:09:34.371 raise RuntimeError(
14-11-2025 10:09:34.371 File “/usr/lib/python3/dist-packages/wb/cloud_agent/handlers/curl.py”, line 66, in do_curl
14-11-2025 10:09:34.371 event_data, http_status = do_curl(settings=settings, method=“get”, endpoint=“events/”)
14-11-2025 10:09:34.371 File “/usr/lib/python3/dist-packages/wb/cloud_agent/handlers/events.py”, line 22, in make_event_request
14-11-2025 10:09:34.371 make_event_request(settings, mqtt)
14-11-2025 10:09:34.371 File “/usr/lib/python3/dist-packages/wb/cloud_agent/commands.py”, line 136, in run_daemon
14-11-2025 10:09:34.371 Traceback (most recent call last):
14-11-2025 10:09:34.371 The above exception was the direct cause of the following exception:
14-11-2025 10:09:34.371 subprocess.CalledProcessError: Command '[‘curl’, ‘–connect-timeout’, ‘45’, ‘–retry’, ‘8’, ‘–retry-delay’, ‘1’, ‘–retry-all-errors’, ‘–cert’, ‘/var/lib/wb-cloud-agent/device_bundle.crt.pem’, ‘–key’, ‘ATECCx08:00:02:C0:00’, ‘–engine’, ‘ateccx08’, ‘–key-type’, ‘ENG’, ‘-D’, ‘-’, ‘-w’, ‘|||{“code”:“%{response_code}”}’, 'https://agent.wirenboard.cloud/api-agent/v1/events/‘]’ returned non-zero exit status 58.
14-11-2025 10:09:34.371 raise CalledProcessError(retcode, process.args,
14-11-2025 10:09:34.371 File “/usr/lib/python3.9/subprocess.py”, line 528, in run
14-11-2025 10:09:34.371 result = subprocess.run(command, timeout=360, check=True, capture_output=True)
14-11-2025 10:09:34.371 File “/usr/lib/python3/dist-packages/wb/cloud_agent/handlers/curl.py”, line 63, in do_curl
14-11-2025 10:09:34.371 Traceback (most recent call last):
14-11-2025 10:09:34.371 Error making request to cloud!