qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
27.19k stars 3.9k forks source link

[Windows v4.5.5] Failed to download RSS feed at '...'. Reason: The operation was canceled #19562

Open microka opened 1 year ago

microka commented 1 year ago

qBittorrent & operating system versions

qBittorrent: 4.5.5 x64 Operating system: Windows 11 Pro 22H2(22621.2134) x64 (10.0.22621) Qt: 6.4.3 libtorrent-rasterbar: 1.2.19.0

What is the problem?

Sometimes, some of the RSS feeds fail to fetching new entries, which the site icon left to the feed name became an infinity symbol(∞), try to update it manually but nothing change, immediately output a log: Failed to download RSS feed at 'RSS-FEEDS-URL'. Reason: The operation was canceled [These affected RSS feeds were all updated properly at first] Meanwhile I access the feed url using chrome's Incognito Window, can get the full XML file successfully. Both My qBittorrent and Chrome broswer access the feeds url directly (no proxy). I didn't find a procedure to reproduce the problem at the moment, but the problem is recurring. Though I can't provide the feeds url since it's from the PT sites, I'm pretty sure this isn't a problem with the RSS feeds' server. The only solution I can find at the moment is quit qBittorrent and re-launch it. I suspect that when doing a high load download task, if qBit is automatically updating the RSS at that time, it is prone to the problem described above, and once the problem occurs, the affected RSS can only be reloaded properly by restarting qBit.

Steps to reproduce

No response

Additional context

No response

Log(s) & preferences file(s)

No response

glassez commented 1 year ago

Sometimes, some of the RSS feeds fail to fetching new entries, which the site icon left to the feed name became an infinity symbol(∞),

Often one screenshot describes it much better than a hundred lines of text.

try to update it manually but nothing change, immediately output a log: Failed to download RSS feed at 'RSS-FEEDS-URL'. Reason: The operation was canceled

This one message is not enough to try to diagnose the problem. It is required to see all RSS related messages starting from the launch of qBittorrent (or at least from the start of the last successful update of RSS feeds).

luzpaz commented 1 year ago

Related to #18766 ? (similiar 'The operation was canceled' string + RSS related)

molitar commented 1 year ago

Same problem I just downgraded back to previous version for now and have a working RSS feed. RSS feed would not update at all it was unable to read the RSS Feed no matter how many times I told it to refresh.

glassez commented 1 year ago

Same problem I just downgraded back to previous version for now and have a working RSS feed.

Previous version is 4.5.4, right? Could you provide a log (at least RSS related messages)?

molitar commented 1 year ago

Same problem I just downgraded back to previous version for now and have a working RSS feed.

Previous version is 4.5.4, right? Could you provide a log (at least RSS related messages)?

sure I went back and tracked log before update when it was working and the next log where it was not working.

qbittorrent.log.bak44.log

No error message just not reading any new articles from RSS Feeds. There is a single download that I manually started showing in this download but RSS completely 0 new articles for them all.

BTW I would advise log always shows version because almost none of the logs showed version so I had a hard time finding log where I had updated and found it did not work for me.

glassez commented 1 year ago

@molitar I can't find any problems according to provided log messages. It looks like everything is going as usual, RSS feeds are successfully downloaded, parsed, and add new articles when they are detected.

And most importantly, you're certainly off topic in current Issue that is about Failed to download RSS feed at '...'. Reason: The operation was canceled

glassez commented 1 year ago

BTW I would advise log always shows version because almost none of the logs showed version so I had a hard time finding log where I had updated and found it did not work for me.

The message like qBittorrent v4.5.5 started is always added to the log.

microka commented 1 year ago

