Running on Ubuntu Server 12.04
First off, NzbDrone is phenomenal. Great job devs. Now that I’m done schmoozing, I’m having an issue adding an indexer.
I’m trying to add a private indexer that is definitely Newznab based. I’m not supposed to post it publicly, though I would be happy to PM or something.
See error: http://pastebin.com/raw.php?i=uGL1fEz3
After talking back and forth with the guys over at the indexer site, they believed it was an SSL certificate issue. After doing some research, I imported the website’s cert by adding it into /usr/share/ca-certificates, adding an entry into /etc/ca-certificates.conf, and pushing an update-ca-certificates.
So, either I did it wrong, or that is not the issue. Any thoughts?
Typically we see a much different issue with SSL certs, but drone actually doesn’t validate certs (allows for self signed certs). This stackoverflow question (and answer) might help: http://stackoverflow.com/questions/10781279/c-sharp-the-authentication-or-decryption-has-failed-error-while-using-twitt
If you could PM me the indexer I’ll try to investigate it further.
Thanks for PMing me the link, I tried connecting with an invalid API key and was met with the same error you got, I then tried running this two commands:
mozroots --import --ask-remove
and mozroots --import --sync
which did not resolve the issue (these commands get the Firefox accepted certificates and import them into mono, I believe they do almost the same thing, but I tried both, without success.
What finally worked was upgrading to mono 3.2, which we recommend as it seems to be a bit more stable under certain conditions. I used this answer on Stack Overflow to upgrade: http://stackoverflow.com/questions/13365158/installing-mono-3-x-3-0-x-and-or-3-2-x/13384233#13384233 - you don’t need to upgrade everything, but you will need to update mono at a minimum.
I’d recommend updating mono and trying again, if its still not working run the mozroots commands (one at a time), you may need mono-devel or mono-complete installed (I’m not sure). The other option would be to use http instead of https with the site if they allow it.
Please let us know if this works or not.
You. Are. Great.
Thank you so much. When you initially linked me to that stackflow article, I thought it was a mistake. I was thinking “uhm… twitter?”. Full disclosure, I had no clue what mono was.
I performed the following steps:
-Installed mono-devel mono-complete
I looked into it and it makes sense. Thank you very much. I appreciate it. Problem resolved!
Awesome, thanks for confirming it works. Glad its working for you.