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

ASN Lookup expert database update fails after the 28th of each month #2088

Closed
ghost opened this issue Aug 31, 2021 · 2 comments · Fixed by #2121
Closed

ASN Lookup expert database update fails after the 28th of each month #2088

ghost opened this issue Aug 31, 2021 · 2 comments · Fixed by #2121
Labels
bug Indicates an unexpected problem or unintended behavior component: bots good first issue Indicates a good issue for first-time contributors help wanted Indicates that a maintainer wants help on an issue or pull request usability

Comments

@ghost
Copy link

ghost commented Aug 31, 2021

intelmq@localhost:~$ intelmq.bots.experts.asn_lookup.expert --update-database
Searching for the latest database update...
Database update failed. Couldn't find the latest database update.

haven't yet investigated the reasons

@ghost ghost added bug Indicates an unexpected problem or unintended behavior component: bots labels Aug 31, 2021
@ghost ghost modified the milestone: 3.0.1 Aug 31, 2021
@ghost
Copy link
Author

ghost commented Sep 1, 2021

As @schacht-certat found out, the issue was that the server had an empty directory named "2021.09" yesterday. Today it works fine again. Should be handled though.

@ghost ghost added good first issue Indicates a good issue for first-time contributors help wanted Indicates that a maintainer wants help on an issue or pull request usability labels Sep 1, 2021
@ghost
Copy link
Author

ghost commented Sep 29, 2021

That fails at the end of every month. The monthly directories in http://archive.routeviews.org/route-views4/bgpdata/ are always created on the 28th of the previous month and thus our code fails on every 29th, 30th and 31st of each month.

@ghost ghost changed the title ASN Lookup expert database update fails ASN Lookup expert database update fails after the 28th of each month Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior component: bots good first issue Indicates a good issue for first-time contributors help wanted Indicates that a maintainer wants help on an issue or pull request usability
Projects
None yet
Development

Successfully merging a pull request may close this issue.

0 participants