Connection Refused Errors

Things have been working great for several weeks. I know almost nothing about Linux, but I can follow instructions. Running Ubuntu 14.04. All my favorite shows downloading just fine.

I haven’t played a video game on my PC since installing Ubuntu, so tonight I installed Steam. After looking around for a while at all the games I might buy, and without actually buying any, I realized that my shows for this evening were not downloading. I saw loads of errors. I uninstalled Steam, rebooted, and found still more errors.

Did I break Sonarr by installing Steam? Can I fix it?

This error is typical:

NzbDrone Error Pipeline: Request Failed: Error: ConnectFailure (Connection refused)

System.Net.WebException: Error: ConnectFailure (Connection refused) —> System.Net.Sockets.SocketException: Connection refused
at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x00000] in :0
at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) [0x00000] in :0
— End of inner exception stack trace —
at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in :0
at System.Net.HttpWebRequest.GetResponse () [0x00000] in :0
at RestSharp.Http.GetRawResponse (System.Net.HttpWebRequest request) [0x00000] in :0

Here is another:

RestSharpExtensions: Error communicating with server: Error: ConnectFailure (Connection refused)

System.Net.WebException: Error: ConnectFailure (Connection refused) —> System.Net.Sockets.SocketException: Connection refused
at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x00000] in :0
at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) [0x00000] in :0
— End of inner exception stack trace —
at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in :0
at System.Net.HttpWebRequest.GetResponse () [0x00000] in :0
at RestSharp.Http.GetRawResponse (System.Net.HttpWebRequest request) [0x00000] in :0

Please hastebin debug logs with mono running with the --debug switch, those logs don’t provide enough context to show where its failing or line numbers.

I set logging flag to “debug” and restarted Sonarr. Here part of the log file. I think it is relevant:

15-5-7 23:22:19.7|Debug|TransmissionProxy|Url: http://localhost:9091/transmission/rpc GetSessionId
15-5-7 23:22:19.7|Debug|RestSharpExtensions|Validating Responses from [GET] [http://localhost:9091/transmission/rpc] status: [0]
15-5-7 23:22:19.7|Error|RestSharpExtensions|Error communicating with server

System.Net.WebException: Error: ConnectFailure (Connection refused) —> System.Net.Sockets.SocketException: Connection refused
at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x00000] in :0
at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) [0x00000] in :0
— End of inner exception stack trace —
at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in :0
at System.Net.HttpWebRequest.GetResponse () [0x00000] in :0
at RestSharp.Http.GetRawResponse (System.Net.HttpWebRequest request) [0x00000] in :0

15-5-7 23:22:19.8|Warn|DownloadMonitoringService|Unable to retrieve queue and history items from Transmission

System.Net.WebException: Error: ConnectFailure (Connection refused) —> System.Net.Sockets.SocketException: Connection refused
at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x00000] in :0
at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) [0x00000] in :0
— End of inner exception stack trace —
at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in :0
at System.Net.HttpWebRequest.GetResponse () [0x00000] in :0
at RestSharp.Http.GetRawResponse (System.Net.HttpWebRequest request) [0x00000] in :0

Is transmission still running?

Yes, Transmission is still running. It autostarts when I boot the PC.

Doh! Your question got me thinking. I had forgotten completely that I had been investigating Transmission’s preferences, which I had not ever done before, just to see what the various options were. There is an option I changed yesterday just because I thought it looked like a security issue.

Remote > Allow Remote Access

I turned that option off, not realizing that remote access was limited to 127.0.0.1. And then went looking at steam and forgot all about the fact that I had changed a setting.

I should have to write “I will not change default settings without understanding them” a hundred times.

Thank you for your question. It helped me remember what a “genius” I am.