Skip to content
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

OnMessageReceived failed, err = 70 (CON-571) #468

Closed
shun-dgut opened this issue Jun 14, 2023 · 4 comments
Closed

OnMessageReceived failed, err = 70 (CON-571) #468

shun-dgut opened this issue Jun 14, 2023 · 4 comments

Comments

@shun-dgut
Copy link

CONFIG_MAX_EXCHANGE_CONTEXTS=8
CONFIG_MAX_BINDINGS=8
CONFIG_MAX_FABRICS=5
CONFIG_MAX_PEER_NODES=16
CONFIG_MAX_UNSOLICITED_MESSAGE_HANDLERS=8

How should these parameters be set to have better performance.
My code comes up with

E (806945) chip[EM]: OnMessageReceived failed, err = 70
@github-actions github-actions bot changed the title OnMessageReceived failed, err = 70 OnMessageReceived failed, err = 70 (CON-571) Jun 14, 2023
@shripad621git
Copy link
Contributor

OnMessageReceived failed, err = 70 stands for CHIP_ERROR_UNSOLICITED_MESSAGE_NO_ORIGINATOR. It occurs when the unsolicited message i.e the message that does not match any existing exchange, is not marked as being sent by an initiator.
The message header is checked for an initiator, and if not found the message is dropped and the error above is thrown just for indicating the above stated reason.

@jonsmirl
Copy link
Contributor

OnMessageReceived failed, err = 70. They are corrupted packets of some type. They don't hurt anything.
Maybe you can track down where they are coming from.

Why do you think performance is not good? Thread is slow, but that's because it is Thread.

@dhrishi
Copy link
Collaborator

dhrishi commented Jun 23, 2023

@shun-dgut Closing this as the analysis of the error statement is mentioned by @shripad621git . Please let us know if you see any issues around this.

@dhrishi dhrishi closed this as completed Jun 23, 2023
@jonsmirl
Copy link
Contributor

jonsmirl commented Oct 1, 2023

This finally got fixed in CHIP.

project-chip/connectedhomeip#29166

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants