-
Notifications
You must be signed in to change notification settings - Fork 23
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
ERROR: Failed to parse RIS Live raw data #29
Comments
Hi! Thanks for reaching out. I think this is caused by the combination of a "feature", and a bug. The "feature" is that when you only provide a start time, BGPStream goes into "live" mode which means it will include data from RIS Live. Because we don't have a mechanism for checking which collectors a given live stream (e.g., RIS Live) contains, we are uselessly opening this stream (i.e., the system doesn't know that the RIS Live stream doesn't include data from the route-views.linx collector). Then, you are hitting a bug with how BGPStream handles the RIS Live stream which causes things to break. (This issue is why v2 is still in a pre-release state.) I think that if you set project="routeviews", in the constructor you should see more sane behavior. |
Thanks very much for the prompt response! Just to clarify: should I include Alternatively, could I roll back to an earlier version? Thanks again |
Yeah, include them both. |
Thanks Alistair, This code seems to work just fine for me: stream = pybgpstream.BGPStream(
from_time=start_time,
project="routeviews",
collector="route-views.linx",
record_type="updates"
) Shall I close the issue, since my problem is solved for now, or leave it open, since there's an underlying bug in there? |
I think we can go ahead and close it. We're tracking the underlying bug over at CAIDA/libbgpstream#116 |
I am getting this error:
ERROR: Failed to parse RIS Live raw data
I'm running my code inside a container build on
caida/bgpstream:2.0.0-rc3
The error message is also accompanied by
WARNING: Corrupted RIS Live message:
Any idea what could be causing this? Weirdly, I don't get this error if I run the code on my desktop, which has a slightly older version of bgpstream on it..
The pybgpstream code I'm using is:
If I run that locally, nothing happens, but there are no error messages.
whereas if I use:
Locally, it works fine. In the container (I copied the file in), nothing happens (but no error messages either)
The text was updated successfully, but these errors were encountered: