Hey Mastodon admins,
I’ve noticed lots of errors in the logs and sidekiq dead queue similar to a failure for pushrelay-mast1.your.org.
These come from failed mobile/web notification services which are registered for your users… and they fail repeatively!

Note: if you know who runs/ran the failing push services, maybe give them a message and see if it’s in any way required any more.
Two commands to clean that spam from the sidekiq dead queue and error logs in general.
On the irb console – docker-compose exec web bundle exec rails console on docker
Web::PushSubscription.where('endpoint LIKE ?', 'https://pushrelay-mast1.your.org/%').in_batches.delete_all
andSidekiq::DeadSet.new.select {_1.display_class == "Web::PushNotificationWorker"}.map(&:delete)
should resolve the problem of this dead push relay.
Categories: Mastodon TECHNICAL
Leave a Reply