Problem retrieving nzb from newzbin using https

Questions and bug reports for Beta releases should be posted here.
Forum rules
Help us help you:
  • 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.
Post Reply
gigot
Newbie
Newbie
Posts: 2
Joined: April 8th, 2008, 12:57 pm

Problem retrieving nzb from newzbin using https

Post by gigot »

Hi there,

Well first of all thanks you all dear developers for all the time and effort you put in bringing us this very nice usenet grabber packed with so much powerful features.

I'm having a problem retrieving nzb from newzbin

Code: Select all

::1 - - [08/Apr/2008:19:39:41] "GET /sabnzbd/addID?id=XXXXX&pp=3&script=Default HTTP/1.1" 302 - "http://localhost:8080/sabnzbd/" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_2; en-us) AppleWebKit/525.13 (KHTML, like Gecko) Version/3.1 Safari/525.13"
::1 - - [08/Apr/2008:19:39:41] "GET /sabnzbd/ HTTP/1.1" 200 - "http://localhost:8080/sabnzbd/" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_2; en-us) AppleWebKit/525.13 (KHTML, like Gecko) Version/3.1 Safari/525.13"
2008-04-08 19:39:41,442::WARNING::[newzbin] Problem accessing Newzbin server, wait 5 min.
I figured out that replacing httplib.HTTPSConnection with httplib.HTTPConnection in newzbin.py solved the problem

Now I'm happy again but maybe this problem deserves to be reported, and I certainly rather have my nzb retrieved using https.

I'm using Mac Os 10.5.2, all dependencies were installed with macports except for cherrypy

par2 @0.4_2+darwin_9 (active)
py25-cheetah @2.0.1_0 (active)
py25-hashlib @2.5.2_0 (active)
py25-zlib @2.5.2_0 (active)
python25 @2.5.2_1+darwin_9 (active)
unrar @3.7.8_0 (active)

If you need more informations/test from me, I'd be happy to help.
Last edited by gigot on April 8th, 2008, 3:18 pm, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Problem retrieving nzb from newzbin using https

Post by shypike »

I'm not sure what's the matter, since I'm not the OSX supporter.
However, I do miss some modules in your list.

You need also yEnc and PyOpenSSL.

I hope our OSX people will have something so say about this.
gigot
Newbie
Newbie
Posts: 2
Joined: April 8th, 2008, 12:57 pm

Re: Problem retrieving nzb from newzbin using https

Post by gigot »

I forgot to mention that I also installed yenc manually.

PyOpenSSL is unfortunately not packaged with python 2.5 in macports.

However, I've juste installed the port py25-socket-ssl and now everything works fine :).

I've also noticed that there is now a py25-cherrypy package.

So to sum it up if you want to use sabnzbd+ with python 2.5 and macports you'll need :

py25-cheetah @2.0.1_0 (active)
py25-hashlib @2.5.2_0 (active)
py25-socket-ssl @2.5.2_0 (active)
py25-zlib @2.5.2_0 (active)
python25 @2.5.2_1+darwin_9 (active)
py25-cherrypy
yenc0.3 will have to be installed manually
PyOpenSSL will have to be installed manually (I guess it is optionnal if you don't use SSL to connect to your nntp server)

If you go with Python 2.4, every dependencies should be available as ports.

Many thanks for the hint shypike.
Last edited by gigot on April 8th, 2008, 1:52 pm, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Problem retrieving nzb from newzbin using https

Post by shypike »

We embed CherryPy2.2.1 now.
CherryPy comes in two incompatible flavours releases: 2.x.x and 3.x.x The trouble is, you can install only one with apt-get.
(Serious error by the CherryPy developers).
Post Reply