Cannot upload nzb via webinterface

Report & discuss bugs found in 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.
Post Reply
zg0re
Newbie
Newbie
Posts: 4
Joined: October 6th, 2010, 4:51 pm

Cannot upload nzb via webinterface

Post by zg0re »

Hi! I can't upload nzbs via the webinterface of my sabnzbd 0.5.4 installed with the gentoo ebuild.

It happens from every PC i have and using any browser...

The sabnzbd.log gives the following error, when i try to upload an nzb file:

2010-10-06 23:38:09,501::INFO::[_cplogging:54] [06/Oct/2010:23:38:09] HTTP
Request Headers:
  AUTHORIZATION: Basic ZGNkZWFkOmJlZWJlZTE5Mjg=
  REFERER: https://192.168.1.19:9090/
  Remote-Addr: 192.168.1.111
  Content-Length: 9185927
  ACCEPT-CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
  USER-AGENT: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10
  CONNECTION: keep-alive
  COOKIE: session_id=6e79d1a31eb5ca5c2bf123b528028483123591ff; speedlog2=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0; smplrefresh=5
  HOST: 192.168.1.19:9090
  ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  ACCEPT-LANGUAGE: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
  Content-Type: multipart/form-data; boundary=---------------------------7591670431818
  ACCEPT-ENCODING: gzip,deflate
  KEEP-ALIVE: 115
2010-10-06 23:38:09,502::ERROR::[_cplogging:54] [06/Oct/2010:23:38:09] HTTP Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/cherrypy/_cprequest.py", line 653, in respond
    self.body.process()
  File "/usr/lib64/python2.6/site-packages/cherrypy/_cpreqbody.py", line 707, in process
    super(RequestBody, self).process()
  File "/usr/lib64/python2.6/site-packages/cherrypy/_cpreqbody.py", line 320, in process
    proc(self)
  File "/usr/lib64/python2.6/site-packages/cherrypy/_cpreqbody.py", line 127, in process_multipart_form_data
    process_multipart(entity)
  File "/usr/lib64/python2.6/site-packages/cherrypy/_cpreqbody.py", line 109, in process_multipart
    b = entity.readline()
  File "/usr/lib64/python2.6/site-packages/cherrypy/_cpreqbody.py", line 267, in readline
    return self.fp.readline(size)
  File "/usr/lib64/python2.6/site-packages/cherrypy/_cpreqbody.py", line 595, in readline
    data = self.read(chunksize)
  File "/usr/lib64/python2.6/site-packages/cherrypy/_cpreqbody.py", line 560, in read
    data = self.fp.read(chunksize)
  File "/usr/lib64/python2.6/site-packages/cherrypy/wsgiserver/__init__.py", line 265, in read
    data = self.rfile.read(size)
  File "/usr/lib64/python2.6/site-packages/cherrypy/wsgiserver/__init__.py", line 968, in read
    assert n <= left, "recv(%d) returned %d bytes" % (left, n)
AssertionError: recv(724) returned 4096 bytes
zg0re
Newbie
Newbie
Posts: 4
Joined: October 6th, 2010, 4:51 pm

Re: Cannot upload nzb via webinterface

Post by zg0re »

Hi! It happens with every webinterface (simpl, classic and plush), with every nzb i have.

I should add that those nzbs work perfectly when added via the blackhole method.

the above error showed up in the logs when i used the ssl webinterface. If i use the normal one it doesn't work either, but there's no error. I suspect it's the same problem though...
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Cannot upload nzb via webinterface

Post by shypike »

You are using an installed CherryPy.
the CherryPy release included in the tar.gz distribution file must be used.
Please complain to the package creators.

It looks like you are using CherryPy 3.2.0rc1 and HTTPS.
That version has a huge bug.
Have you tried using plain HTTP?
zg0re
Newbie
Newbie
Posts: 4
Joined: October 6th, 2010, 4:51 pm

Re: Cannot upload nzb via webinterface

Post by zg0re »

Oh ok, thanks. I guess that'll be the problem, as the cherrypy was compiled from their source (that's how the ebuild in gentoo was made to do). I'll replace it with the version shipped with sabnzbd.
zg0re
Newbie
Newbie
Posts: 4
Joined: October 6th, 2010, 4:51 pm

Re: Cannot upload nzb via webinterface

Post by zg0re »

Ok, it works. Thanks again!
Post Reply