Invalid nzb causes sabnzbd to retry constantly forever

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
TonyHoyle
Newbie
Newbie
Posts: 1
Joined: July 9th, 2011, 5:39 am

Invalid nzb causes sabnzbd to retry constantly forever

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

Re: Invalid nzb causes sabnzbd to retry constantly forever

Post 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.
DirtyWizard
Newbie
Newbie
Posts: 8
Joined: June 30th, 2011, 7:09 am

Re: Invalid nzb causes sabnzbd to retry constantly forever

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

Re: Invalid nzb causes sabnzbd to retry constantly forever

Post 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.
DirtyWizard
Newbie
Newbie
Posts: 8
Joined: June 30th, 2011, 7:09 am

Re: Invalid nzb causes sabnzbd to retry constantly forever

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

Re: Invalid nzb causes sabnzbd to retry constantly forever

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

Re: Invalid nzb causes sabnzbd to retry constantly forever

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