-
Notifications
You must be signed in to change notification settings - Fork 425
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
RouterInfo and Lease Set queries #2081
Comments
I don't know exact answer to your question. |
Not enough nodes maybe? Also you need some nodes to have floodfill option enabled. |
How IP addresses for your nodes look like? There may be bugs in simulation tool of course, but first of all, more probable variants should be checked. |
Try using "real" addresses like 1.1.1.1 - 1.1.1.254 for example. Not sure if errors will go away, there may be more problems, but changing IP addreses is worth to try. |
It does not work :( |
Maybe it worth to try something simpler than i2pd first - web server (nginx) and web client (curl) for example.
Yes, but problem in your case appears much earlier: |
Do you see
I don't think this error is much important. |
upd: It should be possible to use this node as floodfill, but no tunnels through it will be possible. |
this is the router.info found in the data directory for that specific i2pd router.I haven't enabled the no transit |
It should appear in netdb directory of other routers, in some way, either manually (which I suggest to try first) or with the help of reseeds. With different name, like this one:
Ok, maybe this situation will correct itself somehow (with simulation of longer duration for example). |
i added the routerInfo manually to the netDB.However, i though that "6NcDCoHU0H2TRBEANjcZaonkqPtYYn2wnCIHAfILZPE=" was the router ID and not hashed part of the RI content... I've set the simulation for 30 min, however, due to the errors in tunnel creations it lasts only 15-20 seconds |
Router Ident is calculated with hashing.
So other routers have this file? |
I made test by myself, with two virtual machines.
Second virtual machine, 100.0.0.2, hosted regular node:
After I placed floodfill (node1) RI into correct place,
You can look at full logs in these archives: |
Hello, I tried it tool on virtual machines, it works. I think the issue lies within the simulation tool itself and not within the i2pd configuration. |
You may also check for time related problems. upd. Also you need to be sure that your RouterInfos are not from future and not too old. Also I suggest to compare debug logs made in virtual machine with logs made in simulation. |
The timestamp in my simulation seems fine. |
By clearing extra RouterInfos in netdb directories and setting
on each node. My example with two nodes in virtual machines was set up this way. You may also disable addressbook, but it should not prevent nodes from working anyway. |
Hello, I ended up dropping the simulation for vms simulation. Thanks a lot! However, i have a queation: Can i use the java version of the I2CP Api with a i2pd router or it works only on the java version of i2p? |
I know that I2PSnark uses I2CP and can work both with i2pd and java i2p. |
I made it manually for my tests, but such sorting can be automated by writing tool for this task. If you have reproduction steps for getting that crash, it may make sense to modify i2pd to prevent it from happening, even if crash happen because of wrong file placement. |
can you elaborate on this? |
If I use https://github.com/PurpleI2P/pyseeder on another vm, will it bootstrap them and place them in their correct place with their correct ident in the netDb? |
|
It crashed after i filled in the netDb |
Reseed works with already launched network.
netDb is filled regularly during node operation and no crashes happen. |
I already see mistake. upd. I see no crashes however. Probably because I use Windows and not Linux. |
It activated then back to failed... |
Absence of message is, most likely, because of default
By activated you mean Also how many connections to other nodes this particular node was able to establish? |
I though you meant
There are methods of obtaining stack trace with |
Hello, i'm conducting a simulation of I2pd in a self-contained environment. I'm having a few issues...
Currently it requires the simulation of the reseed server for boostraping and floodfill routers. Those entities requires the su3 files, which can be generated using some available tools. However, the su3 is constructed using the routerinfo.dat files, but the i2pd routers only generates the router.info files. Based on my research the routerinfo.dat file contains additional metadata.Thus are there ways to generate the router.info files and lease sets for a given number of simulated routers?
The text was updated successfully, but these errors were encountered: