OS: Linux
Install-type: Python source / PhaZe plugin
Skin (if applicable): Plush Gold
Firewall Software: None
Are you using IPV6? No
Is the issue reproducible? Ohhhyeah! I'm reproducing the daylights out of it.
I can manually add an NZB file and it will download correctly, but if the item is pushed to Sabnzbd, say via Dog or PFMonkey, it simply stalls in the queue, with "WAIT xx sec. trying to fetch NZB from https://......
I've seen mention on here of similar situations caused by Python problems, but I'll be honest- I don't understand how to implement the workarounds they're referencing. IF that's my only solution, I need a 'For Dummies' explanation.
The plugin reports using Python 2.7.10
Help?
SOLUTION:
Go into UnRAID and stop the Sabnzbd plugin
Edit /usr/local/Sabnzbd/sabnzbd.py
I used MidnightCommander "MC" because that's all I had access to (that I knew how to use)
I'm no programmer. I'm simply leaving this here to potentially save someone the work of re-finding the workaround. (i.e. I won't be able to help with questions/problems)
I (can) tell you this- it does matter WHERE you insert the lines of code. I placed it between the two lines that read:
import re
try:
Add the following lines. (inbetween the two statements quoted above worked for me)
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
I can also tell you this- This change does not survive a reboot. If you restart your server, you'll have to re-do the change. I rarely restart my server, but just to make life less complicated, after making the edits, I used MC to SAVE a copy of the edited file to my cache drive- so I can simply copy the edited version back into memory IF I have to reboot. (Which goodness knows I will- since there's now a penalty for doing so)