Page 1 of 1

Occasionally NZB does not download on 4.2.x while it does on 4.0.3

Posted: December 16th, 2023, 9:27 am
by zaadstra
Hi,

Occasionally NZB does not download on 4.2.x while it does on 4.0.3

I'm running SABnzbd on Windows and on a Synology NAS. Two fast news servers are configured plus a slower backup server.
Once in a while a nzb fails to download on Windows and I gave it a try on the NAS. I was a bit surprised that it did download there and started testing.

SABnzbd 4.2.0RC2 Windows 11

- Slow, does not finish
- Missing articles
- Is using third backup server
- Lots of 'Timed out' in logs

SABnzbd 4.0.3 Syno NAS on Qoriq architecture

- Usually slow first time, hangs at a fixed percentage and then after a while (time out) continues.
Next time same file is fast without hesitation. Renaming the file gests a haning download again, but not all the times ... They always finish correctly.
- Does not use third backup server
- Some 'Timed out' in logs

Tried some other things:
- Set Timeout to 20 (was 60 or 120 seconds)
- Switched priotity between two main servers
- Had equal priority at first
- Disabled one or the other main server
- Enabled/Disabled Send Group (topic: https://github.com/sabnzbd/sabnzbd/discussions/2715)
- Another nzb downloaded quickly on 4.0.3 and 4.2.0RC2. Luckily most other nzb's do ;-)
- Comparing sabnzbd.ini's did not show relevant differences (to me)

Saving the server properties sometimes shortly show "Failed" with red background in button.
This happens when changing Priority (sometimes I got another number when setting the two main servers the same priority, sometimes the number was saved) but also sometimes when toggling Send Group.
Usually the new values do stick.

All Par2's are downloaded (always, on both platforms). Log says 'Quick-check for UQq83PfOukEpNTzcFUe6lR is OK, skipping repair'.
It seems a fix from 2017 got broken some versions ago. Here "enable_par_cleanup" got implemented: Option to leave base.par2 after +repair action #956 https://github.com/sabnzbd/sabnzbd/issues/956

Any idea what is happening here?

Attached logs from both platforms and nzb's to the same download, from Spotnet and from NZBindex search.

Re: Occasionally NZB does not download on 4.2.x while it does on 4.0.3

Posted: December 16th, 2023, 9:29 am
by zaadstra
Uhhh how to attach files?

Most important, this is the test object:
https://nzbindex.nl/?q=UQq83PfOukEpNTzc ... =0&poster=

Re: Occasionally NZB does not download on 4.2.x while it does on 4.0.3

Posted: December 16th, 2023, 11:40 am
by safihre
Could you maybe share a Debug log of a failed download? You can send it to [email protected]

Re: Occasionally NZB does not download on 4.2.x while it does on 4.0.3

Posted: December 16th, 2023, 11:45 am
by safihre
Does it matter if you have ssl enabled or not for the servers?

Re: Occasionally NZB does not download on 4.2.x while it does on 4.0.3

Posted: December 17th, 2023, 7:18 am
by zaadstra
Switched off ssl but process is the same: quickly to 18% and then stays there forever. See in the logs how log this takes.

Re: Occasionally NZB does not download on 4.2.x while it does on 4.0.3

Posted: December 17th, 2023, 7:43 am
by safihre
If you have the time, could you try 4.2.0 Alpha 1?
Then I know which range of code changes I have to search for the problem.
Either the Installer or Standalone version:
https://github.com/sabnzbd/sabnzbd/rele ... .2.0Alpha1

Thank you!

Re: Occasionally NZB does not download on 4.2.x while it does on 4.0.3

Posted: December 17th, 2023, 8:07 am
by zaadstra
Is Alpha 1 newer or older than RC2?

Re: Occasionally NZB does not download on 4.2.x while it does on 4.0.3

Posted: December 17th, 2023, 8:14 am
by zaadstra
Older ;-) Collecting a log now,dropped it in the mail.

Re: Occasionally NZB does not download on 4.2.x while it does on 4.0.3

Posted: December 17th, 2023, 8:47 am
by zaadstra
While it's a mess already I installed SABnzbd-4.0.3-win-setup.exe and it downloads. A bit of doubt/hanging at the end but it finishes in reasonable type.

There is something with this nzb or download, that's for sure, but the newer versions choke on it.

Log log 4.0.3 windows 11.txt in the mail.