2023/9/7 21:51 - Failed to download RSS feed at 'https://......'. Reason: The operation was canceled 2023/9/7 21:48 - Failed to download RSS feed at 'https://......'. Reason: The remote server closed the connection prematurely, before the entire reply was received and processed 2023/9/7 21:47 - Failed to download RSS feed at 'https://......'. Reason: Unknown error 2023/9/7 21:47 - Failed to download RSS feed at 'https://......'. Reason: The operation was canceled 2023/9/7 21:47 - Failed to download RSS feed at 'https://......'. Reason: The operation was canceled 2023/9/7 21:47 - Failed to download RSS feed at 'https://......'. Reason: The operation was canceled 2023/9/7 21:37 - Failed to download RSS feed at 'https://......'. Reason: The remote server closed the connection prematurely, before the entire reply was received and processed 2023/9/7 21:37 - Failed to download RSS feed at 'https://......'. Reason: The operation was canceled 2023/9/7 21:27 - Failed to download RSS feed at 'https://......'. Reason: The remote server closed the connection prematurely, before the entire reply was received and processed 2023/9/7 21:27 - Failed to download RSS feed at 'https://......'. Reason: The operation was canceled 2023/9/7 21:27 - Failed to download RSS feed at 'https://......'. Reason: The operation was canceled 2023/9/7 21:18 - Failed to download RSS feed at 'https://......'. Reason: The remote server closed the connection prematurely, before the entire reply was received and processed 2023/9/7 21:07 - Failed to download RSS feed at 'https://......'. Reason: Unknown error 2023/9/7 21:07 - Failed to download RSS feed at 'https://......'. Reason: The remote server closed the connection prematurely, before the entire reply was received and processed 2023/9/7 21:07 - Failed to download RSS feed at 'https://......'. Reason: The operation was canceled 2023/9/7 21:07 - Failed to download RSS feed at 'https://......'. Reason: The operation was canceled 2023/9/7 20:18 - Failed to download RSS feed at 'https://......'. Reason: Unknown error 2023/9/7 20:07 - Detected external IP. IP: "....." 2023/9/7 20:07 - Detected external IP. IP: "....." 2023/9/7 20:07 - Detected external IP. IP: ".....*" 2023/9/7 20:07 - IP geolocation database loaded. Type: DBIP-Country-Lite. Build time: Fri Sep 1 08:13:34 2023. 2023/9/7 20:07 - UPnP/NAT-PMP port mapping succeeded. Message: "successfully mapped port using UPnP. external port: UDP/....." 2023/9/7 20:07 - UPnP/NAT-PMP port mapping succeeded. Message: "successfully mapped port using UPnP. external port: TCP/....." 2023/9/7 20:07 - Successfully listening on IP. IP: "......". Port: "UDP/....." 2023/9/7 20:07 - Successfully listening on IP. IP: "......". Port: "TCP/....." 2023/9/7 20:07 - Successfully listening on IP. IP: "......". Port: "UDP/....." 2023/9/7 20:07 - Successfully listening on IP. IP: "......". Port: "TCP/....." 2023/9/7 20:07 - Successfully listening on IP. IP: "......". Port: "UDP/....." 2023/9/7 20:07 - Successfully listening on IP. IP: "......". Port: "TCP/....." 2023/9/7 20:07 - Successfully listening on IP. IP: "......". Port: "UDP/....." 2023/9/7 20:07 - Successfully listening on IP. IP: "......". Port: "TCP/....." 2023/9/7 20:07 - UPnP/NAT-PMP support: ON 2023/9/7 20:07 - Encryption support: ON 2023/9/7 20:07 - Anonymous mode: OFF 2023/9/7 20:07 - Peer Exchange (PeX) support: OFF 2023/9/7 20:07 - Local Peer Discovery support: OFF 2023/9/7 20:07 - Distributed Hash Table (DHT) support: OFF 2023/9/7 20:07 - HTTP User-Agent: "qBittorrent/4.5.5" 2023/9/7 20:07 - Peer ID: "-qB4550-" 2023/9/7 20:07 - Trying to listen on the following list of IP addresses: "......" 2023/9/7 20:07 - Running in portable mode. Auto detected profile folder at: C:...\profile 2023/9/7 20:07 - qBittorrent v4.5.5 started

I removed the extraneous records. Wanted to bring up again that RSS update failures are more likely to occur when doing high load downloads, and if there are no download tasks, running for 10+ hours won't fail RSS updates. By the way, I set the RSS update interval to 10 minutes. Btw, the same thing happened in the previous version v4.5.4.

glassez commented 1 year ago

Wanted to bring up again that RSS update failures are more likely to occur when doing high load downloads

This is not surprising.

I removed the extraneous records.

Looks like you overdid it. I understand that you may have wanted to keep the feed URLs secret, but you could at least give them some names so that it would be clear which messages relate to which feed.

microka commented 1 year ago

qbittorrent1.log I re-uploaded the logs. In this log qBit has not been restart, you can see that some RSS feeds failed to download between 2023/9/7 21:07 and 21:51(at least), but all of them download successfully after 2023/9/8 3:17, which coincidentally is a time when qBit has only very little download traffic. 2023-09-08_043745

molitar commented 1 year ago

@molitar I can't find any problems according to provided log messages. It looks like everything is going as usual, RSS feeds are successfully downloaded, parsed, and add new articles when they are detected.

And most importantly, you're certainly off topic in current Issue that is about Failed to download RSS feed at '...'. Reason: The operation was canceled

The thing was there was some new articles they were not retrieving the articles. I manually checked and there were several. I downgraded back to 4.5.4 which I am using now and RSS feeds are retrieving and downloading fine with it.

glassez commented 1 year ago

I downgraded back to 4.5.4 which I am using now and RSS feeds are retrieving and downloading fine with it.

AFAIK, nothing has been changed in v4.5.5 that could affect this.

I manually checked and there were several.

How do you detect it?

FYI, there are some RSS feeds that have issues with article identifies so qBittorrent may have troubles with detecting new articles in them.

NullpointerW commented 1 year ago

always feed rss fail :Reason: The remote server closed the connection prematurely, before the entire reply was received and processedme either, what is the problem?

SDGLBL commented 10 months ago

Same problem

meotimdihia commented 9 months ago

We have the same problem on MacOS. I am not sure about but it could be because I always set to sleep on my Mac.

image

moracha commented 5 months ago

Same issue with v4.6.4 lt20 qt6 x64 Win11 client. My RSS feed is set to auto update every 5 minutes but it suddenly stopped updating. Logs show the reason was: "The operation was canceled". I tried to manually update three times, but got the exact same error, which can be seen near the end of the logs. Went to the RSS feed URL in my browser and the file downloaded just fine so it's not the RSS feed itself. And restarting the client fixes the problem with the feed downloading fine. Logs below are sanitized of identifiable info and specific torrent info.

4/11/2024 12:11 PM - RSS feed at 'https://rss.torrentleech.org/MY_RSS_KEY' is successfully downloaded. Starting to parse it. 4/11/2024 12:11 PM - RSS feed at 'https://rss.torrentleech.org/MY_RSS_KEY' updated. Added 100 new articles. ... [client restarted] ... 4/11/2024 11:57 AM - Failed to download RSS feed at 'MY_RSS_LINK'. Reason: The operation was canceled 4/11/2024 11:57 AM - Failed to download RSS feed at 'MY_RSS_LINK'. Reason: The operation was canceled 4/11/2024 11:56 AM - Failed to download RSS feed at 'MY_RSS_LINK'. Reason: The operation was canceled 4/11/2024 11:43 AM - Failed to download RSS feed at 'MY_RSS_LINK'. Reason: The operation was canceled 4/11/2024 11:37 AM - Failed to download RSS feed at 'MY_RSS_LINK'. Reason: The operation was canceled 4/11/2024 11:31 AM - Failed to download RSS feed at 'MY_RSS_LINK'. Reason: The operation was canceled 4/11/2024 11:28 AM - UPnP/NAT-PMP port mapping succeeded. Message: "successfully mapped port using NAT-PMP. local: 192.168.x.x external port: UDP/1111" 4/11/2024 11:28 AM - UPnP/NAT-PMP port mapping succeeded. Message: "successfully mapped port using NAT-PMP. local: 192.168.x.x external port: TCP/1111" 4/11/2024 11:25 AM - Failed to download RSS feed at 'MY_RSS_LINK'. Reason: The operation was canceled 4/11/2024 11:19 AM - Failed to download RSS feed at 'MY_RSS_LINK'. Reason: The operation was canceled ... [removed redundant fail errors for 15 hour period, fails continue] ... 4/10/2024 8:01 PM - Failed to download RSS feed at 'MY_RSS_LINK'. Reason: The operation was canceled 4/10/2024 7:55 PM - Failed to download RSS feed at 'MY_RSS_LINK'. Reason: The operation was canceled 4/10/2024 7:49 PM - Failed to download RSS feed at 'MY_RSS_LINK'. Reason: The operation was canceled 4/10/2024 7:43 PM - Failed to download RSS feed at 'MY_RSS_LINK'. Reason: The operation was canceled 4/10/2024 7:37 PM - Failed to download RSS feed at 'MY_RSS_LINK'. Reason: The operation was canceled 4/10/2024 7:31 PM - Failed to download RSS feed at 'MY_RSS_LINK'. Reason: The operation was canceled 4/10/2024 7:25 PM - Failed to download RSS feed at 'MY_RSS_LINK'. Reason: The operation was canceled 4/10/2024 7:19 PM - Failed to download RSS feed at 'MY_RSS_LINK'. Reason: The operation was canceled 4/10/2024 7:17 PM - UPnP/NAT-PMP port mapping succeeded. Message: "successfully mapped port using NAT-PMP. local: 192.168.x.x external port: UDP/1111" 4/10/2024 7:17 PM - UPnP/NAT-PMP port mapping succeeded. Message: "successfully mapped port using NAT-PMP. local: 192.168.x.x external port: TCP/1111" 4/10/2024 7:13 PM - Failed to download RSS feed at 'MY_RSS_LINK'. Reason: The operation was canceled 4/10/2024 7:07 PM - Failed to download RSS feed at 'MY_RSS_LINK'. Reason: The operation was canceled 4/10/2024 7:01 PM - Failed to download RSS feed at 'MY_RSS_LINK'. Reason: The operation was canceled 4/10/2024 6:55 PM - Failed to download RSS feed at 'MY_RSS_LINK'. Reason: The operation was canceled 4/10/2024 6:49 PM - Failed to download RSS feed at 'MY_RSS_LINK'. Reason: The operation was canceled 4/10/2024 6:43 PM - Failed to download RSS feed at 'MY_RSS_LINK'. Reason: The operation was canceled 4/10/2024 6:37 PM - Failed to download RSS feed at 'MY_RSS_LINK'. Reason: The operation was canceled 4/10/2024 6:32 PM - UPnP/NAT-PMP port mapping succeeded. Message: "successfully mapped port using NAT-PMP. local: 192.168.x.x external port: UDP/1111" 4/10/2024 6:32 PM - UPnP/NAT-PMP port mapping succeeded. Message: "successfully mapped port using NAT-PMP. local: 192.168.x.x external port: TCP/1111" 4/10/2024 6:31 PM - Failed to download RSS feed at 'MY_RSS_LINK'. Reason: The operation was canceled 4/10/2024 6:25 PM - Failed to download RSS feed at 'MY_RSS_LINK'. Reason: The operation was canceled 4/10/2024 6:19 PM - Failed to download RSS feed at 'MY_RSS_LINK'. Reason: The operation was canceled 4/10/2024 6:13 PM - Failed to download RSS feed at 'MY_RSS_LINK'. Reason: The operation was canceled 4/10/2024 6:07 PM - Failed to download RSS feed at 'MY_RSS_LINK'. Reason: The operation was canceled 4/10/2024 6:01 PM - Failed to download RSS feed at 'MY_RSS_LINK'. Reason: The operation was canceled 4/10/2024 5:55 PM - Failed to download RSS feed at 'MY_RSS_LINK'. Reason: The operation was canceled 4/10/2024 5:47 PM - UPnP/NAT-PMP port mapping succeeded. Message: "successfully mapped port using UPnP. local: 192.168.x.x external port: UDP/1111" 4/10/2024 5:47 PM - UPnP/NAT-PMP port mapping succeeded. Message: "successfully mapped port using UPnP. local: 192.168.x.x external port: TCP/1111" 4/10/2024 5:47 PM - UPnP/NAT-PMP port mapping succeeded. Message: "successfully mapped port using NAT-PMP. local: 192.168.x.x external port: UDP/1111" 4/10/2024 5:47 PM - UPnP/NAT-PMP port mapping succeeded. Message: "successfully mapped port using NAT-PMP. local: 192.168.x.x external port: TCP/1111" 4/10/2024 5:47 PM - Detected external IP. IP: "xxx.xxx.xxx.xxx" 4/10/2024 5:47 PM - Successfully listening on IP. IP: "xx00::xx00:000x:xxx0:x0xx%00". Port: "UTP/1111" 4/10/2024 5:47 PM - Successfully listening on IP. IP: "xx00::xx00:000x:xxx0:x0xx%00". Port: "TCP/1111" 4/10/2024 5:47 PM - Successfully listening on IP. IP: "192.168.x.x". Port: "UTP/1111" 4/10/2024 5:47 PM - Successfully listening on IP. IP: "192.168.x.x". Port: "TCP/1111" 4/10/2024 5:47 PM - UPnP/NAT-PMP port mapping failed. Message: "could not map port using UPnP[0.0.0.0]: -1 (unknown HTTP error)" 4/10/2024 5:47 PM - UPnP/NAT-PMP port mapping failed. Message: "could not map port using UPnP[0.0.0.0]: -1 (unknown HTTP error)" 4/10/2024 5:43 PM - RSS feed at 'MY_RSS_LINK' updated. Added 1 new articles. 4/10/2024 5:43 PM - RSS feed at 'MY_RSS_LINK' is successfully downloaded. Starting to parse it. 4/10/2024 5:37 PM - RSS feed at 'MY_RSS_LINK' updated. Added 2 new articles. 4/10/2024 5:37 PM - RSS feed at 'MY_RSS_LINK' is successfully downloaded. Starting to parse it. 4/10/2024 5:31 PM - RSS feed at 'MY_RSS_LINK' updated. Added 0 new articles. 4/10/2024 5:31 PM - RSS feed at 'MY_RSS_LINK' is successfully downloaded. Starting to parse it. 4/10/2024 5:25 PM - RSS feed at 'MY_RSS_LINK' updated. Added 3 new articles. 4/10/2024 5:25 PM - RSS feed at 'MY_RSS_LINK' is successfully downloaded. Starting to parse it. 4/10/2024 5:19 PM - RSS feed at 'MY_RSS_LINK' updated. Added 0 new articles. 4/10/2024 5:19 PM - RSS feed at 'MY_RSS_LINK' is successfully downloaded. Starting to parse it. 4/10/2024 5:13 PM - RSS feed at 'MY_RSS_LINK' updated. Added 1 new articles. 4/10/2024 5:13 PM - RSS feed at 'MY_RSS_LINK' is successfully downloaded. Starting to parse it. 4/10/2024 5:07 PM - RSS feed at 'MY_RSS_LINK' updated. Added 6 new articles. 4/10/2024 5:07 PM - RSS feed at 'MY_RSS_LINK' is successfully downloaded. Starting to parse it. 4/10/2024 5:07 PM - UPnP/NAT-PMP port mapping succeeded. Message: "successfully mapped port using NAT-PMP. local: 192.168.x.x external port: UDP/1111" 4/10/2024 5:07 PM - UPnP/NAT-PMP port mapping succeeded. Message: "successfully mapped port using NAT-PMP. local: 192.168.x.x external port: TCP/1111" 4/10/2024 5:01 PM - RSS feed at 'MY_RSS_LINK' updated. Added 2 new articles. 4/10/2024 5:01 PM - RSS feed at 'MY_RSS_LINK' is successfully downloaded. Starting to parse it. 4/10/2024 4:55 PM - RSS feed at 'MY_RSS_LINK' updated. Added 3 new articles. 4/10/2024 4:55 PM - RSS feed at 'MY_RSS_LINK' is successfully downloaded. Starting to parse it. 4/10/2024 4:49 PM - RSS feed at 'MY_RSS_LINK' updated. Added 0 new articles. 4/10/2024 4:49 PM - RSS feed at 'MY_RSS_LINK' is successfully downloaded. Starting to parse it. 4/10/2024 4:43 PM - RSS feed at 'MY_RSS_LINK' updated. Added 1 new articles. 4/10/2024 4:43 PM - RSS feed at 'MY_RSS_LINK' is successfully downloaded. Starting to parse it. 4/10/2024 4:38 PM - Torrent download finished. Torrent: "720p.HDTV.x264-SYNCOPY" 4/10/2024 4:38 PM - Moved torrent successfully. Torrent: "720p.HDTV.x264-SYNCOPY". Destination: "F:\Torrents\TV\TV" 4/10/2024 4:38 PM - Start moving torrent. Torrent: "720p.HDTV.x264-SYNCOPY". Destination: "F:\Torrents\TV\TV" 4/10/2024 4:38 PM - Enqueued torrent move. Torrent: "720p.HDTV.x264-SYNCOPY". Source: "F:\Torrents\temp". Destination: "F:\Torrents\TV\TV" 4/10/2024 4:37 PM - Added new torrent. Torrent: "720p.HDTV.x264-SYNCOPY" 4/10/2024 4:37 PM - Downloading torrent, please wait... Source: "https://www.torrentleech.org/rss/download/123/MY_RSS_KEY/720p.HDTV.x264-SYNCOPY.torrent" 4/10/2024 4:37 PM - RSS article '720p HDTV x264-SYNCOPY' is accepted by rule '123'. Trying to add torrent... 4/10/2024 4:37 PM - RSS feed at 'MY_RSS_LINK' updated. Added 2 new articles. 4/10/2024 4:37 PM - RSS feed at 'MY_RSS_LINK' is successfully downloaded. Starting to parse it.

moracha commented 5 months ago

FWIW, I changed my binding IP address from "All addresses" to "All IPv4 addresses" and the problem hasn't occurred again.

Edit: Just kidding. It's still happening again. Going to try selecting 127.0.0.1 specifically and see what happens.