Problem when doing commissioning + SRP service creation #8202
-
I'm doing a Commissioning of my Thread device, and then I use SRP to advertize its presence. I see some errors during SRP activation (see attached log file):
SRP activation is failing a few times but then it finishes by a success (after a few tries). During my investigation, I have observed something: If I replace the Commissioning phase by some CLI command to join the OTBR network (based on "dataset set active xxxx" command), and then run the exact same code for SRP activation, then I don"t see the problem anymore. SRP activation is running smoothly. Do you know what could be wrong? Could it be related to DTLS ? Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The issue seem unrelated to SRP itself, but from logs it looks like the destination (SRP server) is not initially responding to "address query" . My guess/theory is that this happening right at start and before all links are established. Here address query for
After this we see the router
The address query timed out here
So all messages to this destination (inlcuding SPR update is now dropped) - We don't know where to send this:
Next address query attempt later succeeds (and we see
And registration proceeds successfully:
|
Beta Was this translation helpful? Give feedback.
-
@abtink Thank you Abtink I have captured some new logs (joiner device + RCP log + RPi syslog) and I can see that, when the problem is happening, the RCP doesn't receive anything. So we probably have a problem with RF transmission between the RCP and the Joiner device. |
Beta Was this translation helpful? Give feedback.
The issue seem unrelated to SRP itself, but from logs it looks like the destination (SRP server) is not initially responding to "address query" .
My guess/theory is that this happening right at start and before all links are established.
My suggestion is to either add delay before starting the registration and/or keep it as is and allow the retries to take care of it.
Here address query for
fdde:ad00:beef:0:2e57:e9b6:cde1:feb3
After this we see the router
0xcc00
is trying to establish link: