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

STH directory loading error #101

Open
sForceFern opened this issue Dec 1, 2024 · 4 comments
Open

STH directory loading error #101

sForceFern opened this issue Dec 1, 2024 · 4 comments

Comments

@sForceFern
Copy link

sForceFern commented Dec 1, 2024

While running the command certspotter -start_at_end the following error is thrown:

certspotter: error while monitoring https://nessie2025.ct.digicert.com/log/: error loading STHs directory: error parsing /home/user/.certspotter/logs/5tIxY0B3jMEQQQbXcbnOwdJA9paEhvu6hzId_R43jlA/unverified_sths/409141520-pCGVtdnf7gX3Sb-BXo7-U8sYlLNH_2sBH-i9S62Ak88.json: unexpected end of JSON input

Running certspotter just after new installation, the above error is thrown.

@AGWA

@AGWA
Copy link
Member

AGWA commented Dec 1, 2024

What are the contents of /home/user/.certspotter/logs/5tIxY0B3jMEQQQbXcbnOwdJA9paEhvu6hzId_R43jlA/unverified_sths/409141520-pCGVtdnf7gX3Sb-BXo7-U8sYlLNH_2sBH-i9S62Ak88.json?

@sForceFern
Copy link
Author

It is empty.

@AGWA
Copy link
Member

AGWA commented Dec 8, 2024

Did your system have an unclean shutdown while running certspotter?

If you remove /home/user/.certspotter/logs/5tIxY0B3jMEQQQbXcbnOwdJA9paEhvu6hzId_R43jlA/unverified_sths/409141520-pCGVtdnf7gX3Sb-BXo7-U8sYlLNH_2sBH-i9S62Ak88.json and re-run certspotter, does the error happen again?

@sForceFern
Copy link
Author

I am not sure, I had a unclean shutdown (which could have probably happened). But cerspotter is successfully running after I removed that file, and restarted it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants