[SOLVED] EVERYTHING = "WAIT xx seconds"

Get help with all aspects of SABnzbd
Forum rules
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.
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: [SOLVED] EVERYTHING = "WAIT xx seconds"

Post by sander »

Good! No more error message.

Now we have to put the one line somewhere into SAB's code.

To 100% check everything, I created an untrusted (because: self-signed) RSS on my router. Result with SAB 0.7.20 running with Python 2.7.9.

Code: Select all

2015-07-28 18:53:59,987::INFO::[rss:509] Starting scheduled RSS read-out for "own router untrusted"
2015-07-28 18:53:59,988::DEBUG::[rss:332] Running feedparser on https://192.168.1.1/rss/
2015-07-28 18:54:00,020::DEBUG::[rss:334] Done parsing https://192.168.1.1/rss/
2015-07-28 18:54:00,022::INFO::[rss:353] Failed to retrieve RSS from https://192.168.1.1/rss/: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>
As expected. Good

Based on my own post https://forums.sabnzbd.org/viewtopic.ph ... 565#p98483, I added that code to SABnzbd.py (might sabnzbdplus.py on your system) at the very beginning, so at line 18.

Code: Select all

opt_out_of_certificate_verification = True
if opt_out_of_certificate_verification:
    try:
        import ssl
        ssl._create_default_https_context = ssl._create_unverified_context
    except:
        pass
Result:

Code: Select all

2015-07-28 18:59:05,139::INFO::[rss:509] Starting scheduled RSS read-out for "own router untrusted"
2015-07-28 18:59:05,140::DEBUG::[rss:332] Running feedparser on https://192.168.1.1/rss/
2015-07-28 18:59:05,681::DEBUG::[rss:334] Done parsing https://192.168.1.1/rss/
2015-07-28 18:59:05,681::DEBUG::[rss:409] Trying title NZB title here
2015-07-28 18:59:05,682::DEBUG::[rss:436] Filter matched on rule 0
2015-07-28 18:59:05,683::INFO::[rss:614] Adding https://website.com/fetch/abc1234 (NZB title here) to queue
2015-07-28 18:59:05,684::INFO::[__init__:513] Fetching https://website.com/fetch/abc1234
2015-07-28 18:59:05,687::INFO::[nzbqueue:218] Saving queue
2015-07-28 18:59:05,688::DEBUG::[__init__:844] Saving data for SABnzbd_nzo_iWi_lJ in /home/sander/.sabnzbd/admin/future
2015-07-28 18:59:05,689::INFO::[__init__:919] Saving data for queue9.sab in /home/sander/.sabnzbd/admin/queue9.sab
2015-07-28 18:59:06,191::INFO::[growler:298] Send to NotifyOSD: NZB added to queue / Trying to fetch NZB from https://website.com/fetch/abc1234
2015-07-28 18:59:06,197::INFO::[urlgrabber:116] Grabbing URL https://website.com/fetch/abc1234
2015-07-28 18:59:07,619::INFO::[misc:811] Creating directories: /media/sander/SanderJ/Downloads/incomplete/NZB title here
2015-07-28 18:59:07,623::WARNING::[nzbstuff:744] Empty NZB file abc1234.nzb [https://website.com/fetch/abc1234]

No more error. QED.

So ... patch your SAB like I did
velkkor
Newbie
Newbie
Posts: 7
Joined: July 27th, 2015, 5:35 pm

Re: [SOLVED] EVERYTHING = "WAIT xx seconds"

Post by velkkor »

That did the trick. Restarted SABnzbd and the queued fetch started downloading just fine.

Thank you so much for your patience and assistance.
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: [SOLVED] EVERYTHING = "WAIT xx seconds"

Post by sander »

velkkor wrote:That did the trick. Restarted SABnzbd and the queued fetch started downloading just fine.

Thank you so much for your patience and assistance.
Good to hear. You're welcome.
jaysen
Newbie
Newbie
Posts: 2
Joined: September 19th, 2016, 10:00 pm

Re: [SOLVED] EVERYTHING = "WAIT xx seconds"

Post by jaysen »

I apologize for the noob reply, but I am having trouble as to where exactly I add the line of code?

I have a Synology diskstation that i use with the Sab. I am somewhat familiar with PuTTY, but not specifically in regards to editing scripts/ini. Can someone please provide me with a little more detail as to what needs to be done. Thanks.
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: [SOLVED] EVERYTHING = "WAIT xx seconds"

Post by sander »

Which version of SABnzbd?
Which RSS or NZB URL?

Reason why I ask: this was a problem in an old version of SABnzbd (0.7.x?), and we're now at 1.1.0 ...
jaysen
Newbie
Newbie
Posts: 2
Joined: September 19th, 2016, 10:00 pm

Re: [SOLVED] EVERYTHING = "WAIT xx seconds"

Post by jaysen »

SAB version is 0.7.20

Installed as a packagae from SynoCommunity via Diskstation

Python is 2.7.9-13

On a side note, SAB is indicating an "update" but there is no package update, and once again, im too noob to manually update. If i'm pointed in the right direction, im willing to learn. :)

NZB URL is coming from DOGnzb. From what it sounds like, if I were to somehow get SAB updated on my diskstation, I might be able to avoid having to manually modify code.

EDIT:

I may have fixed it *crossing fingers*... waiting on restart. Apparently I was having a whole host of issues, especially with my package station. My time/date was off causing some connection issues. I am currently updating to the newest SAB, so we shall see!
Post Reply