Stream alerts for YouTube no longer works: "Channel does not exist" #5343
Labels
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Mrcoolgamer11/Red-DiscordBot#5343
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?
What Red version are you using?
3.4.14
Cog name
Streams
Command name
streamalert youtube
What did you expect to happen?
I'll now send a notification in this channel when ****** is live.
What actually happened?
Error in command 'streamalert youtube'. Check your console or logs for details.
How can we reproduce this error?
1.[prefix]streamalert youtube [channelid/name]
2.
3.
...
Anything else?
Was working properly before the 3.4.14 update.
Have tried restarting bot. Have not tried restarting device hosting the bot.
Tried reassigning the API Key.
Twitch variant is working as intended
Below is the error log in the console.
DONT SEND ME FUCKING MESSAGE
24 Eyl 2021 Cum 8:25 AM tarihinde boringapple @.***>
şunu yazdı:
Should be unrelated to the update: also see this on 3.5.0.dev1:
I think this might be a YouTube issue, given I see this for all the channels I have:
Might this also cause watched channels to be deleted from the configuration? This was a recent bug that was supposedly fixed, but I still have this issue. If it is related to this, I won't create a new issue for that.
The last brown-out (screenshot above) was more than what I observed previously (this time it was definitely longer than the default 5min x 10 retries = 50 minutes that would trigger removal 😢 ), so I also did see some channels being removed from my config.
@jack1142 what are your thoughts on bumping the retry count from #5223 even higher, or making the retry count user-configurable? Still trying to think of a better solution to this issue.
Can we have this issue addressed, please? Each and every channel I added have been deleted multiple times now, including my own.
It was addressed by #5223 (this issue should have been closed) so if you're still experiencing it in the latest Red version (3.4.16), please share the logs.
Given the fact that this issue was created after #5223 was implemented, the logs in this issue are still valid. Also referred to in https://github.com/Cog-Creators/Red-DiscordBot/issues/5343#issuecomment-928290513
Oh, I thought this is a different issue (#5195), sorry.
If I'm not mistaken, the bug that causes the traceback in the original issue seems to have been attributed to Youtube scraper related protection measures. The actual actionable issue that needs to be addressed is the fact that when this (or other brownouts) happens, existing stream alerts get cleared. Perhaps there is a way to differentiate a channel no longer existing vs a temporarily unavailable service and avoid clearing the alert? Though that seems like what #5223 addressed, so is the original traceback something we can actionably fix? Is it still a traceback users are experiencing?
Alte Fehlermeldung, die sich mit dem heutigen Code-Stand (discord.py 2.7, Python 3.11+, aktuelles Lavalink/Red-Lavalink) nicht mehr nachvollziehen lässt bzw. auf längst geänderten Code verweist. Ich schließe das Issue; falls der Fehler mit dem aktuellen Stand noch auftritt, bitte mit neuen Logs wieder öffnen.
Generated by Claude Code