Page 1 of 1

Invalid nzb causes sabnzbd to retry constantly forever

Posted: July 9th, 2011, 5:51 am
by TonyHoyle
I noticed excessive downloading during the day on my line.. eventually traced it to sabnzbd which was repeatedly downloading the same nzb once every 2-3 seconds for almost a day!

Code: Select all

2011-07-08 16:26:55,058::WARNING::[nzbstuff:573] Invalid NZB file [redacted] 720p WEB DL DD5 1 H 264 HoodBag.nzb, skipping (reason=not well-formed (invalid token), line=4)
2011-07-08 16:27:00,535::WARNING::[nzbstuff:573] Invalid NZB file [redacted] 720p WEB DL DD5 1 H 264 HoodBag.nzb, skipping (reason=not well-formed (invalid token), line=4)
2011-07-08 16:27:06,054::WARNING::[nzbstuff:573] Invalid NZB file [redacted] 720p WEB DL DD5 1 H 264 HoodBag.nzb, skipping (reason=not well-formed (invalid token), line=4)
2011-07-08 16:27:11,579::WARNING::[nzbstuff:573] Invalid NZB file [redacted] 720p WEB DL DD5 1 H 264 HoodBag.nzb, skipping (reason=not well-formed (invalid token), line=4)
2011-07-08 16:27:17,152::WARNING::[nzbstuff:573] Invalid NZB file [redacted] 720p WEB DL DD5 1 H 264 HoodBag.nzb, skipping (reason=not well-formed (invalid token), line=4)
2011-07-08 16:27:22,676::WARNING::[nzbstuff:573] Invalid NZB file [redacted] 720p WEB DL DD5 1 H 264 HoodBag.nzb, skipping (reason=not well-formed (invalid token), line=4)
2011-07-08 16:27:28,194::WARNING::[nzbstuff:573] Invalid NZB file [redacted] 720p WEB DL DD5 1 H 264 HoodBag.nzb, skipping (reason=not well-formed (invalid token), line=4)
2011-07-08 16:27:33,782::WARNING::[nzbstuff:573] Invalid NZB file [redacted] 720p WEB DL DD5 1 H 264 HoodBag.nzb, skipping (reason=not well-formed (invalid token), line=4)
2011-07-08 16:27:39,298::WARNING::[nzbstuff:573] Invalid NZB file [redacted] 720p WEB DL DD5 1 H 264 HoodBag.nzb, skipping (reason=not well-formed (invalid token), line=4)
2011-07-08 16:27:44,878::WARNING::[nzbstuff:573] Invalid NZB file [redacted] 720p WEB DL DD5 1 H 264 HoodBag.nzb, skipping (reason=not well-formed (invalid token), line=4)
2011-07-08 16:27:50,404::WARNING::[nzbstuff:573] Invalid NZB file [redacted] 720p WEB DL DD5 1 H 264 HoodBag.nzb, skipping (reason=not well-formed (invalid token), line=4)
2011-07-08 16:27:55,849::WARNING::[nzbstuff:573] Invalid NZB file [redacted] 720p WEB DL DD5 1 H 264 HoodBag.nzb, skipping (reason=not well-formed (invalid token), line=4)
2011-07-08 16:28:01,282::WARNING::[nzbstuff:573] Invalid NZB file [redacted] 720p WEB DL DD5 1 H 264 HoodBag.nzb, skipping (reason=not well-formed (invalid token), line=4)
2011-07-08 16:28:06,704::WARNING::[nzbstuff:573] Invalid NZB file [redacted] 720p WEB DL DD5 1 H 264 HoodBag.nzb, skipping (reason=not well-formed (invalid token), line=4)
... later...

Code: Select all

