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

Awa static client fails to retry after registration failed timeout #149

Closed
rlatchem opened this issue May 26, 2016 · 3 comments
Closed

Awa static client fails to retry after registration failed timeout #149

rlatchem opened this issue May 26, 2016 · 3 comments
Labels

Comments

@rlatchem
Copy link

If the Awa static client registers while the lwm2m server is down - it bootstraps OK then posts a registration request and hangs, with no retry on timeout. e.g.: the client log stops after the following:
...
[INFO] [lwm2m_registration.c:137] Register with coap://127.0.0.1:5683
[DEBUG] [lwm2m_registration.c:139] Register: POST coap://127.0.0.1:5683/rd?ep=AwaStaticClient1&lt=30&b=U

The same test with awa_clientd recovers properly when the server comes back up:
...
[INFO] Register with coap://127.0.0.1:5683
[ERROR] Transaction Timed out
[ERROR] Registration Failed! 504
[INFO] Register with coap://127.0.0.1:5683
[INFO] Registered with 127.0.0.1:5683

@DavidAntliff
Copy link
Collaborator

Can you include the version number or git commit affected please?

@rlatchem
Copy link
Author

v0.1.9

@rlatchem
Copy link
Author

This was fixed in v0.2.0 (as part of previous commits for Erbium support)

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

No branches or pull requests

2 participants