"Couldn't add report to download queue" error: System.Xml.Exception


Sonarr version (exact version):
Mono version (if Sonarr is not running on Windows): 3.1.0
OS: Debian Squeeze

Description of issue:
I’ve been unable to download any new reports for a while now. The error I’m seeing is pretty consistent. It says:

Expected =, but found d [100] Line 68, position 88.

And the top of the stack trace is:

System.Xml.XmlException: Expected =, but found d [100] Line 68, position 88.
at Mono.Xml2.XmlTextReader.ExpectAfterWhitespace (Char c) [0x00026] in /c/home/daniel/mono-install/mono-3.10.0/mcs/class/System.XML/System.Xml/XmlTextReader.cs:2795
at Mono.Xml2.XmlTextReader.ReadAttributes (Boolean isXmlDecl) [0x00084] in /c/home/daniel/mono-install/mono-3.10.0/mcs/class/System.XML/System.Xml/XmlTextReader.cs:1760
at Mono.Xml2.XmlTextReader.ReadStartTag () [0x00086] in /c/home/daniel/mono-install/mono-3.10.0/mcs/class/System.XML/System.Xml/XmlTextReader.cs:1350
at Mono.Xml2.XmlTextReader.ReadContent () [0x00133] in /c/home/daniel/mono-install/mono-3.10.0/mcs/class/System.XML/System.Xml/XmlTextReader.cs:1282
at Mono.Xml2.XmlTextReader.Read () [0x00141] in /c/home/daniel/mono-install/mono-3.10.0/mcs/class/System.XML/System.Xml/XmlTextReader.cs:573
at System.Xml.XmlTextReader.Read () [0x0006b] in /c/home/daniel/mono-install/mono-3.10.0/mcs/class/System.XML/System.Xml/XmlTextReader2.cs:566
at Mono.Xml.XmlFilterReader.Read () [0x00000] in /c/home/daniel/mono-install/mono-3.10.0/mcs/class/System.XML/Mono.Xml/XmlFilterReader.cs:235
at Mono.Xml.XmlFilterReader.Read () [0x00000] in /c/home/daniel/mono-install/mono-3.10.0/mcs/class/System.XML/Mono.Xml/XmlFilterReader.cs:235
at Mono.Xml.XmlFilterReader.Read () [0x00061] in /c/home/daniel/mono-install/mono-3.10.0/mcs/class/System.XML/Mono.Xml/XmlFilterReader.cs:243

I realise I’m using a very old version of Mono, but it’s been working well for me until recently.

Any ideas what might be going on here?


  1. Update mono, 4.6 or higher, but 5.18 is out now
  2. Post the debug logs and link them here as requested, the snippet doesn’t tell us anything other than something in mono failed


Unfortunately I don’t think it will be possible for me to update Mono – I’m running Sonarr on my Readynas Duo v2, which is running quite an old version of Debian (Squeeze). As far as I can tell no later version of Mono can be run on the Readynas.

Have there been any recent changes to Sonarr that would require a more recent Mono? As I say, it’s been working pretty well until about three weeks ago.

I will send a debug log tomorrow once my API limits have renewed so I can get some meaningful log files.


We haven’t supported mono 3.x for some time now, we’ve seen issues in some setups (depending on how it’s compiled), if it works great, but we don’t troubleshoot oddities if it’s being used, too often that’s the cause.


OK, I’m going to retire Sonarr on my Netgear and run it on a Raspberry Pi instead – I can run a more recent version of Mono there.

closed #6

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.