My RSS feed works fine when viewed in browser but SAB times out retrieving it.
Can the timeout be increased? (180 seconds would probably be a safe value)
Would be even better if the RSS timeout could be set on the Special Config page.
Thanks
Can RSS Read Feed Time Out Be Increased?
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Re: Can RSS Read Feed Time Out Be Increased?
Good idea.
Re: Can RSS Read Feed Time Out Be Increased?
Thanks - I should have posted this in the Feature Requests. Is it easy to change something in the code to increase the timeout temporarily?
Re: Can RSS Read Feed Time Out Be Increased?
There will soon be 0.7.7 release that will possibly contain it.
One issue is that RSS access is done by a third-party library.
I haven't looked into it yet.
One issue is that RSS access is done by a third-party library.
I haven't looked into it yet.
Re: Can RSS Read Feed Time Out Be Increased?
Sorry to disappoint you.
Because we still support Python 2.5 (required for the Windows binary)
an alternative time-out value cannot be implemented.
At least not without rewriting significant parts to lower level functions, something we won't do.
Because we still support Python 2.5 (required for the Windows binary)
an alternative time-out value cannot be implemented.
At least not without rewriting significant parts to lower level functions, something we won't do.
Re: Can RSS Read Feed Time Out Be Increased?
Thanks for looking.
Re: Can RSS Read Feed Time Out Be Increased?
Is this something that may be supported in the future?
I am using Python 2.7 Linux is there a simple number I can change somewhere?
Thanks
I am using Python 2.7 Linux is there a simple number I can change somewhere?
Thanks
Re: Can RSS Read Feed Time Out Be Increased?
If you're using the source distribution of 0.7.7
Find sabnzbd/util/feedparser.py
Find line 3005
change it to
or whatever other number you like.
Find sabnzbd/util/feedparser.py
Find line 3005
Code: Select all
return opener.open(request)Code: Select all
return opener.open(request, timeout=120)
