Sonarr not connecting to utorrent unless i manually open the web ui

So it seems that sonarr wont connect to utorrent when first opened.

However, if i open the utorrent webui myself in my browser, sonarr connects then.

Any idea what could cause this?
the related log

HttpClient HTTP Error - Res: [GET] http://localhost:8080/gui/?token=(removed)&list=1: 400.BadRequest 11:07pm

UTorrent NzbDrone.Core.Download.Clients.DownloadClientException: Unable to connect to uTorrent, please check your settings —> 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:8080
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, Exception& exception)
— End of inner exception stack trace —
at System.Net.HttpWebRequest.GetResponse()
at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse(HttpRequest request, CookieContainer cookies) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Http\Dispatchers\ManagedHttpDispatcher.cs:line 76
at NzbDrone.Common.Http.Dispatchers.FallbackHttpDispatcher.GetResponse(HttpRequest request, CookieContainer cookies) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Http\Dispatchers\FallbackHttpDispatcher.cs:line 60
at NzbDrone.Common.Http.HttpClient.Execute(HttpRequest request) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Http\HttpClient.cs:line 70
at NzbDrone.Core.Download.Clients.UTorrent.UTorrentProxy.ProcessRequest(HttpRequestBuilder requestBuilder, UTorrentSettings settings) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\uTorrent\UTorrentProxy.cs:line 183
— End of inner exception stack trace —
at NzbDrone.Core.Download.Clients.UTorrent.UTorrentProxy.ProcessRequest(HttpRequestBuilder requestBuilder, UTorrentSettings settings) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\uTorrent\UTorrentProxy.cs:line 204
at NzbDrone.Core.Download.Clients.UTorrent.UTorrentProxy.GetTorrents(String cacheID, UTorrentSettings settings) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\uTorrent\UTorrentProxy.cs:line 81
at NzbDrone.Core.Download.Clients.UTorrent.UTorrent.GetItems() in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\uTorrent\UTorrent.cs:line 82: Unable to connect to uTorrent, please check your settings

It’s being refused, by a firewall, the port not being open/listening or something else, Sonarr should have no issues connecting, but I’m not sure why it would be failing until you open it in a browser.

It’s very odd.

Add to that when i try to open utorrent’s web ui: the first and second time i try the browser tells me its an invalid request. on the third it opens it no problem.

Sounds like the uTorrent WebUI really has issues, either they’re going to need to fix it or you’ll need to replace it.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.