Could anyone suggest why I can't add HTTPS URLs in Sab? If I use the GUI and add URL https://...... the addition fails (even though the site is there running under HTTPS). However, if I drop the "s" and just plan http://..... then the URL gets fetched and added correctly. The same problem exists with the API.
I wonder if there is an underlying python module needed to fetch a HTTPS URL?
Addurl API HTTPS problem
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: Addurl API HTTPS problem
Which OS are you using?
If you installed it DIY, then you need to install PyOpenSSL.
If you installed it DIY, then you need to install PyOpenSSL.
-
- Newbie
- Posts: 14
- Joined: September 17th, 2010, 9:49 am
Re: Addurl API HTTPS problem
Yes, its an embedded device running on a satellite receiver - I guess I will need OpenSSL so, thank.shypike wrote:Which OS are you using?
If you installed it DIY, then you need to install PyOpenSSL.
-
- Newbie
- Posts: 14
- Joined: September 17th, 2010, 9:49 am
Re: Addurl API HTTPS problem
Actually, just checked and python-openssl is already installed!?
-
- Newbie
- Posts: 14
- Joined: September 17th, 2010, 9:49 am
Re: Addurl API HTTPS problem
Also, I think the URL site I am using is using a self signed certificate, maybe Sab cannot verify it. Is there any switch I can use to ignore unknown SSL certificates?
Re: Addurl API HTTPS problem
SABnzbd generates it own self-signed certificate. Real ones cost money.
Firefox allows you to store an exception for a self-signed certificate permanently.
Less versatile ones like Chrome, IE and Safari insist on pestering you about it.
Firefox allows you to store an exception for a self-signed certificate permanently.
Less versatile ones like Chrome, IE and Safari insist on pestering you about it.
-
- Newbie
- Posts: 14
- Joined: September 17th, 2010, 9:49 am
Re: Addurl API HTTPS problem
I mean the remote URL, not the Sab URL. The indexing site is generating its own SSL cert. I don't know Python but with some other languages, for certain SSL libraries, you can override (ignore) a remote site's self signed certificate, if it can't verify it. I was just wondering if Sab could do the same or if something else entirley is the problem. Mind you, pasting the exact URL into a browser does fetch the nzb correctly.shypike wrote:SABnzbd generates it own self-signed certificate. Real ones cost money.
Firefox allows you to store an exception for a self-signed certificate permanently.
Less versatile ones like Chrome, IE and Safari insist on pestering you about it.
Re: Addurl API HTTPS problem
Python's http library does not check certificates.
-
- Newbie
- Posts: 14
- Joined: September 17th, 2010, 9:49 am
Re: Addurl API HTTPS problem
Strange -- this is what the SabNZBd log shows after I pass it the URL:
2013-02-17 10:23:54,822::DEBUG::[urlgrabber:351] No response from indexer, retry after 60 sec
If I pass the same URL into a browser (any browser) it gets the nzb fine - any suggestions?
2013-02-17 10:23:54,822::DEBUG::[urlgrabber:351] No response from indexer, retry after 60 sec
If I pass the same URL into a browser (any browser) it gets the nzb fine - any suggestions?