Hi there,
My apologies as this may be user error - I've never fiddled with RSS feeds before.
I'm trying to set up some feeds to my news and mod chats in Discord. I'm testing using this feed: https://lorem-rss.herokuapp.com/feed
I've put the above feed into https://rssviewer.app/, which looks like it posts an update every minute,
AGG-Moderators Created with check interval 1 minutes
info: FeedCord.src.Services.RssCheckerBackgroundService[0]
AGG-News Starting Background Processing at 02/03/2024 08:43:31..
info: FeedCord.src.Services.RssCheckerBackgroundService[0]
AGG-News: Initializing Url Checks..
info: FeedCord.src.Services.RssCheckerBackgroundService[0]
AGG-Moderators Starting Background Processing at 02/03/2024 08:43:32..
info: FeedCord.src.Services.RssCheckerBackgroundService[0]
AGG-Moderators: Initializing Url Checks..
info: FeedCord.src.RssReader.FeedProcessor[0]
Successfully initialized URL: https://lorem-rss.herokuapp.com/feed
info: FeedCord.src.RssReader.FeedProcessor[0]
Successfully initialized URL: https://lorem-rss.herokuapp.com/feed
fail: Microsoft.Extensions.Hosting.Internal.Host[9]
BackgroundService failed
System.NullReferenceException: Object reference not set to an instance of an object.
at FeedCord.src.RssReader.FeedProcessor.GetSuccessCount(String[] urls, Boolean isYoutube) in /src/src/RssReader/FeedProcessor.cs:line 85
at FeedCord.src.RssReader.FeedProcessor.InitializeUrlsAsync() in /src/src/RssReader/FeedProcessor.cs:line 63
at FeedCord.src.Services.RssCheckerBackgroundService.RunRoutineBackgroundProcessAsync() in /src/src/Services/RssCheckerBackgroundService.cs:line 52
at FeedCord.src.Services.RssCheckerBackgroundService.ExecuteAsync(CancellationToken stoppingToken) in /src/src/Services/RssCheckerBackgroundService.cs:line 39
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
fail: Microsoft.Extensions.Hosting.Internal.Host[9]
BackgroundService failed
System.NullReferenceException: Object reference not set to an instance of an object.
at FeedCord.src.RssReader.FeedProcessor.GetSuccessCount(String[] urls, Boolean isYoutube) in /src/src/RssReader/FeedProcessor.cs:line 85
at FeedCord.src.RssReader.FeedProcessor.InitializeUrlsAsync() in /src/src/RssReader/FeedProcessor.cs:line 63
at FeedCord.src.Services.RssCheckerBackgroundService.RunRoutineBackgroundProcessAsync() in /src/src/Services/RssCheckerBackgroundService.cs:line 52
at FeedCord.src.Services.RssCheckerBackgroundService.ExecuteAsync(CancellationToken stoppingToken) in /src/src/Services/RssCheckerBackgroundService.cs:line 39
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
crit: Microsoft.Extensions.Hosting.Internal.Host[10]
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.
System.NullReferenceException: Object reference not set to an instance of an object.
at FeedCord.src.RssReader.FeedProcessor.GetSuccessCount(String[] urls, Boolean isYoutube) in /src/src/RssReader/FeedProcessor.cs:line 85
at FeedCord.src.RssReader.FeedProcessor.InitializeUrlsAsync() in /src/src/RssReader/FeedProcessor.cs:line 63
at FeedCord.src.Services.RssCheckerBackgroundService.RunRoutineBackgroundProcessAsync() in /src/src/Services/RssCheckerBackgroundService.cs:line 52
at FeedCord.src.Services.RssCheckerBackgroundService.ExecuteAsync(CancellationToken stoppingToken) in /src/src/Services/RssCheckerBackgroundService.cs:line 39
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
crit: Microsoft.Extensions.Hosting.Internal.Host[10]
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.
System.NullReferenceException: Object reference not set to an instance of an object.
at FeedCord.src.RssReader.FeedProcessor.GetSuccessCount(String[] urls, Boolean isYoutube) in /src/src/RssReader/FeedProcessor.cs:line 85
at FeedCord.src.RssReader.FeedProcessor.InitializeUrlsAsync() in /src/src/RssReader/FeedProcessor.cs:line 63
at FeedCord.src.Services.RssCheckerBackgroundService.RunRoutineBackgroundProcessAsync() in /src/src/Services/RssCheckerBackgroundService.cs:line 52
at FeedCord.src.Services.RssCheckerBackgroundService.ExecuteAsync(CancellationToken stoppingToken) in /src/src/Services/RssCheckerBackgroundService.cs:line 39
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
Number of configurations loaded: 2
Registering Background Service AGG-News
Registering Background Service AGG-Moderators
info: FeedCord.src.Factories.RssCheckerBackgroundServiceFactory[0]
Creating new RssCheckerBackgroundService instance for AGG-News
info: FeedCord.src.Services.RssCheckerBackgroundService[0]
AGG-News Created with check interval 1 minutes
info: FeedCord.src.Factories.RssCheckerBackgroundServiceFactory[0]
Creating new RssCheckerBackgroundService instance for AGG-Moderators
info: FeedCord.src.Services.RssCheckerBackgroundService[0]
AGG-Moderators Created with check interval 1 minutes
info: FeedCord.src.Services.RssCheckerBackgroundService[0]
AGG-News Starting Background Processing at 02/03/2024 08:43:35..
info: FeedCord.src.Services.RssCheckerBackgroundService[0]
AGG-News: Initializing Url Checks..
info: FeedCord.src.Services.RssCheckerBackgroundService[0]
AGG-Moderators Starting Background Processing at 02/03/2024 08:43:35..
info: FeedCord.src.Services.RssCheckerBackgroundService[0]
AGG-Moderators: Initializing Url Checks..
info: FeedCord.src.RssReader.FeedProcessor[0]
Successfully initialized URL: https://lorem-rss.herokuapp.com/feed
info: FeedCord.src.RssReader.FeedProcessor[0]
Successfully initialized URL: https://lorem-rss.herokuapp.com/feed
fail: Microsoft.Extensions.Hosting.Internal.Host[9]
BackgroundService failed
System.NullReferenceException: Object reference not set to an instance of an object.
at FeedCord.src.RssReader.FeedProcessor.GetSuccessCount(String[] urls, Boolean isYoutube) in /src/src/RssReader/FeedProcessor.cs:line 85
at FeedCord.src.RssReader.FeedProcessor.InitializeUrlsAsync() in /src/src/RssReader/FeedProcessor.cs:line 63
at FeedCord.src.Services.RssCheckerBackgroundService.RunRoutineBackgroundProcessAsync() in /src/src/Services/RssCheckerBackgroundService.cs:line 52
at FeedCord.src.Services.RssCheckerBackgroundService.ExecuteAsync(CancellationToken stoppingToken) in /src/src/Services/RssCheckerBackgroundService.cs:line 39
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
fail: Microsoft.Extensions.Hosting.Internal.Host[9]
BackgroundService failed
System.NullReferenceException: Object reference not set to an instance of an object.
at FeedCord.src.RssReader.FeedProcessor.GetSuccessCount(String[] urls, Boolean isYoutube) in /src/src/RssReader/FeedProcessor.cs:line 85
at FeedCord.src.RssReader.FeedProcessor.InitializeUrlsAsync() in /src/src/RssReader/FeedProcessor.cs:line 63
at FeedCord.src.Services.RssCheckerBackgroundService.RunRoutineBackgroundProcessAsync() in /src/src/Services/RssCheckerBackgroundService.cs:line 52
at FeedCord.src.Services.RssCheckerBackgroundService.ExecuteAsync(CancellationToken stoppingToken) in /src/src/Services/RssCheckerBackgroundService.cs:line 39
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
crit: Microsoft.Extensions.Hosting.Internal.Host[10]
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.
System.NullReferenceException: Object reference not set to an instance of an object.
at FeedCord.src.RssReader.FeedProcessor.GetSuccessCount(String[] urls, Boolean isYoutube) in /src/src/RssReader/FeedProcessor.cs:line 85
at FeedCord.src.RssReader.FeedProcessor.InitializeUrlsAsync() in /src/src/RssReader/FeedProcessor.cs:line 63
at FeedCord.src.Services.RssCheckerBackgroundService.RunRoutineBackgroundProcessAsync() in /src/src/Services/RssCheckerBackgroundService.cs:line 52
at FeedCord.src.Services.RssCheckerBackgroundService.ExecuteAsync(CancellationToken stoppingToken) in /src/src/Services/RssCheckerBackgroundService.cs:line 39
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
crit: Microsoft.Extensions.Hosting.Internal.Host[10]
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.
System.NullReferenceException: Object reference not set to an instance of an object.
at FeedCord.src.RssReader.FeedProcessor.GetSuccessCount(String[] urls, Boolean isYoutube) in /src/src/RssReader/FeedProcessor.cs:line 85
at FeedCord.src.RssReader.FeedProcessor.InitializeUrlsAsync() in /src/src/RssReader/FeedProcessor.cs:line 63
at FeedCord.src.Services.RssCheckerBackgroundService.RunRoutineBackgroundProcessAsync() in /src/src/Services/RssCheckerBackgroundService.cs:line 52
at FeedCord.src.Services.RssCheckerBackgroundService.ExecuteAsync(CancellationToken stoppingToken) in /src/src/Services/RssCheckerBackgroundService.cs:line 39
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
Hi there, My apologies as this may be user error - I've never fiddled with RSS feeds before.
I'm trying to set up some feeds to my news and mod chats in Discord. I'm testing using this feed: https://lorem-rss.herokuapp.com/feed I've put the above feed into https://rssviewer.app/, which looks like it posts an update every minute,
The feed does not update into Discord. News chat,
Mod chat,
Config file:
Compose file:
Config file exists on host:
Container logs:
Tried so far: