Page 1 of 1

Timeout when adding NZB to SABnzbd [SOLVED]

Posted: August 6th, 2013, 5:21 pm
by benik
Hello guys,

I have a problem with a SABnzbd instance on a server.
When I add a NZB to SABnzbd, I can download it without any problems.
But when someone else tries to add a NZB to the server, de SABnzbd GUI crashes with the following error in the logs:
AUTHORIZATION: Basic [Login details]
REFERER: [URL SABnzbd]
Content-Length: 858877
USER-AGENT: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0)
CONNECTION: Keep-Alive
COOKIE: PHPSESSID=hr3lmq4lcnb0edfnh8h9d1hhm7
Remote-Addr: [IP address remote PC]
DNT: 1
HOST: [URL SABnzbd]
CACHE-CONTROL: no-cache
ACCEPT: text/html, application/xhtml+xml, */*
ACCEPT-LANGUAGE: nl-NL
Content-Type: multipart/form-data; boundary=---------------------------7dd2e22b302aa
ACCEPT-ENCODING: gzip, deflate
2013-08-06 22:40:00,404::DEBUG::[_cplogging:55] [06/Aug/2013:22:40:00] HTTP Traceback (most recent call last):
File "/usr/share/sabnzbdplus/cherrypy/_cprequest.py", line 612, in respond
self.process_body()
File "/usr/share/sabnzbdplus/cherrypy/_cprequest.py", line 733, in process_body
keep_blank_values=1)
File "/usr/share/sabnzbdplus/cherrypy/_cpcgifs.py", line 8, in __init__
cgi.FieldStorage.__init__(self, *args, **kwds)
File "/usr/lib/python2.7/cgi.py", line 508, in __init__
self.read_multi(environ, keep_blank_values, strict_parsing)
File "/usr/lib/python2.7/cgi.py", line 637, in read_multi
environ, keep_blank_values, strict_parsing)
File "/usr/share/sabnzbdplus/cherrypy/_cpcgifs.py", line 8, in __init__
cgi.FieldStorage.__init__(self, *args, **kwds)
File "/usr/lib/python2.7/cgi.py", line 510, in __init__
self.read_single()
File "/usr/lib/python2.7/cgi.py", line 647, in read_single
self.read_lines()
File "/usr/lib/python2.7/cgi.py", line 669, in read_lines
self.read_lines_to_outerboundary()
File "/usr/share/sabnzbdplus/cherrypy/_cpcgifs.py", line 31, in read_lines_to_outerboundary
line = self.fp.readline(1<<16)
File "/usr/share/sabnzbdplus/cherrypy/wsgiserver/__init__.py", line 208, in readline
data = self.rfile.readline(size)
File "/usr/share/sabnzbdplus/cherrypy/wsgiserver/__init__.py", line 887, in readline
data = self.recv(self._rbufsize)
File "/usr/share/sabnzbdplus/cherrypy/wsgiserver/__init__.py", line 766, in recv
return self._sock.recv(size)
timeout: timed out
The server OS is Ubuntu 11.10. The problem arose out of nothing.
The person has already tried to use a different browser, cleared the browser cache, deleted cookies but everytime SABnzbd crashes.
Does anybody know how I can solve this problem?
Thank you in advance!

Regards,
Jim-David

EDIT: I already reinstalled SABnzbd on a clean server with an different IP address and different host, but that doesn't make any difference

Re: Timeout when adding NZB to SABnzbd

Posted: August 9th, 2013, 5:39 am
by shypike
Any idea how long the upload takes?
Are these very large NZB files?

Re: Timeout when adding NZB to SABnzbd

Posted: August 9th, 2013, 8:34 am
by benik
Hey shypike,

Thanks for your reply!
The upload of an NZB takes about 30 seconds to 1 minute before the GUI crashes.
It happens only with large NZB's with an average size of 4 GB or more.

Re: Timeout when adding NZB to SABnzbd

Posted: August 9th, 2013, 9:00 am
by shypike
The actual NZB is 4G???

Re: Timeout when adding NZB to SABnzbd

Posted: August 9th, 2013, 11:09 am
by benik
No, the content of the NZB is about 4 GB.
The size of the NZB file itself is about 1.5 MB.

Re: Timeout when adding NZB to SABnzbd

Posted: August 9th, 2013, 11:18 am
by shypike
That's still rather large.
SABnzbd's built-in web framework takes care of the upload.
Normally this should never be an issue, unless there's some platform issue.
Is the upload through the "Add NZB" dialog in the UI or through the API?
Have you tried a compressed version of the NZB (like .zip or .rar)?

Re: Timeout when adding NZB to SABnzbd

Posted: August 9th, 2013, 3:17 pm
by benik
The NZB is added via the "Add NZB" button in the UI.
I will ask the person to compress the NZB first before uploading it to SABnzbd. I will let you know when I got a response from him.
Thanks for your help so far!

Re: Timeout when adding NZB to SABnzbd [SOLVED]

Posted: August 18th, 2013, 4:01 pm
by benik
I received a response from the person who uses the SABnzbd installation.
The problems were caused by a combination of an outdated browser and a slow connection. He has no problems on another computer he uses.
Thanks for the help!