Sonarr: Syntax Error after '<!' characters. http://www.newzbin.com/DTD/nzb/nzb-1.1.dtd Line 2, position 4.

Created on 12 Jun 2018  路  4Comments  路  Source: Sonarr/Sonarr

Describe the bug
Trying to do a manual search and error is presented. Was working up until very recently

Screenshots
screen shot 2018-06-11 at 9 03 09 pm

Logs
System.Xml.XmlException: Syntax Error after '<!' characters. http://www.newzbin.com/DTD/nzb/nzb-1.1.dtd Line 2, position 4. at System.Xml.DTDReader.CompileDeclaration () [0x00237] in /private/tmp/source-mono-mac-3.12.99-branch-32/bockbuild-mono-3.12.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.12.1/mcs/class/System.XML/System.Xml/DTDReader.cs:331 at System.Xml.DTDReader.ProcessDTDSubset () [0x000cf] in /private/tmp/source-mono-mac-3.12.99-branch-32/bockbuild-mono-3.12.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.12.1/mcs/class/System.XML/System.Xml/DTDReader.cs:233 at System.Xml.DTDReader.GenerateDTDObjectModel () [0x0012f] in /private/tmp/source-mono-mac-3.12.99-branch-32/bockbuild-mono-3.12.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.12.1/mcs/class/System.XML/System.Xml/DTDReader.cs:166 at Mono.Xml2.XmlTextReader.GenerateDTDObjectModel (string,string,string,string,int,int) [0x000b8] in /private/tmp/source-mono-mac-3.12.99-branch-32/bockbuild-mono-3.12.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.12.1/mcs/class/System.XML/System.Xml/XmlTextReader.cs:2441 at Mono.Xml2.XmlTextReader.ReadDoctypeDecl () [0x00116] in /private/tmp/source-mono-mac-3.12.99-branch-32/bockbuild-mono-3.12.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.12.1/mcs/class/System.XML/System.Xml/XmlTextReader.cs:2396 at Mono.Xml2.XmlTextReader.ReadDeclaration () [0x00062] in /private/tmp/source-mono-mac-3.12.99-branch-32/bockbuild-mono-3.12.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.12.1/mcs/class/System.XML/System.Xml/XmlTextReader.cs:2237 at Mono.Xml2.XmlTextReader.ReadContent () [0x00128] in /private/tmp/source-mono-mac-3.12.99-branch-32/bockbuild-mono-3.12.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.12.1/mcs/class/System.XML/System.Xml/XmlTextReader.cs:1277 at Mono.Xml2.XmlTextReader.Read () [0x00141] in /private/tmp/source-mono-mac-3.12.99-branch-32/bockbuild-mono-3.12.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.12.1/mcs/class/System.XML/System.Xml/XmlTextReader.cs:572 at System.Xml.XmlTextReader.Read () [0x0006b] in /private/tmp/source-mono-mac-3.12.99-branch-32/bockbuild-mono-3.12.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.12.1/mcs/class/System.XML/System.Xml/XmlTextReader2.cs:571 at Mono.Xml.XmlFilterReader.Read () [0x00000] in /private/tmp/source-mono-mac-3.12.99-branch-32/bockbuild-mono-3.12.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.12.1/mcs/class/System.XML/Mono.Xml/XmlFilterReader.cs:235 at Mono.Xml.XmlFilterReader.Read () [0x00000] in /private/tmp/source-mono-mac-3.12.99-branch-32/bockbuild-mono-3.12.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.12.1/mcs/class/System.XML/Mono.Xml/XmlFilterReader.cs:235 at Mono.Xml.XmlFilterReader.Read () [0x00061] in /private/tmp/source-mono-mac-3.12.99-branch-32/bockbuild-mono-3.12.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.12.1/mcs/class/System.XML/Mono.Xml/XmlFilterReader.cs:243 at System.Xml.Linq.XDocument.ReadContent (System.Xml.XmlReader,System.Xml.Linq.LoadOptions) [0x00053] in /private/tmp/source-mono-mac-3.12.99-branch-32/bockbuild-mono-3.12.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.12.1/mcs/class/System.Xml.Linq/System.Xml.Linq/XDocument.cs:161 at System.Xml.Linq.XDocument.LoadCore (System.Xml.XmlReader,System.Xml.Linq.LoadOptions) [0x00006] in /private/tmp/source-mono-mac-3.12.99-branch-32/bockbuild-mono-3.12.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.12.1/mcs/class/System.Xml.Linq/System.Xml.Linq/XDocument.cs:147 at System.Xml.Linq.XDocument.Load (System.Xml.XmlReader,System.Xml.Linq.LoadOptions) [0x00035] in /private/tmp/source-mono-mac-3.12.99-branch-32/bockbuild-mono-3.12.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.12.1/mcs/class/System.Xml.Linq/System.Xml.Linq/XDocument.cs:140 at System.Xml.Linq.XDocument.Load (System.Xml.XmlReader) [0x00000] in /private/tmp/source-mono-mac-3.12.99-branch-32/bockbuild-mono-3.12.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.12.1/mcs/class/System.Xml.Linq/System.Xml.Linq/XDocument.cs:132 at NzbDrone.Core.Download.NzbValidationService.Validate (string,byte[]) [0x00024] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\NzbValidationService.cs:22 at NzbDrone.Core.Download.UsenetClientBase`1<NzbDrone.Core.Download.Clients.Sabnzbd.SabnzbdSettings>.Download (NzbDrone.Core.Parser.Model.RemoteEpisode) <0x00572> at NzbDrone.Core.Download.DownloadService.DownloadReport (NzbDrone.Core.Parser.Model.RemoteEpisode) [0x00175] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\DownloadService.cs:69 at NzbDrone.Api.Indexers.ReleaseModule.DownloadRelease (NzbDrone.Api.Indexers.ReleaseResource) [0x0002d] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Api\Indexers\ReleaseModule.cs:67 at NzbDrone.Api.Indexers.ReleaseModule.<.ctor>b__7_0 (object) [0x00000] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Api\Indexers\ReleaseModule.cs:46 at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,System.Func`2<object, object>,object) <IL 0x00038, 0x00086> at Nancy.Routing.Route/<>c__DisplayClass4.<Wrap>b__3 (object,System.Threading.CancellationToken) <IL 0x0005f, 0x00133>

System Information

  • Sonarr Version: 2.0.0.5163
  • Operating System: macOS 10.11 El Capitan
  • .net Framework (Windows) or mono (macOS/Linux) Version: 3.12.1

Most helpful comment

You'll need to upgrade mono to fix that error.

All 4 comments

I have the same issue.

Version: 2.0.0.5163
Mono Version: 3.10.0
Operating System: FreeNAS 11.1-U5

You'll need to upgrade mono to fix that error.

OK, thanks! Just curious, did this change recently? It was working fairly recently and it just seems like a big jump from 3.10 to 5.12.

For anyone else interested, I downloaded and installed Mono 5.12.0. Then restarted Sonarr. Works again!

I updated my mono and restarted and it worked also. Except after a few days, it stopped working again, failing with the same error. Restarting Sonarr will get it working again for a few more days, and then the cycle repeats.
Not sure what else to try at this point aside from starting a new jail from scratch which I'm trying to avoid doing.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

daviddavo picture daviddavo  路  4Comments

cjamesdesigner picture cjamesdesigner  路  3Comments

mommalongnips picture mommalongnips  路  3Comments

imathew picture imathew  路  4Comments

markus101 picture markus101  路  4Comments