bgp / stayrtr

RPKI-To-Router server implementation in Go
BSD 3-Clause "New" or "Revised" License
91 stars 13 forks source link

INTEGRATION: checktime enabled by default fails to load with octorpki/fort #44

Closed randomthingsandstuff closed 1 year ago

randomthingsandstuff commented 2 years ago

1) No error message produced on initial failure 2) Subsequent failures bomb out due to cryptic message.

Solution maybe?

Deactivate checktime if cache intialized and the entry is empty?

randomthingsandstuff commented 2 years ago

This will also apply to FORT generated JSON. Doesn't include metadata afaict (but I could be holding it wrong).

randomthingsandstuff commented 2 years ago

The correct answer to this probably depends on the meaning of checktime after #15 is resolved.

As a matter of course, if a default is a problem, it should be detected and an appropriate log message produced to inform the operator their shit doesn't work and what to do about it.