rssguard icon indicating copy to clipboard operation
rssguard copied to clipboard

[BUG]: Feeds displayed in red after hibernation due to "host not found"

Open larsen0815 opened this issue 11 months ago • 2 comments

Brief description of the issue

After resuming from hibernation, many of my feeds are shown in red. I guess that RSS Guard tries connecting too early while the WLAN is not fully connected, yet. This leads to the feed updating on the next auto-fetch only, which in my case is set to every 12 hours. After updating manually, all my feeds are ok, so this is not some other problem.

Does not happen on every hibernation, only when it's time to auto-fetch.

Things that could be improved:

  1. Set a delay of some seconds to wait when resuming from Standby/Hibernation (configurable)
  2. Add a configuration option "Retry interval in case of errors". This time could get longer with each failed connection attempt just like mail servers do.

How to reproduce the bug?

(Probably also works with smaller values)

  1. Set auto-fetch for a feed to 12 hours.
  2. Do a manual fetch
  3. Sent Windows into hibernation
  4. Sent yourself into hibernation, go to bed early, and get some well-deserved sleep
  5. Wake up and get a coffee
  6. Wake up Windows after 12 hours have passed
  7. Have a WLAN that is not as fast connected to your laptop as RSS Guard is in starting up

What was the expected result?

I hope there is a way for Windows to inform programs that they got resumed from hibernation. Then RSS Guard should wait some seconds for the network to come up.

Additionally, when a network error occurs, RSS Guard should not use the normal interval for auto-fetching, but instead use the "something went wrong, let's try things again in some seconds"-interval, and try this e.g. 5 times, or increase the value from try to try.

What actually happened?

Most feeds are shown in red and display an error message:

Auto-update status: uses global settings (717 minutes to next auto-fetch of articles)
Active message filters: 0
Status: network error (host not found)
Source: http://feeds.feedburner.com/adminForge
Item ID: 22
Encoding: UTF-8
Type: RSS 2.0/2.0.1
Post-processing script: -
Use raw XML saving: yes

Debug log

n/a

Operating system and version

  • OS: Windows 11
  • RSS Guard version: 4.8.1

larsen0815 avatar Jan 22 '25 16:01 larsen0815

Yes, this is a long-standing problem which in fact is even more serious than you likely think. I will try to address it in the future.

martinrotter avatar Jan 29 '25 11:01 martinrotter

After installing 4.8.4 on Linux , I am receiving an error message from rssguard in resume from suspend. This seems to be unnecessary since we know that there was an error, the feeds show in red. Notifications are turned off in my settings and there does not seem to be any setting to turn off the message.

Linux acer 6.14.6-artix1-1 #1 SMP PREEMPT_DYNAMIC Sun, 11 May 2025 14:31:23 +0000 x86_64 GNU/Linux

AndyM48 avatar May 24 '25 06:05 AndyM48