-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Crit-err 3000001 on retransmiting CASE Sigma2 #21671
Comments
We've been running into this in our testing as well, with esp32 devices. @shubhamdp @dhrishi |
We will take that up soon. cc @shubhamdp |
@shubhamdp See this part from the issue description:
|
Hi everyone. The error code This issue happens more frequently if you set Try to set To fully solve the issue, a better error handling for error code |
@ryan-ma Interesting. So this is a transient failure and the right thing to do is to try again (via MRP)? We have something like that already in |
That can be caused by a transient lack of TX buffers. We should just try again via MRP. project-chip#21671
That can be caused by a transient lack of TX buffers. We should just try again via MRP. Fixes project-chip#21671
Could someone who is running into this try bzbarsky-apple@8f52341 and let me know whether that seems to help? |
That can be caused by a transient lack of TX buffers. We should just try again via MRP. Fixes project-chip#21671
* Treat an ERR_MEM on send as non-fatal on LwIP. That can be caused by a transient lack of TX buffers. We should just try again via MRP. Fixes #21671 * Address review comment.
Sorry for the late reply. I checked the fix. It looks good.
|
@ryan-ma Thank you for confirming that! It's good to know this actually fixes the problem in practice. |
* Treat an ERR_MEM on send as non-fatal on LwIP. That can be caused by a transient lack of TX buffers. We should just try again via MRP. Fixes project-chip#21671 * Address review comment.
Problem
In CASE process (during device commissioning), the comissionee should reply Sigma2 to comissioner.
But there is a little chance that the comissionee failed sent Sigma2 message.
It happens with a very low chance (<1%), but we have catched the problem twice. Both of them have exactly same phenomenon:
Crit-err 3000001
reported, retransmition stopped, and the comissioner still does not receivedAfter that, device commissioning failed due to timeout in the comissioner side.
The error code
3000001
meansERR_MEM
, but some log messages showed that free heap size is enough to handle network message.system configuration
Comissioner: Android (commit: e556daa)
Comissionee: ESP32 (commit: e556daa)
Logs
Comissioner: log2.txt
Comissionee: Device_2022-08-05_15_58_32.log
The text was updated successfully, but these errors were encountered: