{"id":3808,"date":"2017-08-22T22:56:29","date_gmt":"2017-08-23T05:56:29","guid":{"rendered":"http:\/\/www.meehawl.com\/Blogfiles\/?p=3808"},"modified":"2017-08-22T22:56:29","modified_gmt":"2017-08-23T05:56:29","slug":"sonarr-mono-and-tls-oh-my","status":"publish","type":"post","link":"https:\/\/www.meehawl.com\/Blogfiles\/2017\/08\/22\/22\/56\/sonarr-mono-and-tls-oh-my\/","title":{"rendered":"Sonarr, Mono, and TLS, Oh My"},"content":{"rendered":"<p>So my <a href=\"https:\/\/sonarr.tv\/\">Sonarr<\/a> on CentOS 7.3 just stopped working. Error contacting all <a href=\"https:\/\/github.com\/Sonarr\/Sonarr\/wiki\/Supported-Indexers\">newsnab<\/a> indexers over https. Among a bunch of traces to Mono, it was throwing this exception:<\/p>\n<p><code>Error: SecureChannelFailure (Object reference not set to an instance of an object)<\/code><\/p>\n<p>The <a href=\"https:\/\/forums.sonarr.tv\/t\/newznab-indexer-error-error-securechannelfailure-object-reference-not-set-to-an-instance-of-an-object-system-nullreferenceexception-object-reference-not-set-to-an-instance-of-an-object\/14769\">fix is simple but obscure:<\/a><\/p>\n<p>Go here:<\/p>\n<p><code>\/etc\/systemd\/system\/multi-user.target.wants\/sonarr.service<\/code><\/p>\n<p>Add this under <code>[Service]<\/code><\/p>\n<p><code>Environment=MONO_TLS_PROVIDER=legacy<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So my Sonarr on CentOS 7.3 just stopped working. Error contacting all newsnab indexers over https. Among a bunch of traces to Mono, it was throwing this exception: Error: SecureChannelFailure (Object reference not set&#46;&#46;&#46;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[814,1],"tags":[1919,1916,1917,1918,1915],"class_list":["post-3808","post","type-post","status-publish","format-standard","hentry","category-technology","category-uncategorized","tag-mono","tag-newsnab","tag-sonarr","tag-tls","tag-usenet"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.meehawl.com\/Blogfiles\/wp-json\/wp\/v2\/posts\/3808","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.meehawl.com\/Blogfiles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.meehawl.com\/Blogfiles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.meehawl.com\/Blogfiles\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.meehawl.com\/Blogfiles\/wp-json\/wp\/v2\/comments?post=3808"}],"version-history":[{"count":0,"href":"https:\/\/www.meehawl.com\/Blogfiles\/wp-json\/wp\/v2\/posts\/3808\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.meehawl.com\/Blogfiles\/wp-json\/wp\/v2\/media?parent=3808"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.meehawl.com\/Blogfiles\/wp-json\/wp\/v2\/categories?post=3808"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.meehawl.com\/Blogfiles\/wp-json\/wp\/v2\/tags?post=3808"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}