[GH-ISSUE #129] Bot Disabled / Old Tweets Spamming Webhook #36
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
TheLovinator/discord-twitter-webhooks#36
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @EthanC on GitHub (Jul 21, 2023).
Original GitHub issue: https://github.com/TheLovinator1/discord-twitter-webhooks/issues/129
When this app receives a bad gateway response from the configured Nitter instance, it seems to consider all Tweets, regardless of age, as new and sends them to the Feed Webhook. Note there is a lot of log spam and I'm not 100% confident in the cause.
@EthanC commented on GitHub (Jul 21, 2023):
github.com/TheLovinator1/discord-twitter-webhooks@eab4e6f67eis related, I'm sure.@TheLovinator1 commented on GitHub (Jul 21, 2023):
Hi, sorry for that
It is because of
github.com/zedeus/nitter@cc5841df30That commit increased the amount of tweets (11 before, 19 now) in the RSS feed on Nitter, so my bot started posting tweets that was older than the last oldest tweet
I made a commit (
github.com/TheLovinator1/discord-twitter-webhooks@eab4e6f67e) that disabled the bot to try to minimize the damage@EthanC commented on GitHub (Jul 21, 2023):
Updated the title to better reflect the situation, I didn't put too much time into understanding what was happening haha. Thanks for minimizing the impact, looking forward to everything being back up and running!
@TheLovinator1 commented on GitHub (Jul 21, 2023):
It should be fixed in
github.com/TheLovinator1/discord-twitter-webhooks@a494d8457f, I am now checking if the unsent tweet is older than the oldest sent tweet, so this shouldn't happen againSorry again for the spam
@EthanC commented on GitHub (Jul 22, 2023):
Confirmed resolved