Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OTBR: Recent issues with using add-on alongside SkyConnect ZBT-1 #3871

Open
Daasin opened this issue Dec 22, 2024 · 3 comments
Open

OTBR: Recent issues with using add-on alongside SkyConnect ZBT-1 #3871

Daasin opened this issue Dec 22, 2024 · 3 comments

Comments

@Daasin
Copy link

Daasin commented Dec 22, 2024

Describe the issue you are experiencing

Latest HomeAssistant versions on RPi. I've recently had issues with trel turning off and the border router vanishing from thread networks before add-on just stops doing anything until I restart it. (Altho sometimes it stops running completely) Saw weird errors in logs too I tried to limit to warnings and above to avoid spam but attached my log in the issue aswell.

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Home Assistant Operating System

Which add-on are you reporting an issue with?

OpenThread Border Router

What is the version of the add-on?

2.12.2

Steps to reproduce the issue

  1. Start Openthread add-on
  2. Check services on home network and thread network
  3. After a while HomeAssistant will stop being listed under TREL, and soon after that it will also go missing from meshcop and thread network border router lists.
    ...

System Health information

System Information

version core-2024.12.5
installation_type Home Assistant OS
dev false
hassio true
docker true
user root (Changed to this username after issue - just before report)
virtualenv false
python_version 3.13.0
os_name Linux
os_version 6.6.62-haos-raspi
arch aarch64
timezone Europe/London
config_dir /config
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 14.1
update_channel beta (In hopes that it could fix matter/thread issues)
supervisor_version supervisor-2024.12.0
agent_version 1.6.0
docker_version 27.2.0
disk_total 469.4 GB
disk_used 16.1 GB
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization
board rpi5-64
supervisor_api ok
version_api ok
installed_addons Matter Server (6.6.1), CEC Scanner (3.0), Mosquitto broker (6.4.1), Z-Wave JS (0.9.0), ESPHome Device Builder (2024.12.2), AirCast (4.2.3), MQTT IO (0.4.0), Z-Wave JS UI (3.18.0), chrony (5.0.0), Music Assistant Server (2.3.4), TasmoAdmin (0.31.2), AirSonos (4.2.3), FTP (5.1.1), Samba share (12.3.2), File editor (5.8.0), Plex Media Server (3.6.2), JupyterLab (0.15.7), Git pull (7.14.1), VLC (0.3.0), Studio Code Server (5.17.3), Bazarr (0.3.0), Bookstack (2.3.0), Vaultwarden (Bitwarden) (0.23.6), MQTT Importer (0.0.3), OpenThread Border Router (2.12.2), Overseerr (0.1.0), *Watchdog Dev (0.0.10) after I had the issue
Dashboards
dashboards 2
resources 0
views 1
mode storage
Recorder
oldest_recorder_run 11 December 2024 at 15:14
current_recorder_run 20 December 2024 at 14:59
estimated_db_size 21.90 MiB
database_engine sqlite
database_version 3.45.3

Anything in the Supervisor logs that might be useful for us?

Not that I know of

Anything in the add-on logs that might be useful for us?

Some of the looped errors that looked important

 
Default: mDNS_Execute: SendResponses didn't send all its responses; will try again in one second
Default: mDNS_Execute: SendResponses didn't send all its responses; will try again in one second
Default: mDNS_Execute: SendResponses didn't send all its responses; will try again in one second
00:00:16.158 [W] DuaManager----: Failed to perform next registration: NotFound
Default: mDNSPlatformSendUDP got error 99 (Cannot assign requested address)

Also

00:00:00.096 [W] P-Netif-------: Failed to process request#2: No such process

Default: mDNSPlatformSendUDP got error 101 (Network is unreachable) sending packet to 224.0.0.251 on interface 
Default: mDNSPlatformSendUDP got error 99 (Cannot assign requested address) sending packet to ff02::fb on interface fe80::2033:9fff:fe16:8c08/veth07441ec/4127

Failed to register service Home Assistant OpenThread Border Router #B519._meshcop._udp: Service Not Running
[WARN]-BA------: Result of publish meshcop service Home Assistant OpenThread Border Router #B519._meshcop._udp.local: Invalid state
[ERR ]-MDNS----: Failed to register service 22043b337124b519._trel._udp: Service Not Running
[ERR ]-TrelDns-: Failed to publish TREL service: Invalid state. TREL won't be working.
[12:02:50] INFO: mDNS ended with exit code 256 (signal 6)...

[INFO]-WEB-----: Running 0.3.0-b041fa52-dirty
listenAddr not specified, using default ::
[INFO]-WEB-----: Border router web started on wpan0
[00:02:03] INFO: Enabling NAT64.
00:00:00.347 [W] P-Netif-------: Failed to process request#12: No such process
Done
Done
Done

00:00:00.799 [W] DuaManager----: Failed to perform next registration: NotFound
00:00:00.837 [W] Mle-----------: Failed to process Link Accept: Security
s6-rc: info: service legacy-services successfully started
00:00:00.843 [W] Mle-----------: Failed to process Link Accept: Security
00:00:01.099 [W] Mle-----------: Failed to process Link Accept: Security
00:00:01.108 [W] Mle-----------: Failed to process Link Accept: Security

00:01:24.581 [W] DuaManager----: Failed to perform next registration: NotFound

Default: requestIOEvents called with fd 1024 > FD_SETSIZE 1024.
mdnsd: mDNSPosix.c:2527: requestIOEvents: Assertion `0' failed.
[WARN]-MDNS----: DNSServiceProcessResult failed: Service Not Running (serviceRef = 0x55bc12a3b0)
[WARN]-MDNS----: Need to reconnect to mdnsd
[ERR ]-MDNS----: Failed to register service Home Assistant OpenThread Border Router #B519._meshcop._udp: Service Not Running
[WARN]-BA------: Result of publish meshcop service Home Assistant OpenThread Border Router #B519._meshcop._udp.local: Invalid state
[ERR ]-MDNS----: Failed to register service 22043b337124b519._trel._udp: Service Not Running
[ERR ]-TrelDns-: Failed to publish TREL service: Invalid state. TREL won't be working.
[12:38:44] INFO: �[32mmDNS ended with exit code 256 (signal 6)...�[0m
[12:38:45] INFO: �[32mStarting mDNS Responder...�[0m
Default: mDNSResponder (Engineering Build) (Dec  3 2024 17:53:13) starting
Default: mDNSPlatformSendUDP got error 99 (Cannot assign requested address) sending packet to ff02::fb on interface fe80::c864:83ff:fe7e:d13b/veth7f93f77/8713
Default: mDNSPlatformSendUDP got error 99

1d.03:22:12.946 [N] MeshForwarder-: Failed to send IPv6 UDP msg, len:94, chksum:7ae0, ecn:no, to:8ab35ea07d62db38, sec:no, error:Abort, prio:net, radio:trel
1d.03:22:12.946 [N] MeshForwarder-:     src:[fe80:0:0:0:5861:f22f:ccdd:dc30]:19788
1d.03:22:12.946 [N] MeshForwarder-:     dst:[fe80:0:0:0:88b3:5ea0:7d62:db38]:19788
1d.03:45:26.660 [N] MeshForwarder-: Failed to send IPv6 UDP msg, len:64, chksum:c6e2, ecn:no, to:0xb000, sec:yes, error:Abort, prio:low, radio:trel
1d.03:45:26.660 [N] MeshForwarder-:     src:[fd6e:d157:2b4:cdbf:0:ff:fe00:5000]:61631

 
dst:[fe80:0:0:0:88b3:5ea0:7d62:db38]:19788 1d.01:39:56.832 [N] MeshForwarder-: Failed to send IPv6 UDP msg, len:64, chksum:c75f, ecn:no, to:0xb000, sec:yes, error:Abort, prio:low, radio:trel
Failed to get forwarded frame priority, error:NotFound, len:35, src:0x8800, dst:0x9c00, sec:yes 
1d.02:05:09.977 [N] MeshForwarder-: Failed to send IPv6 UDP msg, len:94, chksum:164c, ecn:no, to:8ab35ea07d62db38, sec:no, error:Abort, prio:net, radio:trel

 

1d.02:16:55.801 [N] MeshForwarder-: Failed to get forwarded frame priority, error:NotFound, len:35, src:0x8800, dst:0x9c00, sec:yes 
1d.02:16:55.924 [N] MeshForwarder-: Failed to get forwarded frame priority, error:NotFound, len:35, src:0x8800, dst:0x9c00, sec:yes 
 
1d.02:35:17.641 [N] MeshForwarder-: Failed to send IPv6 UDP msg, len:94, chksum:c629, ecn:no, to:8ab35ea07d62db38, sec:no, error:Abort, prio:net" 
 
07:37:43.473 [N] MeshForwarder-: Dropping rx frag frame, error:Duplicated, len:50, src:0x2800, dst:0xffff, sec:yes, tag:35037, offset:0, dglen:86
Default: mDNSPlatformSendUDP got error 88 (Socket operation on non-socket) sending packet to ff02::fb on interface <<ERROR: %#a used with unsupported type: 161>>/<<NULL>>/-2143420412

Default: mDNSPlatformSendUDP got error 88 (Socket operation on non-socket) sending packet to ff02::fb on interface fe80::2c59:29ff:fef7:b8f7/<<NULL>>/0
Default: mDNSPlatformSendUDP got error 88 (Socket operation on non-socket) sending packet to ff02::fb on interface fe80::2c59:29ff:fef7:b8f7/<<NULL>>/0
Default: mDNSPlatformSendUDP got error 101 (Network is unreachable) sending packet to 224.0.0.251 on interface fd2b:20d4:672:30cd:b6e7:7588:372c:f1c8/wlan0/3
[WARN]-MDNS----: DNSServiceProcessResult failed: Service Not Running (serviceRef = 0x558fc8c230)
[WARN]-MDNS----: Need to reconnect to mdnsd
[ERR ]-MDNS----: Failed to register service Home Assistant OpenThread Border Router #DC30._meshcop._udp: Service Not Running
[WARN]-BA------: Result of publish meshcop service Home Assistant OpenThread Border Router #DC30._meshcop._udp.local: Invalid state
[ERR ]-MDNS----: Failed to register service 5a61f22fccdddc30._trel._udp: Service Not Running
[ERR ]-TrelDns-: Failed to publish TREL service: Invalid state. TREL won't be working.
[02:34:41] INFO: �[32mmDNS ended with exit code 256 (signal 11)...�[0m
Default: mDNSPlatformSendUDP got error 88 (Socket operation on non-socket) sending packet to ff02::fb on interface <<UNSPECIFIED IP ADDRESS>>/<<NULL>>/-2143420412

Additional information

logs-2.txt
logs-1.txt
logs.txt

Tried various setups & changes to settings that I could find online but none of them change things back to normal

@Daasin
Copy link
Author

Daasin commented Dec 22, 2024

config_entry-thread-3aea5d3c963bbf8127d47a8eff42a298.json

Also attaching this log which mentioned "unexpected routers" incase it might be helpful

@Daasin
Copy link
Author

Daasin commented Dec 23, 2024

I tried switching to dev build to see if that changes anything but ...Well it crashed with this output

OTBR Crash.txt

@Daasin
Copy link
Author

Daasin commented Dec 23, 2024

home-assistant_otbr_2024-12-23T20-40-06.471Z.log.txt

logs-3.txt

New-OTBR-Fatal-Error.txt

More stuff that seemed to be relevant, a lot of mdns/dns errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant