Getting an error in my logs:
Error communicating with server: Unable to connect to the remote server
This is the log:
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8883
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at RestSharp.Http.GetRawResponse(HttpWebRequest request)
at RestSharp.Http.GetResponse(HttpWebRequest request)
Here is another log entry:
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8883
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
--- End of inner exception stack trace ---
at NzbDrone.Core.Rest.RestSharpExtensions.ValidateResponse(IRestResponse response, IRestClient restClient) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Rest\RestSharpExtensions.cs:line 33
at NzbDrone.Core.Download.Clients.UTorrent.UTorrentProxy.GetAuthToken(IRestClient client) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\Clients\uTorrent\UTorrentProxy.cs:line 228
at NzbDrone.Core.Download.Clients.UTorrent.UTorrentProxy.BuildClient(UTorrentSettings settings) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\Clients\uTorrent\UTorrentProxy.cs:line 254
at NzbDrone.Core.Download.Clients.UTorrent.UTorrentProxy.ProcessRequest(IEnumerable`1 arguments, UTorrentSettings settings) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\Clients\uTorrent\UTorrentProxy.cs:line 174
at NzbDrone.Core.Download.Clients.UTorrent.UTorrentProxy.GetConfig(UTorrentSettings settings) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\Clients\uTorrent\UTorrentProxy.cs:line 54
at NzbDrone.Core.Download.Clients.UTorrent.UTorrent.GetStatus() in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\Clients\uTorrent\UTorrent.cs:line 159
at NzbDrone.Core.HealthCheck.Checks.ImportMechanismCheck.<Check>b__0(IDownloadClient v) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\HealthCheck\Checks\ImportMechanismCheck.cs:line 25
at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at NzbDrone.Core.HealthCheck.Checks.ImportMechanismCheck.Check() in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\HealthCheck\Checks\ImportMechanismCheck.cs:line 25
at NzbDrone.Core.HealthCheck.HealthCheckService.<PerformHealthCheck>b__0(IProvideHealthCheck c) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\HealthCheck\HealthCheckService.cs:line 56
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at NzbDrone.Core.HealthCheck.HealthCheckService.PerformHealthCheck(Func`2 predicate) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\HealthCheck\HealthCheckService.cs:line 55
at NzbDrone.Core.HealthCheck.HealthCheckService.HandleAsync(ApplicationStartedEvent message) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\HealthCheck\HealthCheckService.cs:line 92
at NzbDrone.Core.Messaging.Events.EventAggregator.<>c__DisplayClass3`1.<PublishEvent>b__0() in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 72
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
It’s worth mentioning that I used the NSSM (Non-Sucking Service Manager) to install Sonarr as a system service instead of a user based service. Settings all line up though.