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

Client is unstable #44

Closed
JosefWN opened this issue Nov 9, 2021 · 2 comments
Closed

Client is unstable #44

JosefWN opened this issue Nov 9, 2021 · 2 comments

Comments

@JosefWN
Copy link
Contributor

JosefWN commented Nov 9, 2021

Hi, great to see a CoAP library for Dart! I decided to try version 3.2.1 out and found some potential issues.

I'm getting intermittent errors:
Reliability - Retransmission timeout elapsed
Reliability - Timeout: retransmit message, failed count: 3 message: 27007
Matcher - Ignoring unmatchable piggy-backed response from localhost

Frequently polling for a resource will yield these failures 5-10% of the time. Both server and client are running on localhost so I think we can rule out issues with the connectivity... Latency on the server side is ~10 ms, CoAP client timeout is 3000 ms with 3 retries. The message size is about 60-120 bytes. Can't see anything indicating an error on the server side.

I'm also getting:
SEVERE: >> BlockwiseLayer uses MaxMessageSize: 1024 and DefaultBlockSize: 512

Perhaps this event, which I guess is an info message, doesn't need to be marked as the most severe event of them all in the logs?

@shamblett
Copy link
Owner

OK, so what server are you using?

You say 'Frequently polling for a resource...' please post the code on how you are doing this.

@JosefWN
Copy link
Contributor Author

JosefWN commented Jan 11, 2022

Sorry, I've since dug deeper and found issues on the server side, where I'm using https://github.com/plgd-dev/go-coap.

Closing this for now.

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

2 participants