OTBR using invalid IPV6 address #8252
-
Hi,
We are seeing a bug for which I would like to request your insights: The first time that we do the test, everything works fine. At the second try, we observe that SRP is working but there is then a blocking period of about 20s where we can't send UDP commands to the device. While looking at the Test 2 TCP log file, we can see lot of errors like this:
The OTBR is trying to send some packets to the RLOC 0x6000 but it doesn't exist anymore! In "test2_nok_joiner_device.txt" there is these traces where Joiner RLOC is switched from 0x6000 to 0x0402:
Looking at the OTBR syslog, RLOC 0x6000 & RLOC 0x0402 are not linked to same target IPv6:
RLOC 0x0402 corresponds to the address fdde:ad00:beef:0:7c92:e10c:d993:b249 which is indeed used during Test2. Do you know what we could have missed to update the Border Router tables ? The attached zip file contains:
Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Looking at
When rebooting the Joiner device, are you also clearing non-volatile settings? |
Beta Was this translation helpful? Give feedback.
-
Thank you so much Jonathan! It works indeed! I will do more tests on monday but I can see that the blocking period doesn't happen anymore. |
Beta Was this translation helpful? Give feedback.
-
@jwhui Jonathan,
This timeout can happen a few time consecutively and the duration is increased everytimes (1800ms -> 3060 ms -> 5s -> 8s ...etc) so it makes SRP service creation too long. We would like to understand the root cause of this issue. Here is a new log that I have recorded.
At [00:00:23.583] we start the commissioning. Normally we start SRP as soon as the joiner device becomes a child or a leader but here, I'm starting SRP manually by pressing a button at time [00:00:48.359]. I have intentionally let more than 10s after the end of the commissioning to see it fixes the problem but it doesn't help. As indicated, we have a time out at [0000049355] . We have noticed that Address Query is sent at time [0000047556] but doesn't receive answer:
The answer arrives later on: Thanks for your advices. |
Beta Was this translation helpful? Give feedback.
Looking at
test2_nok_joiner_device.txt
, it appears thatfdeb:b4c2:ebb4:1:b0db:57d3:5b26:e965
is still known to the device. And the SRP Client is still registering with that IPv6 address.