Unable to connect to indexer or sabnzbd on CENTOS 6.4

So after a hell of a battle in Centos I am very close to getting this thing running. Initially I was able to connect to Sabnzbd and my indexer (nzb.su) but was unable to search for any items, etc. I had some older version of mono on the box and after some searching I was able to find the repo with the latest version (mono-opt 4.2?). Everything seemed to be working, and at least I can see log files now. So I attempted to connect the indexer and connect to Sabn and came back with the below results when clicking “test”:

INDEXER LOG

Message

Unable to connect to indexer: unexpected end of file. Current depth is 4 Line 23, position 122.: unexpected end of file. Current depth is 4 Line 23, position 122.

Exception:

System.Xml.XmlException: unexpected end of file. Current depth is 4 Line 23, position 122.
at Mono.Xml2.XmlTextReader.ReadContent () [0x00000] in :0
at Mono.Xml2.XmlTextReader.Read () [0x00000] in :0
at System.Xml.XmlTextReader.Read () [0x00000] in :0
at Mono.Xml.XmlFilterReader.Read () [0x00000] in :0
at Mono.Xml.XmlFilterReader.Read () [0x00000] in :0
at System.Xml.Linq.XNode.ReadFrom (System.Xml.XmlReader r, LoadOptions options) [0x00000] in :0
at System.Xml.Linq.XContainer.ReadContentFrom (System.Xml.XmlReader reader, LoadOptions options) [0x00000] in :0
at System.Xml.Linq.XElement.LoadCore (System.Xml.XmlReader r, LoadOptions options) [0x00000] in :0
at System.Xml.Linq.XNode.ReadFrom (System.Xml.XmlReader r, LoadOptions options) [0x00000] in :0
at System.Xml.Linq.XContainer.ReadContentFrom (System.Xml.XmlReader reader, LoadOptions options) [0x00000] in :0
at System.Xml.Linq.XElement.LoadCore (System.Xml.XmlReader r, LoadOptions options) [0x00000] in :0
at System.Xml.Linq.XNode.ReadFrom (System.Xml.XmlReader r, LoadOptions options) [0x00000] in :0
at System.Xml.Linq.XContainer.ReadContentFrom (System.Xml.XmlReader reader, LoadOptions options) [0x00000] in :0
at System.Xml.Linq.XElement.LoadCore (System.Xml.XmlReader r, LoadOptions options) [0x00000] in :0
at System.Xml.Linq.XNode.ReadFrom (System.Xml.XmlReader r, LoadOptions options) [0x00000] in :0
at System.Xml.Linq.XContainer.ReadContentFrom (System.Xml.XmlReader reader, LoadOptions options) [0x00000] in :0
at System.Xml.Linq.XElement.LoadCore (System.Xml.XmlReader r, LoadOptions options) [0x00000] in :0
at System.Xml.Linq.XNode.ReadFrom (System.Xml.XmlReader r, LoadOptions options) [0x00000] in :0
at System.Xml.Linq.XContainer.ReadContentFrom (System.Xml.XmlReader reader, LoadOptions options) [0x00000] in :0
at System.Xml.Linq.XDocument.ReadContent (System.Xml.XmlReader reader, LoadOptions options) [0x00000] in :0
at System.Xml.Linq.XDocument.LoadCore (System.Xml.XmlReader reader, LoadOptions options) [0x00000] in :0
at System.Xml.Linq.XDocument.Load (System.Xml.XmlReader reader, LoadOptions options) [0x00000] in :0
at System.Xml.Linq.XDocument.Load (System.Xml.XmlReader reader) [0x00000] in :0
at NzbDrone.Core.Indexers.RssParser.LoadXmlDocument (NzbDrone.Core.Indexers.IndexerResponse indexerResponse) [0x00000] in :0

SABNZBD LOG

Message

Test aborted due to exception: Unable to connect to SABnzbd, please check your settings

Exception

NzbDrone.Core.Download.Clients.DownloadClientException: Unable to connect to SABnzbd, please check your settings —> System.Net.WebException: Error: SendFailure (Error writing headers) —> System.Net.WebException: Error writing headers —> System.IO.IOException: Error while sending TLS Alert (Fatal:InternalError): System.IO.IOException: The authentication or decryption has failed. —> Mono.Security.Protocol.Tls.TlsException: The authentication or decryption has failed.
at Mono.Security.Protocol.Tls.RecordProtocol.ReadRecordBuffer (Int32 contentType, System.IO.Stream record) [0x00000] in :0
at Mono.Security.Protocol.Tls.RecordProtocol.InternalReceiveRecordCallback (IAsyncResult asyncResult) [0x00000] in :0
— End of inner exception stack trace —
at Mono.Security.Protocol.Tls.SslClientStream.EndNegotiateHandshake (IAsyncResult result) [0x00000] in :0
at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (IAsyncResult asyncResult) [0x00000] in :0 —> System.IO.IOException: The authentication or decryption has failed. —> Mono.Security.Protocol.Tls.TlsException: The authentication or decryption has failed.
at Mono.Security.Protocol.Tls.RecordProtocol.ReadRecordBuffer (Int32 contentType, System.IO.Stream record) [0x00000] in :0
at Mono.Security.Protocol.Tls.RecordProtocol.InternalReceiveRecordCallback (IAsyncResult asyncResult) [0x00000] in :0
— End of inner exception stack trace —
at Mono.Security.Protocol.Tls.SslClientStream.EndNegotiateHandshake (IAsyncResult result) [0x00000] in :0
at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (IAsyncResult asyncResult) [0x00000] in :0
— End of inner exception stack trace —
at System.Net.WebConnection.EndWrite (System.Net.HttpWebRequest request, Boolean throwOnError, IAsyncResult result) [0x00000] in :0
at System.Net.WebConnectionStream+c__AnonStorey1.<>m__0 (IAsyncResult r) [0x00000] in :0
— End of inner exception stack trace —
— End of inner exception stack trace —
at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in :0
at System.Net.HttpWebRequest.GetResponse () [0x00000] in :0
at RestSharp.Http.GetRawResponse (System.Net.HttpWebRequest request) [0x00000] in :0
— End of inner exception stack trace —
at NzbDrone.Core.Download.Clients.Sabnzbd.SabnzbdProxy.CheckForError (IRestResponse response) [0x00000] in :0
at NzbDrone.Core.Download.Clients.Sabnzbd.SabnzbdProxy.ProcessRequest (IRestRequest restRequest, System.String action, NzbDrone.Core.Download.Clients.Sabnzbd.SabnzbdSettings settings) [0x00000] in :0
at NzbDrone.Core.Download.Clients.Sabnzbd.SabnzbdProxy.GetConfig (NzbDrone.Core.Download.Clients.Sabnzbd.SabnzbdSettings settings) [0x00000] in :0
at NzbDrone.Core.Download.Clients.Sabnzbd.Sabnzbd.TestAuthentication () [0x00000] in :0

The issue with nzb.su looks like a bad/incomplete response from them, are you able to test with another indexer such as usenet crawler?

The SAB error is SSL related, possible using an SSL protocol that mono doesn’t support, try connecting via http.

I was able to create a quick usenet crawler and it did connect. So there is something funky going on. I have 2 co-workers though who confirm it is working on a different platform (ubuntu server). still feels “mono-y.”

Sabn is a different story. If SSL is checked to on I get a bad host and nothing works for it (0.0.0.0, localhost…nothing). If I shut it off I get a bad API notification when I test.

The easiest solution so far may be to just switch platforms, however I will keep experimenting until I get home from work in the evening. :expressionless:

Thanks markus!