Timeout when adding NZB to SABnzbd [SOLVED]

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
benik
Newbie
Newbie
Posts: 5
Joined: August 6th, 2013, 4:49 pm

Timeout when adding NZB to SABnzbd [SOLVED]

Post 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
Last edited by benik on September 7th, 2017, 8:28 am, edited 2 times in total.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Timeout when adding NZB to SABnzbd

Post by shypike »

Any idea how long the upload takes?
Are these very large NZB files?
benik
Newbie
Newbie
Posts: 5
Joined: August 6th, 2013, 4:49 pm

Re: Timeout when adding NZB to SABnzbd

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Timeout when adding NZB to SABnzbd

Post by shypike »

The actual NZB is 4G???
benik
Newbie
Newbie
Posts: 5
Joined: August 6th, 2013, 4:49 pm

Re: Timeout when adding NZB to SABnzbd

Post by benik »

No, the content of the NZB is about 4 GB.
The size of the NZB file itself is about 1.5 MB.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Timeout when adding NZB to SABnzbd

Post 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)?
benik
Newbie
Newbie
Posts: 5
Joined: August 6th, 2013, 4:49 pm

Re: Timeout when adding NZB to SABnzbd

Post 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!
benik
Newbie
Newbie
Posts: 5
Joined: August 6th, 2013, 4:49 pm

Re: Timeout when adding NZB to SABnzbd [SOLVED]

Post 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!
Post Reply