2011-07-09 11:28:25,772::WARNING::[nzbstuff:573] Invalid NZB file [redacted] 720p WEB DL DD5 1 H 264 HoodBag.nzb, skipping (reason=not well-formed (invalid token), line=4)
2011-07-09 11:28:31,199::WARNING::[nzbstuff:573] Invalid NZB file [redacted] 720p WEB DL DD5 1 H 264 HoodBag.nzb, skipping (reason=not well-formed (invalid token), line=4)
2011-07-09 11:28:36,630::WARNING::[nzbstuff:573] Invalid NZB file [redacted] 720p WEB DL DD5 1 H 264 HoodBag.nzb, skipping (reason=not well-formed (invalid token), line=4)
2011-07-09 11:28:42,246::WARNING::[nzbstuff:573] Invalid NZB file [redacted] 720p WEB DL DD5 1 H 264 HoodBag.nzb, skipping (reason=not well-formed (invalid token), line=4)
2011-07-09 11:28:47,712::WARNING::[nzbstuff:573] Invalid NZB file [redacted] 720p WEB DL DD5 1 H 264 HoodBag.nzb, skipping (reason=not well-formed (invalid token), line=4)
2011-07-09 11:28:53,145::WARNING::[nzbstuff:573] Invalid NZB file [redacted] 720p WEB DL DD5 1 H 264 HoodBag.nzb, skipping (reason=not well-formed (invalid token), line=4)
2011-07-09 11:28:58,586::WARNING::[nzbstuff:573] Invalid NZB file [redacted] 720p WEB DL DD5 1 H 264 HoodBag.nzb, skipping (reason=not well-formed (invalid token), line=4)
.. when I shut sabnzbd down.

It tried the same file nearly 13,000 times.

IMO sabnzbd should *not* retry a corrupt nzb more than a couple of times (if at all) since if the file is invalid it isn't going to magically fix itself until the original uploader gets around to updating it - in which case it'll be a new nzb anyway.

Re: Invalid nzb causes sabnzbd to retry constantly forever

Posted: July 9th, 2011, 4:50 pm
by shypike
Which server were you trying to get the NZB files from?
Most aren't exactly highly reliable and we've often been accused of not trying often enough.

Re: Invalid nzb causes sabnzbd to retry constantly forever

Posted: July 18th, 2011, 7:14 am
by DirtyWizard
I'm having the same problem with an invalid NZB..
Invalid NZB file something.nzb, skipping (reason=unclosed token, line=55)

almost every second...

Re: Invalid nzb causes sabnzbd to retry constantly forever

Posted: July 18th, 2011, 8:38 am
by shypike
People, please read: complaining is not useful if you give so little info.
From which indexing site are you trying to get NZB files?
Not all are compatible with SABnzbd.

Re: Invalid nzb causes sabnzbd to retry constantly forever

Posted: July 18th, 2011, 8:46 am
by DirtyWizard
Sorry to hijack the thread here ... but I could help us both I think. I got mine from NZBmatrix (http://nzbmatrix.com/nzb-details.php?id=764898&hit=1)

Re: Invalid nzb causes sabnzbd to retry constantly forever

Posted: July 18th, 2011, 10:32 am
by shypike
nzbmatrix again.
The quickest test is: cut the full URL that SABnzbd is using from the log of the UI
and paste it into the address bar of the browser.
Check what you receive.
nzbmatrix is known to have bad (or empty) NZB files in its API.
Sometimes you get some HTML page instead of an NZB.
Error recovery is hard to do for that site.

Re: Invalid nzb causes sabnzbd to retry constantly forever

Posted: July 18th, 2011, 2:52 pm
by shypike
DirtyWizard wrote:Sorry to hijack the thread here ... but I could help us both I think. I got mine from NZBmatrix (http://nzbmatrix.com/nzb-details.php?id=764898&hit=1)
This particular ID delivers an NZB that's incomplete.
It just stops after 4K, while the NZB from the website has the full 24K.
SABnzbd doesn't parse incomplete NZBs.
SABnzbd keeps trying because it assumes that it's a temporary problem.
I'll try to fix it so that it gives up after some time.