Page 1 of 1

Sabnzbd Crashing when adding via Sonarr

Posted: April 14th, 2016, 10:41 pm
by Joel006
Hi Everyone,

I have been using SAB for about 4 years now and today is the first time i have had an error i couldn't work out.

I will try and give as much information bellow but my issue is that when Sab is working, i can access via a web interface and use it. However if i click download on Sonarr, it searches and sends a release to SAB. When is sends a nzb to SAB, SAB suddenly stops working and says "Connection lost" on Version 1.0.0 and just keeps refreshing on version .7 (Installed to see if it was a version 1 bug).

Sonarr can connect to SAB successfully and this does not crash SAB. This setup has been working for months and suddenly started this issue.

My setup:
Intel NUC running Windows 10, SABnzb, Sonarr and couch potato
Servers currently being used: Giganews, Astraweb, Newsdemon
Folders are located on a NAS at Z:\
Accessing from a Desktop via web interface (Appears to do the same when issue when using web interface via the Intel NUC)
Intel NUC IP: 192.168.1.4
Desktop IP: 192.168.1.11
Firewall is disabled on the intel NUC

Log:

Code: Select all

2016-04-15 13:27:55,088::INFO::[sabnzbd:1262] --------------------------------
2016-04-15 13:27:55,088::INFO::[sabnzbd:1263] SABnzbd.exe-0.7.20 (rev=1df2943d05d64915a166e2c97e1eef86f72e3ff3)
2016-04-15 13:27:55,250::INFO::[sabnzbd:1271] Platform=Windows-Vista-10.0.10586 (=Vista+ x64) Class=nt
2016-04-15 13:27:55,250::INFO::[sabnzbd:1276] Python-version = 2.5.5 (r255:77872, Jan 31 2010, 15:49:35) [MSC v.1310 32 bit (Intel)]
2016-04-15 13:27:55,250::INFO::[sabnzbd:1277] Arguments = "C:\Program Files (x86)\SABnzbd\SABnzbd.exe"
2016-04-15 13:27:55,250::INFO::[sabnzbd:1327] Read INI file C:\Users\joelc\AppData\Local\sabnzbd\sabnzbd.ini
2016-04-15 13:27:57,825::INFO::[__init__:943] Loading data for bookmarks.sab from C:\Users\joelc\AppData\Local\sabnzbd\admin\bookmarks.sab
2016-04-15 13:27:57,825::INFO::[__init__:946] C:\Users\joelc\AppData\Local\sabnzbd\admin\bookmarks.sab missing, trying old cache
2016-04-15 13:27:57,825::INFO::[__init__:949] C:\Users\joelc\AppData\Local\sabnzbd\cache\bookmarks.sab missing
2016-04-15 13:27:57,825::INFO::[__init__:943] Loading data for rss_data.sab from C:\Users\joelc\AppData\Local\sabnzbd\admin\rss_data.sab
2016-04-15 13:27:57,841::INFO::[__init__:943] Loading data for totals9.sab from C:\Users\joelc\AppData\Local\sabnzbd\admin\totals9.sab
2016-04-15 13:27:57,841::INFO::[__init__:946] C:\Users\joelc\AppData\Local\sabnzbd\admin\totals9.sab missing, trying old cache
2016-04-15 13:27:57,841::INFO::[__init__:949] C:\Users\joelc\AppData\Local\sabnzbd\cache\totals9.sab missing
2016-04-15 13:27:57,894::INFO::[postproc:91] Loading postproc queue
2016-04-15 13:27:57,894::INFO::[__init__:943] Loading data for postproc1.sab from C:\Users\joelc\AppData\Local\sabnzbd\admin\postproc1.sab
2016-04-15 13:27:57,894::INFO::[__init__:946] C:\Users\joelc\AppData\Local\sabnzbd\admin\postproc1.sab missing, trying old cache
2016-04-15 13:27:57,894::INFO::[__init__:949] C:\Users\joelc\AppData\Local\sabnzbd\cache\postproc1.sab missing
2016-04-15 13:27:57,894::INFO::[__init__:943] Loading data for queue9.sab from C:\Users\joelc\AppData\Local\sabnzbd\admin\queue9.sab
2016-04-15 13:27:57,894::INFO::[__init__:946] C:\Users\joelc\AppData\Local\sabnzbd\admin\queue9.sab missing, trying old cache
2016-04-15 13:27:57,894::INFO::[__init__:949] C:\Users\joelc\AppData\Local\sabnzbd\cache\queue9.sab missing
2016-04-15 13:27:57,894::INFO::[__init__:943] Loading data for watched_data.sab from C:\Users\joelc\AppData\Local\sabnzbd\admin\watched_data.sab
2016-04-15 13:27:57,910::INFO::[__init__:946] C:\Users\joelc\AppData\Local\sabnzbd\admin\watched_data.sab missing, trying old cache
2016-04-15 13:27:57,910::INFO::[__init__:949] C:\Users\joelc\AppData\Local\sabnzbd\cache\watched_data.sab missing
2016-04-15 13:27:57,910::INFO::[__init__:943] Loading data for Rating.sab from C:\Users\joelc\AppData\Local\sabnzbd\admin\Rating.sab
2016-04-15 13:27:57,910::INFO::[__init__:946] C:\Users\joelc\AppData\Local\sabnzbd\admin\Rating.sab missing, trying old cache
2016-04-15 13:27:57,910::INFO::[__init__:949] C:\Users\joelc\AppData\Local\sabnzbd\cache\Rating.sab missing
2016-04-15 13:27:57,910::INFO::[scheduler:172] Setting schedule for midnight BPS reset
2016-04-15 13:27:57,910::INFO::[downloader:211] Resuming
2016-04-15 13:27:57,910::INFO::[__init__:335] All processes started
2016-04-15 13:27:57,910::INFO::[sabnzbd:335] Web dir is C:\Program Files (x86)\SABnzbd\interfaces\Glitter
2016-04-15 13:27:57,910::WARNING::[sabnzbd:342] Cannot find web template: C:\Program Files (x86)\SABnzbd\interfaces\Glitter\templates\main.tmpl, trying standard template
2016-04-15 13:27:57,910::INFO::[sabnzbd:335] Web dir is C:\Program Files (x86)\SABnzbd\interfaces\Config
2016-04-15 13:27:57,957::INFO::[sabnzbd:464] _yenc module... found!
2016-04-15 13:27:57,957::INFO::[sabnzbd:472] par2 binary... found (C:\Program Files (x86)\SABnzbd\win\par2\x64\par2.exe)
2016-04-15 13:27:57,971::INFO::[sabnzbd:477] par2-classic binary... found (C:\Program Files (x86)\SABnzbd\win\par2\par2-classic.exe)
2016-04-15 13:27:57,973::INFO::[sabnzbd:480] unrar binary... found (C:\Program Files (x86)\SABnzbd\win\unrar\x64\UnRAR.exe)
2016-04-15 13:27:57,973::INFO::[sabnzbd:485] unzip binary... found (C:\Program Files (x86)\SABnzbd\win\unzip\unzip.exe)
2016-04-15 13:27:57,973::INFO::[sabnzbd:500] pyOpenSSL... found (True)
2016-04-15 13:27:57,976::INFO::[sabnzbd:1528] Starting web-interface on 192.168.1.4:8080
2016-04-15 13:27:58,979::INFO::[_cplogging:55] [15/Apr/2016:13:27:58] ENGINE Bus STARTING
2016-04-15 13:27:58,980::INFO::[_cplogging:55] [15/Apr/2016:13:27:58] ENGINE Started monitor thread '_TimeoutMonitor'.
2016-04-15 13:27:59,180::INFO::[_cplogging:55] [15/Apr/2016:13:27:59] ENGINE Serving on 192.168.1.4:8080
2016-04-15 13:27:59,180::INFO::[_cplogging:55] [15/Apr/2016:13:27:59] ENGINE Bus STARTED
2016-04-15 13:27:59,180::INFO::[panic:247] Lauching browser with http://192.168.1.4:8080/sabnzbd
2016-04-15 13:28:01,573::INFO::[sabnzbd:1597] Starting SABnzbd.exe-0.7.20
2016-04-15 13:28:01,573::INFO::[dirscanner:277] Dirscanner starting up
2016-04-15 13:28:01,573::INFO::[urlgrabber:77] URLGrabber starting up
2016-04-15 13:28:40,655::INFO::[__init__:628] Adding Game.of.Thrones.S04E04.Multi.1080p.BluRay.x264-HAWAII.nzb
2016-04-15 13:28:41,168::INFO::[misc:811] Creating directories: Z:\Downloads\incomplete\Game.of.Thrones.S04E04.Multi.1080p.BluRay.x264-HAWAII
2016-04-15 13:28:41,854::INFO::[nzbstuff:444] File 64337-4[001/113] - "64337-2.0" yEnc (1/50) added to queue
2016-04-15 13:28:42,200::INFO::[nzbstuff:444] File 64337-4[002/113] - "64337-2.1" yEnc (1/50) added to queue
2016-04-15 13:28:56,226::INFO::[nzbstuff:444] File 64337-4[003/113] - "64337-2.10" yEnc (1/50) added to queue
2016-04-15 13:29:07,747::INFO::[nzbstuff:444] File 64337-4[004/113] - "64337-2.11" yEnc (1/50) added to queue
2016-04-15 13:29:19,065::INFO::[nzbstuff:444] File 64337-4[005/113] - "64337-2.12" yEnc (1/50) added to queue
2016-04-15 13:29:27,859::INFO::[nzbstuff:444] File 64337-4[006/113] - "64337-2.13" yEnc (1/50) added to queue
2016-04-15 13:29:32,523::INFO::[nzbstuff:444] File 64337-4[007/113] - "64337-2.14" yEnc (1/50) added to queue
2016-04-15 13:29:44,828::INFO::[nzbstuff:444] File 64337-4[008/113] - "64337-2.15" yEnc (1/50) added to queue
2016-04-15 13:29:54,821::INFO::[nzbstuff:444] File 64337-4[009/113] - "64337-2.16" yEnc (1/50) added to queue
2016-04-15 13:30:08,717::INFO::[nzbstuff:444] File 64337-4[010/113] - "64337-2.17" yEnc (1/42) added to queue
2016-04-15 13:30:29,983::INFO::[nzbstuff:444] File 64337-4[011/113] - "64337-2.18" yEnc (1/50) added to queue
2016-04-15 13:30:43,522::INFO::[nzbstuff:444] File 64337-4[012/113] - "64337-2.19" yEnc (1/50) added to queue
2016-04-15 13:31:06,516::INFO::[nzbstuff:444] File 64337-4[013/113] - "64337-2.2" yEnc (1/50) added to queue
2016-04-15 13:31:24,760::INFO::[nzbstuff:444] File 64337-4[014/113] - "64337-2.20" yEnc (1/50) added to queue
2016-04-15 13:31:45,303::INFO::[nzbstuff:444] File 64337-4[015/113] - "64337-2.21" yEnc (1/50) added to queue
2016-04-15 13:32:09,233::INFO::[nzbstuff:444] File 64337-4[016/113] - "64337-2.22" yEnc (1/50) added to queue
2016-04-15 13:32:29,101::INFO::[nzbstuff:444] File 64337-4[017/113] - "64337-2.23" yEnc (1/50) added to queue
2016-04-15 13:32:48,625::INFO::[nzbstuff:444] File 64337-4[018/113] - "64337-2.24" yEnc (1/50) added to queue
2016-04-15 13:33:00,917::INFO::[nzbstuff:444] File 64337-4[019/113] - "64337-2.25" yEnc (1/50) added to queue
2016-04-15 13:33:15,196::INFO::[nzbstuff:444] File 64337-4[020/113] - "64337-2.26" yEnc (1/50) added to queue
2016-04-15 13:33:22,887::INFO::[nzbstuff:444] File 64337-4[021/113] - "64337-2.27" yEnc (1/50) added to queue
2016-04-15 13:33:30,214::INFO::[nzbstuff:444] File 64337-4[022/113] - "64337-2.28" yEnc (1/50) added to queue
2016-04-15 13:33:37,586::INFO::[nzbstuff:444] File 64337-4[023/113] - "64337-2.29" yEnc (1/50) added to queue
2016-04-15 13:33:50,717::INFO::[nzbstuff:444] File 64337-4[024/113] - "64337-2.3" yEnc (1/50) added to queue
2016-04-15 13:34:00,911::INFO::[nzbstuff:444] File 64337-4[025/113] - "64337-2.30" yEnc (1/50) added to queue
2016-04-15 13:34:14,661::INFO::[nzbstuff:444] File 64337-4[026/113] - "64337-2.31" yEnc (1/50) added to queue
2016-04-15 13:34:23,727::INFO::[nzbstuff:444] File 64337-4[027/113] - "64337-2.32" yEnc (1/50) added to queue
2016-04-15 13:34:34,826::INFO::[nzbstuff:444] File 64337-4[028/113] - "64337-2.33" yEnc (1/50) added to queue
2016-04-15 13:34:41,717::INFO::[nzbstuff:444] File 64337-4[029/113] - "64337-2.34" yEnc (1/50) added to queue
2016-04-15 13:34:46,812::INFO::[nzbstuff:444] File 64337-4[030/113] - "64337-2.35" yEnc (1/50) added to queue
2016-04-15 13:34:54,532::INFO::[nzbstuff:444] File 64337-4[031/113] - "64337-2.36" yEnc (1/50) added to queue
2016-04-15 13:35:00,907::INFO::[nzbstuff:444] File 64337-4[032/113] - "64337-2.37" yEnc (1/50) added to queue
2016-04-15 13:35:10,846::INFO::[nzbstuff:444] File 64337-4[033/113] - "64337-2.38" yEnc (1/50) added to queue
2016-04-15 13:35:20,170::INFO::[nzbstuff:444] File 64337-4[034/113] - "64337-2.39" yEnc (1/50) added to queue
2016-04-15 13:35:25,721::INFO::[nzbstuff:444] File 64337-4[035/113] - "64337-2.4" yEnc (1/50) added to queue
2016-04-15 13:35:38,045::INFO::[nzbstuff:444] File 64337-4[036/113] - "64337-2.40" yEnc (1/50) added to queue
2016-04-15 13:35:49,891::INFO::[nzbstuff:444] File 64337-4[037/113] - "64337-2.41" yEnc (1/50) added to queue
2016-04-15 13:35:56,459::INFO::[nzbstuff:444] File 64337-4[038/113] - "64337-2.42" yEnc (1/50) added to queue
2016-04-15 13:36:06,687::INFO::[nzbstuff:444] File 64337-4[039/113] - "64337-2.43" yEnc (1/50) added to queue
2016-04-15 13:36:14,141::INFO::[nzbstuff:444] File 64337-4[040/113] - "64337-2.44" yEnc (1/50) added to queue
2016-04-15 13:36:23,663::INFO::[nzbstuff:444] File 64337-4[041/113] - "64337-2.45" yEnc (1/50) added to queue
2016-04-15 13:36:31,938::INFO::[nzbstuff:444] File 64337-4[042/113] - "64337-2.46" yEnc (1/50) added to queue
2016-04-15 13:36:40,092::INFO::[nzbstuff:444] File 64337-4[043/113] - "64337-2.47" yEnc (1/50) added to queue
2016-04-15 13:36:48,015::INFO::[nzbstuff:444] File 64337-4[044/113] - "64337-2.48" yEnc (1/50) added to queue
2016-04-15 13:36:58,563::INFO::[nzbstuff:444] File 64337-4[045/113] - "64337-2.49" yEnc (1/50) added to queue
2016-04-15 13:37:02,992::INFO::[nzbstuff:444] File 64337-4[046/113] - "64337-2.5" yEnc (1/50) added to queue
2016-04-15 13:37:13,910::INFO::[nzbstuff:444] File 64337-4[047/113] - "64337-2.50" yEnc (1/50) added to queue
2016-04-15 13:37:19,650::INFO::[nzbstuff:444] File 64337-4[048/113] - "64337-2.51" yEnc (1/50) added to queue
2016-04-15 13:37:27,818::INFO::[nzbstuff:444] File 64337-4[049/113] - "64337-2.52" yEnc (1/50) added to queue
2016-04-15 13:37:35,170::INFO::[nzbstuff:444] File 64337-4[050/113] - "64337-2.53" yEnc (1/1) added to queue
2016-04-15 13:37:42,486::INFO::[nzbstuff:444] File 64337-4[051/113] - "64337-2.54" yEnc (1/50) added to queue
2016-04-15 13:37:46,927::INFO::[nzbstuff:444] File 64337-4[052/113] - "64337-2.55" yEnc (1/50) added to queue
2016-04-15 13:37:48,345::INFO::[nzbstuff:444] File 64337-4[053/113] - "64337-2.56" yEnc (1/50) added to queue
2016-04-15 13:38:04,071::INFO::[nzbstuff:444] File 64337-4[054/113] - "64337-2.57" yEnc (1/50) added to queue
2016-04-15 13:38:17,257::INFO::[nzbstuff:444] File 64337-4[055/113] - "64337-2.58" yEnc (1/50) added to queue
2016-04-15 13:38:36,088::INFO::[nzbstuff:444] File 64337-4[056/113] - "64337-2.59" yEnc (1/50) added to queue
2016-04-15 13:38:57,700::INFO::[nzbstuff:444] File 64337-4[057/113] - "64337-2.6" yEnc (1/50) added to queue
2016-04-15 13:39:17,223::INFO::[nzbstuff:444] File 64337-4[058/113] - "64337-2.60" yEnc (1/50) added to queue
2016-04-15 13:39:37,631::INFO::[nzbstuff:444] File 64337-4[059/113] - "64337-2.61" yEnc (1/50) added to queue
2016-04-15 13:39:59,861::INFO::[nzbstuff:444] File 64337-4[060/113] - "64337-2.62" yEnc (1/50) added to queue
2016-04-15 13:40:08,255::INFO::[nzbstuff:444] File 64337-4[061/113] - "64337-2.63" yEnc (1/50) added to queue
2016-04-15 13:40:23,611::INFO::[nzbstuff:444] File 64337-4[062/113] - "64337-2.64" yEnc (1/50) added to queue

Let me know if you require any further information. I'm stumped here. Much appreciated.

Re: Sabnzbd Crashing when adding via Sonarr

Posted: April 15th, 2016, 12:28 am
by sander
You say 1.0.0 crashes, but 0.7.20 does not crash, and you post a log with ... "Starting SABnzbd.exe-0.7.20"?

Do this:
Stop SABnzbd
Open a CMD.exe
In that CMD.exe go to the directory containing sabnzbd-console.exe and start it
When/if SABnzbd crashes, copy-paste the text in CMD.exe as text into this thread.

Re: Sabnzbd Crashing when adding via Sonarr

Posted: April 15th, 2016, 12:56 am
by Joel006
Sorry about the confusion. The error occurs on both version .7 and 1.0.0.

I have done the steps, the console keeps scrolling and posts messages however, once i add a download from sonarr i am no longer able to connect remotely (On the same private network) via the IP address which was working just moment prior.

This suggests to me an issue with network configuration however i am no expert.

Here is the log (Clean log at startup):
http://ctrlv.it/txt/5573/455062464

Uploaded to another website due to text limit.

Re: Sabnzbd Crashing when adding via Sonarr

Posted: April 15th, 2016, 1:00 am
by sander
No crash in the log file.
I have done the steps, the console keeps scrolling and posts messages however, once i add a download from sonarr i am no longer able to connect remotely (On the same private network) via the IP address which was working just moment prior.
Strange. Do you have physical access to the machine running SABnzbd?

Re: Sabnzbd Crashing when adding via Sonarr

Posted: April 15th, 2016, 1:09 am
by Joel006
I have physical access but use TeamViewer remote control since I don't have keyboard etc setup.

Re: Sabnzbd Crashing when adding via Sonarr

Posted: April 15th, 2016, 1:11 am
by Joel006
After some evaluations it's not actually crashing. However, I can't access web interface once I have sent a nzb via sonarr. The "website" just hangs and keeps loading with no end result.

Re: Sabnzbd web-interface when adding via Sonarr

Posted: April 15th, 2016, 1:59 am
by sander
OK, so no crash. Good.

To rule out all kinds of dependencies and uncertainties, I would first advice physical access to the machine, and try from there: access via http://127.0.0.1:.../, and if needed:

Code: Select all

netstat -aon | find "8080"
(or the port SAB is running on)

Re: Sabnzbd Crashing when adding via Sonarr

Posted: April 15th, 2016, 2:27 am
by safihre
I think you should try to set the Logging to Warnings only and try again. The behavior you describes also happens on my Windows 10 pc when the logging is set to +Debug and a medium to large size NZB is added.
Sab is so busy with the logs, it doesn't respond to the interface anymore until it's done.

Re: Sabnzbd Crashing when adding via Sonarr

Posted: April 15th, 2016, 2:29 am
by Joel006
That's an interesting though. Will give it a try and report back.

Re: Sabnzbd Crashing when adding via Sonarr

Posted: April 15th, 2016, 4:45 am
by Joel006
Unfortunately this has not fixed the issue.

Re: Sabnzbd Crashing when adding via Sonarr

Posted: April 15th, 2016, 5:21 am
by safihre
Could you send us that NZB? [email protected] and [email protected]

Re: Sabnzbd Crashing when adding via Sonarr

Posted: April 15th, 2016, 5:37 am
by Joel006
Seems to be all NZB's. I will look into it more and check. But I believe it's any. I will also try manually downloading one and uploading it without Sonarr

Re: Sabnzbd Crashing when adding via Sonarr

Posted: April 15th, 2016, 8:28 pm
by Joel006
I added a NZB file manually and it worked fine. I added via Sonarr again, and it still crashed the web interface. I uninstalled, deleted all files from Appdata and program files, restarted and reinstalled and it now seems to work. Not sure what happened.

Re: Sabnzbd Crashing when adding via Sonarr

Posted: April 15th, 2016, 10:43 pm
by Joel006
Seems to be dorpping out when it gets busy. I have noticed since i installed version 1 that it very regularly pops up, "Lost connection" now it happens more frequent and for longer. Any ideas? CPU usage across the entire system sees top be high. between 70-95% but than drops and hovers around 30%. RAM usage never passes 30%.

Re: Sabnzbd Crashing when adding via Sonarr

Posted: April 16th, 2016, 4:14 am
by shypike
Adding NZB files is a CPU intensive task and sometimes there's an internal time-out.
The result is that SABnzbd doesn't respond to the API call.
I'll see what I can do.