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

rpsl file to small #237

Closed
matsm opened this issue Nov 6, 2019 · 7 comments
Closed

rpsl file to small #237

matsm opened this issue Nov 6, 2019 · 7 comments

Comments

@matsm
Copy link

matsm commented Nov 6, 2019

We run routinator 0.6.1

We are using the rpsl file in our process and we are generating this file with the command:
routinator -c /usr/local/etc/routinator.conf vrps -n --format rpsl —output rpki.db

This has worked fine.

Sometime yesterday we discovered that the resulting file was only 10% of it´s previously size.
After some struggling we found that adding —disable-rrdp gave a file with a more normal size

routinator --disable-rrdp -c /usr/local/etc/routinator.conf vrps -n --format rpsl —output rpki.d

Please advice

/mm

@partim
Copy link
Member

partim commented Nov 7, 2019

That sure sounds odd. If RRDP doesn’t work, Routinator should fall back to using rsync.

I see that you have -n in your command. Are you running an update separately? What command are you using for that?

Is there any unusual output or logging?

@matsm
Copy link
Author

matsm commented Nov 7, 2019 via email

@partim
Copy link
Member

partim commented Nov 7, 2019

It looks like this is ultimately caused by not being able to talk to the RRDP server:

https://rrdp.ripe.net/notification.xml: https://rrdp.ripe.net/notification.xml: timed out

This happens for all the RRDP servers. It might be firewall issues or IPv6 connectivity problems.

It looks like what makes this all go really haywire is some issues in the RRDP code when -n is used. I will investigate this.

Ultimately, I would suggest not to mix server mode with vrps mode as that may lead to one updating the data while the other is reading from it. Dealing with that on the filesystem is tricky.

You can also get your RPSL from the HTTP server – or you could if there weren’t a bug which makes the /rpsl endpoint produce CSV output. This will be fixed in the next release. I would then suggest to get the data via

curl http://127.0.0.1:789/rpsl

@matsm
Copy link
Author

matsm commented Nov 7, 2019 via email

@partim
Copy link
Member

partim commented Nov 7, 2019

Yes. I would also suggest to investigate why the HTTPS connections time out and fix that. Then you can leave out the --disable-rrdp option.

@matsm
Copy link
Author

matsm commented Nov 7, 2019 via email

@partim
Copy link
Member

partim commented Apr 17, 2020

I think the issue with -n was fixed. So I can close the issue. If you feel like there should be something done still, please do not hesitate to reopen!

@partim partim closed this as completed Apr 17, 2020
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