-
Notifications
You must be signed in to change notification settings - Fork 15
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
BackgroundService failed #53
Comments
At what point is this happening in the run? On start, midway or randomly? Do you have logs following before the crash? |
Thanks for providing the list! It could be something to do with rate limiting and spamming YouTube Taking a look at feature request #52 - it sounds like it could be related. I'm gonna dive in to this now that I have a clue as to what the issue may be.. I'll run it on my local and keep you posted Lastly, what is your |
"ConcurrentRequests" ? |
With 3.x you have a new optional field - take a look at this example :
If you set your value to a low value (say 10 or maybe 5) it will limit your amount of concurrent http requests being made at a time. It could slow down the amount of YouTube requests you're making at once and possibly help |
Hi, I'm experiencing issues with the latest version as well. It's completely broken for me ! Is it possible to pull a previous stable release ? |
I: Successfully initialized Existing URL: https://www.youtube.com/feeds/videos.xml?channel_id=UCygNV8cau_ZC22-Y7TlPpCw Nothing change :/ after add "ConcurrentRequests": 10 You have my YT subscription list above so test on it :) In my case, unfortunately, this new variable does not give anything. It doesn't matter if I set 5 or 10. There is no denying that version 2.1.1 was probably the best for the moment, and on it everything worked rather as expected. The combination with YT xml links also because I tested it on it before. Fact I didn't have so many subscription links then but.... :) But I don't think I'll be going back to it (I don't even know how).... I hope to pass the problem with YT links in more and will be released the next version already working as expected with this. @Qolors you already have all the messages from me as to what does not work as expected and a list of links for testing.... Good luck :) for checking... |
I don"t understand why it doesn't work I removed a lot of lines to simplify my config file logs
|
Re, I just tried with the nightly image and it is WORKING. The problem came with the "latest" version. :-( |
Thanks for sharing the Urls @sllllr - helped me squash a few issues. A couple things: Your feed url Your feed url
FeedCord did two things - it would not handle the timeout request, and it would attempt to access properties from a null item.. I fixed these with v3.0.3. Logging is improved to help us better understand future issues. Next time it critically crashes it will dump it's stack trace for us. if you and @JPnux could both:
or docker compose:
It should handle most issues and at the very least help us pinpoint better |
I did as you specified (upgrade). I think it works OK, now have to wait for something new from YT channels. I ran a test ONLY with these 157 subscription links without any other RSS. Where will the LOG file be created? |
maybe a misunderstanding - I was meaning it will dump the stack trace to your container's logs during a crash so it would have to be observed inside the container. So it will log more than just:
dumping the logs locally will eventually be implemented as I build out the Batch Logger
I would recommend using your full feed like you normally would. We can catch any issues with v3.0.3 |
I upgrade to new version and run for all rss feed and now is all OK :) no errors for all feed. |
Hello everyone, Thank you @Qolors ! No more issues with accents! It's working perfectly now. I haven't tried YouTube links yet. Thank you for the great work! 🙏 |
I test normal and not work OK. XML all OK. I use for generate XML link from channel plugin for Chrome. |
Thanks for providing the info guys - awesome to hear!
They both are supported, but standard YouTube links seem to vary per person.. I would use XML for more reliability Going to close the issue for now, but let me know if any other issues or features Thanks |
After upgrading to 3.0.2.... lately every upgrade something stops working that worked before. Config unchanged.
E: BackgroundService failed
C: The HostOptions.BackgroundServiceExceptionBehavior is configured to StopHost. A BackgroundService has thrown an unhandled exception, and the IHost instance is stopping. To avoid this behavior, configure this to Ignore; however the BackgroundService will not be restarted.
Now nothing goes on Discord anymore. First the Youtube feeds stopped working now the usual RSS links from outside the Youtube section.
My example config:
{"Instances":
[{"Id": "Newsy",
"RssUrls": [
"https://tvn24.pl/najnowsze.xml"
],
"YoutubeUrls": [ "" ],
"DiscordWebhookUrl": "https://discord.com/api/webhook...",
"RssCheckIntervalMinutes": 2,
"EnableAutoRemove": false,
"DescriptionLimit": 50,
"Color": 9323693,
"FallbackImage": "xxx",
"Forum": false,
"MarkdownFormat": true,
"PersistenceOnShutdown": true
}
],
}
The text was updated successfully, but these errors were encountered: