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

Frequent Prefix Registration Failure #4

Closed
justincpresley opened this issue Oct 23, 2021 · 2 comments
Closed

Frequent Prefix Registration Failure #4

justincpresley opened this issue Oct 23, 2021 · 2 comments

Comments

@justincpresley
Copy link

System: Ubuntu 20.04

Forwarder Version: NFD-nightly, latest pull

Scope: Likely just my machine / Individual Experience via configuration / setup

Error Frequency: Around 1 per 10 registrations

Problem: When working with applications (running it multiple times) that listen to around 6+ different prefixes, I occasionally get this error Registration for PREFIX failed: 403 authorization rejected. Since the frequency does not happen every run, I am able to just restart the application in order to successfully test what I need to test. However, I am curious on what could be the issue and ways to prevent this. What do you suggest or know about this problem? Any configuration that might help?

Notes: Everything else related to the Forwarder works as intended and I can perform all the other related operations.

@yoursunny
Copy link
Owner

yoursunny commented Oct 23, 2021

My packages are built from the named-data/ppa-packaging.
You'll see the exact same error if you install from named-data/ppa.
This is not a bug in my build procedure, as I do not modify build scripts other than overwriting version numbers.

Your error message appears to come from python-ndn.
python-ndn is not implementing stop-and-wait correctly:

The library should increment the timestamp on subsequent commands.

@yoursunny
Copy link
Owner

I do not modify build scripts other than overwriting version numbers.

While not related to this issue, this statement requires a correction:

Nowadays I indeed modify build scripts, not only version numbers, but also dependencies.
For example, libboost-all-dev is replaced with more specific packages, so that it would not bring in Python 2 ☠️.

I avoid modifying the source code though, so that with high probability, my builds have the same runtime behaviors as the PPA builds on the same source code version.

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