-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
CASE Session Establishment often fails #11233
Comments
@samanthamar Can you chk if this IP address 'fd47:92dd:b85c:9bf8:ff81:6e7:958d:e389' is reachable from your controller ? |
Device shows
So either that message did not get delivered or the timeout happened before that message was delivered. Timing out seems odd - there doesn't seem to be THAT much time between the sigma1 and sigma3 message send from the controller. We do know the device is receiving the messages because it reports:
From my reading of the code, though, it's supposed to wait a full 10 seconds before that timer goes off.
So either that timer is not getting reset properly somehow, or the timer is going off early, or the sigma3 message is being lost. |
I have noticed these kinds of errors mostly when
|
In this case, though, it would be the device that missed the message. And it looks like a thread device, so I'm thinking it's physically a different device? Can you confirm the setup @samanthamar ? |
I don't think it's reachability issues because we can see the sigma1 message get through. |
Yes, that's correct. Sigma2 is received by the controller, and Sigma3 was sent. But the device never received it. So reachability and multiple controller apps should not be the issue. |
Here's something odd:
If you look there, the exchange manager claims to receive a message of type 0x32 on exchange 3201r. Isn't 0x32 the sigma3 message? |
@samanthamar this looks like an old branch. The log messages (and a lot of other code) in CASESession.cpp were updated in #9904. Could you confirm what branch/commit you are using? |
Yeah, I wonder if the timeout happened right when the SigmaR3 was received. The logs do not have timestamps to correlate it. Also, the state machine is a bit different now, since we added another message to the CASE message exchange ( |
If status is 0x10, that appears right before 0x32 in the log, I just didn't copy it. |
0x10 is the standalone ack. 0x40 is the status report. |
Hi all,
|
That's right. PR is on master, and TE7 branch. The change was too big to be cherry-picked. |
This is resolved in TE 7. Thank you all. |
Often after running the resolve command using chip-device-ctrl, the DUT fails to be commissioned due to the errors in the logs attached.
The workaround is to factory reset the DUT and power cycle the controllers and OTBR, however, this does not always work.
DUT is a lighting device that is Thread enabled.
CASE_fail.txt - DUT
CASE_fail_controller.txt - controller
The text was updated successfully, but these errors were encountered: