Skip to content
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

Failure to download a torrent prevents other RSS to be processed #181

Closed
jonathannaguin opened this issue May 3, 2021 · 4 comments
Closed
Labels

Comments

@jonathannaguin
Copy link

Hello,

It seems the app stops processing torrents/RSS feed when it encounters a broken link:

Could not download https://itorrents.org/torrent/d38c5c18b7ee5050b0155c51600caed2119fba3c.torrent: Error Domain=com.giorgiocalderolla.Catch.CatchFeedHelper Code=-1 "Could not download torrent file" UserInfo={NSUnderlyingError=0x7f913841ce10 {Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo={_kCFStreamErrorCodeKey=-9816, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, NSUnderlyingError=0x7f9138624200 {Error Domain=kCFErrorDomainCFNetwork Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo={NSErrorFailingURLStringKey=https://www.limetorrents.info/home/, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFNetworkCFStreamSSLErrorOriginalValue=-9816, _kCFStreamPropertySSLClientCertificateState=0, NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., _kCFStreamError<…>

After this, the process logs the following:

default 12:49:34.387361+0200 Catch Feed Helper error (checking feed): Error Domain=com.giorgiocalderolla.Catch.CatchFeedHelper Code=-1 "Could not download torrent file" UserInfo={NSLocalizedDescription=Could not download torrent file, NSUnderlyingError=0x6000029051d0 {Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo={NSErrorFailingURLStringKey=https://itorrents.org/torrent/d38c5c18b7ee5050b0155c51600caed2119fba3c.torrent, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, NSErrorFailingURLKey=https://itorrents.org/torrent/d38c5c18b7ee5050b0155c51600caed2119fba3c.torrent, _kCFStreamErrorCodeKey=-9816, NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made.}}}

And marks the update as failed, no other feeds get downloaded or processed.

@mipstian
Copy link
Owner

mipstian commented May 8, 2021

Yeah, this is by design, the check either fails or succeeds. I guess this could be improved by having a per-episode success or failure status, so failed downloads could be added to "recent episodes" anyway but marked as broken. Sounds like a lot of work for a very rare issue that basically amounts to a broken feed 🤷‍♀️

@mipstian mipstian added the bug label May 11, 2021
@jonathannaguin
Copy link
Author

Yeah, however it's not that easy to spot the breaking episode/feed at the moment. Would be easier to just carry on in case of a download failure?

@mipstian
Copy link
Owner

True, that could be surfaced better (you can see it Console, but parsing that output is hard rn, planning to make that easy with #182). However if an episode failed and everything continued, you'll never know something wrong happened.

@mipstian
Copy link
Owner

Closing in favor of #185.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants