Sonarr, Mono, and TLS, Oh My
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 to an instance of an object)
The fix is simple but obscure:
Go here:
/etc/systemd/system/multi-user.target.wants/sonarr.service
Add this under [Service]
Environment=MONO_TLS_PROVIDER=legacy