NLnetLabs / rtrtr

An RPKI Data Proxy

Home Page:https://nlnetlabs.nl/projects/routing/rtrtr/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rtrtr does not accept rpki-client formatted json

ties opened this issue · comments

When investigating bgp/stayrtr#13 I discovered that rtrtr is intollerant of rpki-client's output.

When I set up rtrtr to load data from both routinator and rpki-client (the config used is attached), I get the following error

docker run -p 8080:8080 -p 9001:9001 -v `pwd`/rtrtr.conf:/etc/rtrtr.conf nlnetlabs/rtrtr -c /etc/rtrtr.conf
Unit alias-rpki-client: Updating from http://[host]:8888/objects/validated
Unit alias-routinator: Updating from http://[host]:9556/json
Target http-json: link status: healthy
Unit alias-rtr: Connecting ...
Unit alias-rtr: Failed to connect to RTR server [host]:3323: Connection refused (os error 111)
Unit alias-rtr: Connection failed. Awaiting reconnect.
alias-rpki-client: Failed reading source: invalid type: integer `3215`, expected a string with an AS number at line 29 column 16

Please consider supporting both formats for interoperability.

Configuration:

rtrtr_example.txt

This has been fixed as part of #30.