question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Links not refreshed in RegistrationEngine.update

See original GitHub issue

When the Leshan client performs an update, it doesn’t refresh the available links. This results in deleted links being reported to the server, which seems incorrect.

RegistrationEngine.java, row 245 // Send update LOG.info("Trying to update registration to {} ...", dmInfo.getFullUri()); UpdateResponse response = sender.send(dmInfo.getAddress(), dmInfo.isSecure(), new UpdateRequest(registrationID, null, null, null, null), null);

As far as I can see it should rather be // Send update LOG.info("Trying to update registration to {} ...", dmInfo.getFullUri()); UpdateResponse response = sender.send(dmInfo.getAddress(), dmInfo.isSecure(), new UpdateRequest(registrationID, null, null, null, LinkFormatHelper.getClientDescription(objectEnablers.values(), null)), null);

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
sbernard31commented, Jan 23, 2020

@bolddp, I created new PRs (#787, #788) abou that

0reactions
bolddpcommented, Jan 23, 2020

At the moment, I’m not involved in the LwM2m project that I was before, but it’s nice to see that Leshan still is alive and kickin’! I’m currently working on a project with a proprietary byte protocol.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix WordPress Website Not Updating Right Away
Step 2. Clear WordPress Cache for Your Website ... The second and most likely cause of this issue is poorly configured WordPress caching...
Read more >
Updating Your Registration or Authority | FMCSA
See below for more information on updating your US DOT number information. Biennial Updates. Federal Motor Carrier Safety Administration (FMCSA) requires all ...
Read more >
How to Tell Google Your Content Has Been Updated
If your content changes pass that real-world test, the best thing you can do is go into Google Search Console and resubmit the...
Read more >
Updating Your Registration Information - California DMV
It's important to keep the information on your registration current and accurate. Fortunately, it's not difficult to make basic changes to your vehicle ......
Read more >
Move a Website and Change URL | Google Search Central
If you open your web pages within your app, update the app links to the new URLs before you implement your old to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found