Open ndyck14 opened 7 months ago
But what's the reason that Advertise
fails other than SRP server is not available in which case the service refresh will be triggered when the SRP server shows up? Could you elaborate what exactly is wrong with the current behavior and what's the proposal?
in our scenario, unfortunately we were never able to observe it directly on a device with logging. But the observation is consistent with the code: the mdnsAdvertiser.Advertise(advertiseParameters)
call fails for some reason (for some, but not all services), and when it does, it has no recovery mechanism.
Its possible that our scenario is not valid (we've refactored away from how we originally added our own SRP registration). But the code is written as "we assume this call will never fail", which may be a problem in the future.
Reproduction steps
Steps originally reported in https://github.com/openthread/openthread/issues/9909
Code snippet from repo:
If Advertise(..) fails, the service in question will not be registered until the node restarts, or the SRP server restarts (change in reachability).
We've otherwise worked around this, so unclear if others will run into it.
Bug prevalence
rarely
GitHub hash of the SDK that was being used
1.2
Platform
efr32
Platform Version(s)
No response
Type
Platform Issue
Anything else?
No response