-
Notifications
You must be signed in to change notification settings - Fork 8
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
Scan results not consistently updated #1125
Comments
What does "Result last seen" mean? |
Result last seen is a timestamp on the scan result data that is updated (1) when the scan result is first created, and (2) if a subsequent scan obtains exactly the same data. Here's the code that deals with that: https://github.com/freedomofpress/securedrop.org/blob/develop/scanner/scanner.py#L108-L114 |
The daily-tasks job is throwing a fatal error at the end, after about 5 minutes. Here is the full output of a job:
|
Yeah, a try/catch (pass) on requests.exceptions.InvalidSchema around https://github.com/freedomofpress/securedrop.org/blob/develop/scanner/scanner.py#L46-L48 might do it.. (or ignore that |
I can confirm that this is fixed and scan results appear to be rolling in consistently again. @nathandyer Heads up. This may have resulted in some warning status changes on existing directory entries that hadn't been scanned in a while :/. |
Thanks for the heads up @eloquence, I'll take a look through the directory for any new status changes. |
https://securedrop.org/admin/scanresult/ ordered by "Result last seen" currently shows 6 results for May 28 (today), 2 for earlier in May, and then drops off into March, February and January.
I would expect the whole directory to be scanned regularly (daily?) with results being updated across the board.
The text was updated successfully, but these errors were encountered: