-
-
Notifications
You must be signed in to change notification settings - Fork 331
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
[question] Log is flooded with entries about missing accounts #3541
Comments
this usually ends up happening when mastodon sends out a delete account request. they send out the initial delete, then individual deletes for every single item created by that account that might live on remote servers. but in our case, as soon as we receive the delete account request we just immediately delete everything, so all the subsequent requests fail. it's probably something we can handle a little better, and honestly it would be much more efficient if mastodon performed similarly to us which seems like the more sensible way to sit :p |
Yeah I think we could maybe put these particular logs at a debug level rather than warn or error, as they can safely be ignored. |
Should this be logged at ERROR level then? I mean I'd understand this for local accounts, but now... I mean, if remote account is already gone on that remote instance, why would I care about that? I'd expect GTS to handle this in the background and log at DEBUG level maybe 🤔 Now these accounts were never related to my instance at all, hence my confusion 😕 |
Just to add a bit of background/explanation to this, mastodon.social and other very large, open sign-up instances are particularly prone to sending out lots of Unfortunately, Mastodon signs those Delete messages with the public key of the deleted account (good, correct), but it doesn't keep serving the public key or webfinger response for those deleted accounts (questionable), so if your instance hasn't seen the account yet and cached the public key locally, it's impossible to validate the authenticity of those Delete messages. Actually we should just throw away Delete messages whose key we can't retrieve + validate, but we'd have to do some rearchitecting to do that, as validating public/private key signatures is an integral part of how GoToSocial works. |
I have my GTS instance running with 2 accounts. One of these accounts has a follower from mastodon.social and I noticed the log is flooded with entries like:
and
Some account names repeat constantly. When I try to check these accounts, Mastodon just opens a 404 page (which makes sense I suppose)
Where do these accounts come from? Why would GTS keep checking for them over and over if they are gone?
The text was updated successfully, but these errors were encountered: