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 crashing in Docker on Raspberry 4 #2113

Closed
Cilenco opened this issue Nov 30, 2023 · 0 comments
Closed

OTBR crashing in Docker on Raspberry 4 #2113

Cilenco opened this issue Nov 30, 2023 · 0 comments

Comments

@Cilenco
Copy link

Cilenco commented Nov 30, 2023

Describe the bug A clear and concise description of what the bug is:
To install OTBR on my Raspberry Pi 4 running Raspberry OS Lite 64Bit I followed the official guide. My RCP is a nRF52840.
I'm able to reach the web interface and create a new Thread network successfully. The thing is it is not discovered by other devices.

I start the container like this:

docker run --sysctl "net.ipv6.conf.all.disable_ipv6=0 net.ipv4.conf.all.forwarding=1 net.ipv6.conf.all.forwarding=1" -p 8080:80 --dns=127.0.0.1 -it --volume /dev/ttyACM0:/dev/ttyACM0 --privileged openthread/otbr --radio-url spinel+hdlc+uart:///dev/ttyACM0

When I try to start the container as it was suggested here the OTBR service is discovered correctly but still the eve app on my iPhone won't show a Thread network. I also tried to install OTBR directly on the PI which worked great, the service was discovered and also eve listed a network.

Logs
Nov 30 16:30:00 raspberrypi avahi-daemon[137]: Host name conflict, retrying with raspberrypi-107
Nov 30 16:30:00 raspberrypi avahi-daemon[137]: Registering new address record for fe80::42:17ff:fef0:cb08 on br-e44552afc061.*.
Nov 30 16:30:00 raspberrypi avahi-daemon[137]: Registering new address record for 172.23.0.1 on br-e44552afc061.IPv4.
Nov 30 16:30:00 raspberrypi avahi-daemon[137]: Registering new address record for fe80::42:1aff:fe43:8a16 on br-e85bd046c8c0.*.
Nov 30 16:30:00 raspberrypi avahi-daemon[137]: Registering new address record for 172.22.0.1 on br-e85bd046c8c0.IPv4.
Nov 30 16:30:00 raspberrypi avahi-daemon[137]: Registering new address record for fe80::42:56ff:fe6a:2c98 on br-8f70e8ca49bc.*.
Nov 30 16:30:00 raspberrypi avahi-daemon[137]: Registering new address record for 172.21.0.1 on br-8f70e8ca49bc.IPv4.
Nov 30 16:30:00 raspberrypi avahi-daemon[137]: Registering new address record for fe80::42:b7ff:feb8:34ae on docker0.*.
Nov 30 16:30:00 raspberrypi avahi-daemon[137]: Registering new address record for 172.17.0.1 on docker0.IPv4.
Nov 30 16:30:00 raspberrypi avahi-daemon[137]: Registering new address record for 2a02:908:d76:f600:ccbf:a4f3:401b:7e39 on eth0.*.
Nov 30 16:30:00 raspberrypi avahi-daemon[137]: Registering new address record for 2a02:908:d76:f600:e65f:1ff:fee2:dad6 on eth0.*.
Nov 30 16:30:00 raspberrypi avahi-daemon[137]: Registering new address record for 192.168.178.21 on eth0.IPv4.
Nov 30 16:30:00 raspberrypi avahi-daemon[137]: Registering new address record for ::1 on lo.*.
Nov 30 16:30:00 raspberrypi avahi-daemon[137]: Registering new address record for 127.0.0.1 on lo.IPv4.
Nov 30 16:30:06 raspberrypi otbr-agent[153]: 00:29:44.259 [I] Mle-----------: Send Advertisement (ff02:0:0:0:0:0:0:1)
Nov 30 16:30:06 raspberrypi otbr-agent[153]: 00:29:44.260 [D] P-RadioSpinel-: Sent spinel frame, flg:0x2, tid:13, cmd:PROP_VALUE_SET, key:STREAM_RAW, len:69, channel:15, maxbackoffs:4, maxretries:15 ...
Nov 30 16:30:06 raspberrypi otbr-agent[153]: 00:29:44.261 [D] P-RadioSpinel-: ... csmaCaEnabled:1, isHeaderUpdated:0, isARetx:0, skipAes:0, txDelay:0, txDelayBase:0
Nov 30 16:30:06 raspberrypi otbr-agent[153]: 00:29:44.266 [D] P-RadioSpinel-: Received spinel frame, flg:0x2, tid:13, cmd:PROP_VALUE_IS, key:LAST_STATUS, status:OK
Nov 30 16:30:06 raspberrypi otbr-agent[153]: 00:29:44.266 [I] MeshForwarder-: Sent IPv6 UDP msg, len:90, chksum:8ac5, ecn:no, to:0xffff, sec:no, prio:net
Nov 30 16:30:06 raspberrypi otbr-agent[153]: 00:29:44.266 [I] MeshForwarder-:     src:[fe80:0:0:0:9c0c:41e0:cd9f:d39f]:19788
Nov 30 16:30:06 raspberrypi otbr-agent[153]: 00:29:44.267 [I] MeshForwarder-:     dst:[ff02:0:0:0:0:0:0:1]:19788
Nov 30 16:30:20 raspberrypi avahi-daemon[137]: Withdrawing address record for 172.23.0.1 on br-e44552afc061.
Nov 30 16:30:20 raspberrypi avahi-daemon[137]: Withdrawing address record for fe80::42:1aff:fe43:8a16 on br-e85bd046c8c0.
Nov 30 16:30:20 raspberrypi avahi-daemon[137]: Withdrawing address record for 172.22.0.1 on br-e85bd046c8c0.
Nov 30 16:30:20 raspberrypi avahi-daemon[137]: Withdrawing address record for fe80::42:56ff:fe6a:2c98 on br-8f70e8ca49bc.
Nov 30 16:30:20 raspberrypi avahi-daemon[137]: Withdrawing address record for 172.21.0.1 on br-8f70e8ca49bc.
Nov 30 16:30:20 raspberrypi avahi-daemon[137]: Withdrawing address record for fe80::42:b7ff:feb8:34ae on docker0.
Nov 30 16:30:20 raspberrypi avahi-daemon[137]: Withdrawing address record for 172.17.0.1 on docker0.
Nov 30 16:30:20 raspberrypi avahi-daemon[137]: Withdrawing address record for 2a02:908:d76:f600:ccbf:a4f3:401b:7e39 on eth0.
Nov 30 16:30:20 raspberrypi avahi-daemon[137]: Withdrawing address record for 2a02:908:d76:f600:e65f:1ff:fee2:dad6 on eth0.
Nov 30 16:30:20 raspberrypi avahi-daemon[137]: Withdrawing address record for 192.168.178.21 on eth0.
Nov 30 16:30:20 raspberrypi avahi-daemon[137]: Withdrawing address record for ::1 on lo.
Nov 30 16:30:20 raspberrypi avahi-daemon[137]: Withdrawing address record for 127.0.0.1 on lo.

To Reproduce Information to reproduce the behavior, including:
Follow the Docker tutorial linked above.

@Cilenco Cilenco closed this as completed Nov 30, 2023
@Cilenco Cilenco reopened this Nov 30, 2023
@Cilenco Cilenco closed this as completed Dec 8, 2023
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