The application “Sonarr” can’t be opened, MacOS 10.15

Sonarr version (exact version): 3.0 GNU GPL v3
Mono version (if Sonarr is not running on Windows): MonoFramework-MDK-6.4.0.198.macos10.xamarin.universal
OS: MacOS 10.15 Beta (19A582a)
Debug logs: Unavailable (?)
Description of issue: Unable to run Sonarr app

I have been having trouble with Sonarr not post-processing downloads ever since I installed one of the recent MacOS betas (I know, I know…). Anyhow, today I discovered that there is a newer version of the Sonarr app, so I hoped that would fix the problem. Now, I can’t even get the app to load. I have tried rebooting, and that didn’t help. I also tried installing the newest Mono version, and that didn’t help either. I had even tried to reinstall the previous version of Sonarr before I updated Mono and after, but that didn’t help, either.

Any advice?

You’re going to need to look at the logs to see if Sonarr is starting/why it’s failing, but doubling down and upgrading to the v3 beta while having an issue with importing wasn’t advisable.

How will the logs help if the app isn’t running?

Last debug log is here;

https://pastebin.com/90dAqLVQ

It’ll tell you why Sonarr is failing to start (if it gets that far). In this case it’s failing before it gets to Sonarr because there isn’t anything logged.

Tough to say what it could be, starting with mono is probably a good idea. You could also try running through terminal: mono --debug /path/to/Sonarr.exe (offhand I forget the path to Sonarr.app and the exe inside).

I’ve been thinking about your comment, because it was really bothering. When things sometimes don’t work right, a very common solution is to make sure you are using the most up-to-date version, hence my reason for updating. I don’t really see why you make that comment; what was your intention? To make me feel foolish? That’s not very helpful.

What I know now, is that there seems to be a problem with the localhost port blocking in the new OS. If anyone can help me with a work around, it would be much appreciated.

After running the command mono /Applications/Sonarr.app/Contents/MacOS/NzbDrone.exe
I get this. Any ideas?

Last login: Sat Oct 12 13:55:30 on console
jbone@Jasons-MacBook-Pro ~ % mono /Applications/Sonarr.app/Contents/MacOS/NzbDrone.exe
[Info] Bootstrap: Starting Sonarr - /Applications/Sonarr.app/Contents/MacOS/NzbDrone.exe - Version 2.0.0.5338
[Debug] ProcessProvider: Found 0 processes with the name: NzbDrone.Console
[Debug] ProcessProvider: Found 0 processes with the name: NzbDrone
[Info] Router: Application mode: Interactive
[Debug] Router: Tray selected
[Info] MigrationLogger: *** Migrating data source=/Users/jbone/.config/NzbDrone/nzbdrone.db;cache size=-10000;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
[Debug] MigrationLogger: Took: 00:00:00.2677867
[Info] MigrationLogger: *** Migrating data source=/Users/jbone/.config/NzbDrone/logs.db;cache size=-10000;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
[Debug] MigrationLogger: Took: 00:00:00.0203621
[Info] OwinHostController: Listening on the following URLs:
[Info] OwinHostController: http://*:8989/
[Debug] OwinAppFactory: Attaching NzbDroneVersionMiddleWare to host
[Debug] OwinAppFactory: Attaching SignalRMiddleWare to host
[Debug] OwinAppFactory: Attaching NancyMiddleWare to host
[Info] NancyBootstrapper: Starting Web Server
[Debug] BrowserService: non-interactive runtime. Won’t attempt to open browser.
[Trace] EventAggregator: Publishing ApplicationStartedEvent
[Trace] EventAggregator: ApplicationStartedEvent -> QualityDefinitionService
[Debug] QualityDefinitionService: Setting up default quality config
[Trace] EventAggregator: ApplicationStartedEvent <- QualityDefinitionService
[Trace] EventAggregator: ApplicationStartedEvent -> ProgressMessageTarget
[Trace] EventAggregator: ApplicationStartedEvent <- ProgressMessageTarget
[Trace] EventAggregator: ApplicationStartedEvent -> ProfileService
[Trace] EventAggregator: ApplicationStartedEvent <- ProfileService
[Trace] EventAggregator: ApplicationStartedEvent -> NotificationFactory
[Debug] NotificationFactory: Initializing Providers. Count 20
[Trace] EventAggregator: ApplicationStartedEvent <- NotificationFactory
[Trace] EventAggregator: ApplicationStartedEvent -> CommandExecutor
[Trace] EventAggregator: ApplicationStartedEvent <- CommandExecutor
[Trace] EventAggregator: ApplicationStartedEvent -> CommandQueueManager
[Trace] CommandQueueManager: Orphaning incomplete commands
[Trace] EventAggregator: ApplicationStartedEvent <- CommandQueueManager
[Trace] EventAggregator: ApplicationStartedEvent -> Scheduler
[Trace] EventAggregator: ApplicationStartedEvent <- Scheduler
[Trace] EventAggregator: ApplicationStartedEvent -> TaskManager
[Trace] ConfigService: Using default config value for ‘rsssyncinterval’ defaultValue:‘15’
[Trace] TaskManager: Initializing jobs. Available: 10 Existing: 10
[Trace] EventAggregator: ApplicationStartedEvent <- TaskManager
[Trace] EventAggregator: ApplicationStartedEvent -> MetadataFactory
[Debug] MetadataFactory: Initializing Providers. Count 4
[Trace] EventAggregator: ApplicationStartedEvent <- MetadataFactory
[Trace] EventAggregator: ApplicationStartedEvent -> DownloadClientFactory
[Debug] DownloadClientFactory: Initializing Providers. Count 15
[Trace] EventAggregator: ApplicationStartedEvent <- DownloadClientFactory
[Trace] EventAggregator: ApplicationStartedEvent -> IndexerFactory
[Debug] IndexerFactory: Initializing Providers. Count 12
[Trace] EventAggregator: ApplicationStartedEvent <- IndexerFactory
[Trace] EventAggregator: ApplicationStartedEvent -> UserService
[Trace] EventAggregator: ApplicationStartedEvent <- UserService
[Trace] EventAggregator: ApplicationStartedEvent ~> ConfigFileProvider
[Trace] EventAggregator: ApplicationStartedEvent ~> HealthCheckService
[Trace] EventAggregator: ApplicationStartedEvent <~ ConfigFileProvider
[Trace] HttpClient: Req: [GET] http://localhost:9091/transmission/rpc
[Trace] ConfigService: Using default config value for ‘proxyenabled’ defaultValue:‘False’
[Debug] DownloadClientCheck: Unable to communicate with Transmission

[v2.0.0.5338] NzbDrone.Core.Download.Clients.DownloadClientUnavailableException: Unable to connect to Transmission, please check your settings —> System.Net.WebException: Error: ConnectFailure (Connection refused): ‘http://localhost:9091/transmission/rpc’ —> System.Net.WebException: Error: ConnectFailure (Connection refused) —> System.Net.Sockets.SocketException: Connection refused
at System.Net.Sockets.SocketAsyncResult.CheckIfThrowDelayedException () [0x00014] in <6aa0b19d109a447c94d1b43ec4471dc6>:0
at System.Net.Sockets.Socket.EndConnect (System.IAsyncResult asyncResult) [0x0002c] in <6aa0b19d109a447c94d1b43ec4471dc6>:0
at System.Net.Sockets.SocketTaskExtensions+<>c.b__2_1 (System.IAsyncResult asyncResult) [0x00006] in <6aa0b19d109a447c94d1b43ec4471dc6>:0
at System.Threading.Tasks.TaskFactory1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func2[T,TResult] endFunction, System.Action1[T] endAction, System.Threading.Tasks.Task1[TResult] promise, System.Boolean requiresSynchronization) [0x00019] in :0
— End of stack trace from previous location where exception was thrown —

at System.Net.WebConnection.Connect (System.Net.WebOperation operation, System.Threading.CancellationToken cancellationToken) [0x0019b] in <6aa0b19d109a447c94d1b43ec4471dc6>:0
— End of inner exception stack trace —
at System.Net.WebConnection.Connect (System.Net.WebOperation operation, System.Threading.CancellationToken cancellationToken) [0x00217] in <6aa0b19d109a447c94d1b43ec4471dc6>:0
at System.Net.WebConnection.InitConnection (System.Net.WebOperation operation, System.Threading.CancellationToken cancellationToken) [0x000cc] in <6aa0b19d109a447c94d1b43ec4471dc6>:0
at System.Net.WebOperation.Run () [0x0009a] in <6aa0b19d109a447c94d1b43ec4471dc6>:0
at System.Net.WebCompletionSource1[T].WaitForCompletion () [0x00094] in <6aa0b19d109a447c94d1b43ec4471dc6>:0 at System.Net.HttpWebRequest.RunWithTimeoutWorker[T] (System.Threading.Tasks.Task1[TResult] workerTask, System.Int32 timeout, System.Action abort, System.Func1[TResult] aborted, System.Threading.CancellationTokenSource cts) [0x000f8] in <6aa0b19d109a447c94d1b43ec4471dc6>:0 at System.Net.HttpWebRequest.GetResponse () [0x00016] in <6aa0b19d109a447c94d1b43ec4471dc6>:0 at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x0011b] in <76bdc4530d5346bba006f54e6ddfeb8a>:0 --- End of inner exception stack trace --- at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x001f6] in <76bdc4530d5346bba006f54e6ddfeb8a>:0 at NzbDrone.Common.Http.Dispatchers.FallbackHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x000b5] in <76bdc4530d5346bba006f54e6ddfeb8a>:0 at NzbDrone.Common.Http.HttpClient.ExecuteRequest (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookieContainer) [0x0007e] in <76bdc4530d5346bba006f54e6ddfeb8a>:0 at NzbDrone.Common.Http.HttpClient.Execute (NzbDrone.Common.Http.HttpRequest request) [0x00008] in <76bdc4530d5346bba006f54e6ddfeb8a>:0 at NzbDrone.Core.Download.Clients.Transmission.TransmissionProxy.AuthenticateClient (NzbDrone.Common.Http.HttpRequestBuilder requestBuilder, NzbDrone.Core.Download.Clients.Transmission.TransmissionSettings settings, System.Boolean reauthenticate) [0x0004f] in <808631c82f974aa9ade775cc9d46232a>:0 at NzbDrone.Core.Download.Clients.Transmission.TransmissionProxy.ProcessRequest (System.String action, System.Object arguments, NzbDrone.Core.Download.Clients.Transmission.TransmissionSettings settings) [0x0001f] in <808631c82f974aa9ade775cc9d46232a>:0 --- End of inner exception stack trace --- at NzbDrone.Core.Download.Clients.Transmission.TransmissionProxy.ProcessRequest (System.String action, System.Object arguments, NzbDrone.Core.Download.Clients.Transmission.TransmissionSettings settings) [0x00144] in <808631c82f974aa9ade775cc9d46232a>:0 at NzbDrone.Core.Download.Clients.Transmission.TransmissionProxy.GetTorrentStatus (System.Collections.Generic.IEnumerable1[T] hashStrings, NzbDrone.Core.Download.Clients.Transmission.TransmissionSettings settings) [0x0009e] in <808631c82f974aa9ade775cc9d46232a>:0
at NzbDrone.Core.Download.Clients.Transmission.TransmissionProxy.GetTorrentStatus (NzbDrone.Core.Download.Clients.Transmission.TransmissionSettings settings) [0x00000] in <808631c82f974aa9ade775cc9d46232a>:0
at NzbDrone.Core.Download.Clients.Transmission.TransmissionProxy.GetTorrents (NzbDrone.Core.Download.Clients.Transmission.TransmissionSettings settings) [0x00000] in <808631c82f974aa9ade775cc9d46232a>:0
at NzbDrone.Core.Download.Clients.Transmission.TransmissionBase.GetItems () [0x0000c] in <808631c82f974aa9ade775cc9d46232a>:0
at NzbDrone.Core.HealthCheck.Checks.DownloadClientCheck.Check () [0x0003d] in <808631c82f974aa9ade775cc9d46232a>:0

[Trace] ConfigService: Using default config value for ‘downloadedepisodesfolder’ defaultValue:’’
[Warn] MonoDebugCheck: Mono is not running with --debug switch
[Trace] ConfigService: Using default config value for ‘downloadedepisodesfolder’ defaultValue:’’
[Trace] ConfigService: Using default config value for ‘downloadedepisodesfolder’ defaultValue:’’
[Trace] HttpClient: Req: [GET] http://localhost:9091/transmission/rpc
[Trace] ConfigService: Using default config value for ‘proxyenabled’ defaultValue:‘False’
[Debug] MonoVersionCheck: Mono version is 3.10 or better: 6.4.0.198
[Trace] ConfigService: Using default config value for ‘proxyenabled’ defaultValue:‘False’
[Trace] HttpClient: Req: [GET] http://services.sonarr.tv/v1/update/master?version=2.0.0.5338&os=osx&runtimeVer=6.4.0.198
[Trace] ConfigService: Using default config value for ‘proxyenabled’ defaultValue:‘False’
[Trace] HttpClient: Res: [GET] http://services.sonarr.tv/v1/update/master?version=2.0.0.5338&os=osx&runtimeVer=6.4.0.198: 200.OK (409 ms)
[Trace] EventAggregator: Publishing HealthCheckCompleteEvent
[Trace] EventAggregator: HealthCheckCompleteEvent -> HealthModule
[Trace] EventAggregator: HealthCheckCompleteEvent <- HealthModule
[Trace] EventAggregator: ApplicationStartedEvent <~ HealthCheckService
[Trace] Scheduler: Pending Tasks: 2
[Trace] CommandQueueManager: Publishing CheckForFinishedDownload
[Trace] CommandQueueManager: Checking if command is queued or started: CheckForFinishedDownload
[Trace] CommandQueueManager: Inserting new command: CheckForFinishedDownload
[Trace] CommandQueueManager: Publishing MessagingCleanup
[Trace] CommandQueueManager: Checking if command is queued or started: MessagingCleanup
[Trace] CommandQueueManager: Inserting new command: MessagingCleanup
[Trace] CommandExecutor: CheckForFinishedDownloadCommand -> DownloadMonitoringService
[Trace] CommandQueueManager: Marking command as started: CheckForFinishedDownload
[Trace] CommandExecutor: MessagingCleanupCommand -> CleanupCommandMessagingService
[Trace] CommandQueueManager: Marking command as started: MessagingCleanup
[Trace] CommandQueueManager: Cleaning up old commands
[Trace] CommandQueueManager: Updating command status
[Trace] EventAggregator: Publishing CommandExecutedEvent
[Trace] EventAggregator: CommandExecutedEvent -> TaskManager
[Trace] TaskManager: Updating last run time for: NzbDrone.Core.Messaging.Commands.MessagingCleanupCommand
[Trace] EventAggregator: CommandExecutedEvent <- TaskManager
[Trace] EventAggregator: CommandExecutedEvent -> TaskModule
[Trace] EventAggregator: CommandExecutedEvent <- TaskModule
[Trace] CommandExecutor: MessagingCleanupCommand <- CleanupCommandMessagingService [00:00:00.0058790]
[Trace] HttpClient: Req: [GET] http://localhost:9091/transmission/rpc
[Trace] ConfigService: Using default config value for ‘proxyenabled’ defaultValue:‘False’
[Trace] EventAggregator: Publishing ProviderStatusChangedEvent
[Warn] DownloadMonitoringService: Unable to retrieve queue and history items from Transmission

[v2.0.0.5338] NzbDrone.Core.Download.Clients.DownloadClientUnavailableException: Unable to connect to Transmission, please check your settings —> System.Net.WebException: Error: ConnectFailure (Connection refused): ‘http://localhost:9091/transmission/rpc’ —> System.Net.WebException: Error: ConnectFailure (Connection refused) —> System.Net.Sockets.SocketException: Connection refused
at System.Net.Sockets.SocketAsyncResult.CheckIfThrowDelayedException () [0x00014] in <6aa0b19d109a447c94d1b43ec4471dc6>:0
at System.Net.Sockets.Socket.EndConnect (System.IAsyncResult asyncResult) [0x0002c] in <6aa0b19d109a447c94d1b43ec4471dc6>:0
at System.Net.Sockets.SocketTaskExtensions+<>c.b__2_1 (System.IAsyncResult asyncResult) [0x00006] in <6aa0b19d109a447c94d1b43ec4471dc6>:0
at System.Threading.Tasks.TaskFactory1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func2[T,TResult] endFunction, System.Action1[T] endAction, System.Threading.Tasks.Task1[TResult] promise, System.Boolean requiresSynchronization) [0x00019] in :0
— End of stack trace from previous location where exception was thrown —

at System.Net.WebConnection.Connect (System.Net.WebOperation operation, System.Threading.CancellationToken cancellationToken) [0x0019b] in <6aa0b19d109a447c94d1b43ec4471dc6>:0
— End of inner exception stack trace —
at System.Net.WebConnection.Connect (System.Net.WebOperation operation, System.Threading.CancellationToken cancellationToken) [0x00217] in <6aa0b19d109a447c94d1b43ec4471dc6>:0
at System.Net.WebConnection.InitConnection (System.Net.WebOperation operation, System.Threading.CancellationToken cancellationToken) [0x000cc] in <6aa0b19d109a447c94d1b43ec4471dc6>:0
at System.Net.WebOperation.Run () [0x0009a] in <6aa0b19d109a447c94d1b43ec4471dc6>:0
at System.Net.WebCompletionSource1[T].WaitForCompletion () [0x00094] in <6aa0b19d109a447c94d1b43ec4471dc6>:0 at System.Net.HttpWebRequest.RunWithTimeoutWorker[T] (System.Threading.Tasks.Task1[TResult] workerTask, System.Int32 timeout, System.Action abort, System.Func1[TResult] aborted, System.Threading.CancellationTokenSource cts) [0x000f8] in <6aa0b19d109a447c94d1b43ec4471dc6>:0 at System.Net.HttpWebRequest.GetResponse () [0x00016] in <6aa0b19d109a447c94d1b43ec4471dc6>:0 at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x0011b] in <76bdc4530d5346bba006f54e6ddfeb8a>:0 --- End of inner exception stack trace --- at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x001f6] in <76bdc4530d5346bba006f54e6ddfeb8a>:0 at NzbDrone.Common.Http.Dispatchers.FallbackHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x000b5] in <76bdc4530d5346bba006f54e6ddfeb8a>:0 at NzbDrone.Common.Http.HttpClient.ExecuteRequest (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookieContainer) [0x0007e] in <76bdc4530d5346bba006f54e6ddfeb8a>:0 at NzbDrone.Common.Http.HttpClient.Execute (NzbDrone.Common.Http.HttpRequest request) [0x00008] in <76bdc4530d5346bba006f54e6ddfeb8a>:0 at NzbDrone.Core.Download.Clients.Transmission.TransmissionProxy.AuthenticateClient (NzbDrone.Common.Http.HttpRequestBuilder requestBuilder, NzbDrone.Core.Download.Clients.Transmission.TransmissionSettings settings, System.Boolean reauthenticate) [0x0004f] in <808631c82f974aa9ade775cc9d46232a>:0 at NzbDrone.Core.Download.Clients.Transmission.TransmissionProxy.ProcessRequest (System.String action, System.Object arguments, NzbDrone.Core.Download.Clients.Transmission.TransmissionSettings settings) [0x0001f] in <808631c82f974aa9ade775cc9d46232a>:0 --- End of inner exception stack trace --- at NzbDrone.Core.Download.Clients.Transmission.TransmissionProxy.ProcessRequest (System.String action, System.Object arguments, NzbDrone.Core.Download.Clients.Transmission.TransmissionSettings settings) [0x00144] in <808631c82f974aa9ade775cc9d46232a>:0 at NzbDrone.Core.Download.Clients.Transmission.TransmissionProxy.GetTorrentStatus (System.Collections.Generic.IEnumerable1[T] hashStrings, NzbDrone.Core.Download.Clients.Transmission.TransmissionSettings settings) [0x0009e] in <808631c82f974aa9ade775cc9d46232a>:0
at NzbDrone.Core.Download.Clients.Transmission.TransmissionProxy.GetTorrentStatus (NzbDrone.Core.Download.Clients.Transmission.TransmissionSettings settings) [0x00000] in <808631c82f974aa9ade775cc9d46232a>:0
at NzbDrone.Core.Download.Clients.Transmission.TransmissionProxy.GetTorrents (NzbDrone.Core.Download.Clients.Transmission.TransmissionSettings settings) [0x00000] in <808631c82f974aa9ade775cc9d46232a>:0
at NzbDrone.Core.Download.Clients.Transmission.TransmissionBase.GetItems () [0x0000c] in <808631c82f974aa9ade775cc9d46232a>:0
at NzbDrone.Core.Download.TrackedDownloads.DownloadMonitoringService.ProcessClientDownloads (NzbDrone.Core.Download.IDownloadClient downloadClient) [0x0000c] in <808631c82f974aa9ade775cc9d46232a>:0

[Trace] EventAggregator: Publishing HealthCheckCompleteEvent
[Trace] EventAggregator: HealthCheckCompleteEvent -> HealthModule
[Trace] EventAggregator: HealthCheckCompleteEvent <- HealthModule
[Trace] EventAggregator: Publishing TrackedDownloadRefreshedEvent
[Trace] EventAggregator: TrackedDownloadRefreshedEvent -> QueueService
[Trace] EventAggregator: Publishing QueueUpdatedEvent
[Trace] EventAggregator: QueueUpdatedEvent -> QueueModule
[Trace] EventAggregator: QueueUpdatedEvent <- QueueModule
[Trace] EventAggregator: TrackedDownloadRefreshedEvent <- QueueService
[Trace] CommandQueueManager: Updating command status
[Trace] EventAggregator: Publishing CommandExecutedEvent
[Trace] EventAggregator: CommandExecutedEvent -> TaskManager
[Trace] TaskManager: Updating last run time for: NzbDrone.Core.Download.CheckForFinishedDownloadCommand
[Trace] EventAggregator: CommandExecutedEvent <- TaskManager
[Trace] EventAggregator: CommandExecutedEvent -> TaskModule
[Trace] EventAggregator: CommandExecutedEvent <- TaskModule
[Trace] CommandExecutor: CheckForFinishedDownloadCommand <- DownloadMonitoringService [00:00:00.1754640]
[Trace] Scheduler: Pending Tasks: 0
[Trace] Scheduler: Pending Tasks: 0
[Trace] Scheduler: Pending Tasks: 1
[Trace] CommandQueueManager: Publishing CheckForFinishedDownload
[Trace] CommandQueueManager: Checking if command is queued or started: CheckForFinishedDownload
[Trace] CommandQueueManager: Inserting new command: CheckForFinishedDownload
[Trace] CommandExecutor: CheckForFinishedDownloadCommand -> DownloadMonitoringService
[Trace] CommandQueueManager: Marking command as started: CheckForFinishedDownload
[Trace] HttpClient: Req: [GET] http://localhost:9091/transmission/rpc
[Trace] ConfigService: Using default config value for ‘proxyenabled’ defaultValue:‘False’
[Trace] EventAggregator: Publishing ProviderStatusChangedEvent
[Warn] DownloadMonitoringService: Unable to retrieve queue and history items from Transmission

[v2.0.0.5338] NzbDrone.Core.Download.Clients.DownloadClientUnavailableException: Unable to connect to Transmission, please check your settings —> System.Net.WebException: Error: ConnectFailure (Connection refused): ‘http://localhost:9091/transmission/rpc’ —> System.Net.WebException: Error: ConnectFailure (Connection refused) —> System.Net.Sockets.SocketException: Connection refused
at System.Net.Sockets.SocketAsyncResult.CheckIfThrowDelayedException () [0x00014] in <6aa0b19d109a447c94d1b43ec4471dc6>:0
at System.Net.Sockets.Socket.EndConnect (System.IAsyncResult asyncResult) [0x0002c] in <6aa0b19d109a447c94d1b43ec4471dc6>:0
at System.Net.Sockets.SocketTaskExtensions+<>c.b__2_1 (System.IAsyncResult asyncResult) [0x00006] in <6aa0b19d109a447c94d1b43ec4471dc6>:0
at System.Threading.Tasks.TaskFactory1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func2[T,TResult] endFunction, System.Action1[T] endAction, System.Threading.Tasks.Task1[TResult] promise, System.Boolean requiresSynchronization) [0x00019] in :0
— End of stack trace from previous location where exception was thrown —

at System.Net.WebConnection.Connect (System.Net.WebOperation operation, System.Threading.CancellationToken cancellationToken) [0x0019b] in <6aa0b19d109a447c94d1b43ec4471dc6>:0
— End of inner exception stack trace —
at System.Net.WebConnection.Connect (System.Net.WebOperation operation, System.Threading.CancellationToken cancellationToken) [0x00217] in <6aa0b19d109a447c94d1b43ec4471dc6>:0
at System.Net.WebConnection.InitConnection (System.Net.WebOperation operation, System.Threading.CancellationToken cancellationToken) [0x000cc] in <6aa0b19d109a447c94d1b43ec4471dc6>:0
at System.Net.WebOperation.Run () [0x0009a] in <6aa0b19d109a447c94d1b43ec4471dc6>:0
at System.Net.WebCompletionSource1[T].WaitForCompletion () [0x00094] in <6aa0b19d109a447c94d1b43ec4471dc6>:0 at System.Net.HttpWebRequest.RunWithTimeoutWorker[T] (System.Threading.Tasks.Task1[TResult] workerTask, System.Int32 timeout, System.Action abort, System.Func1[TResult] aborted, System.Threading.CancellationTokenSource cts) [0x000f8] in <6aa0b19d109a447c94d1b43ec4471dc6>:0 at System.Net.HttpWebRequest.GetResponse () [0x00016] in <6aa0b19d109a447c94d1b43ec4471dc6>:0 at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x0011b] in <76bdc4530d5346bba006f54e6ddfeb8a>:0 --- End of inner exception stack trace --- at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x001f6] in <76bdc4530d5346bba006f54e6ddfeb8a>:0 at NzbDrone.Common.Http.Dispatchers.FallbackHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x000b5] in <76bdc4530d5346bba006f54e6ddfeb8a>:0 at NzbDrone.Common.Http.HttpClient.ExecuteRequest (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookieContainer) [0x0007e] in <76bdc4530d5346bba006f54e6ddfeb8a>:0 at NzbDrone.Common.Http.HttpClient.Execute (NzbDrone.Common.Http.HttpRequest request) [0x00008] in <76bdc4530d5346bba006f54e6ddfeb8a>:0 at NzbDrone.Core.Download.Clients.Transmission.TransmissionProxy.AuthenticateClient (NzbDrone.Common.Http.HttpRequestBuilder requestBuilder, NzbDrone.Core.Download.Clients.Transmission.TransmissionSettings settings, System.Boolean reauthenticate) [0x0004f] in <808631c82f974aa9ade775cc9d46232a>:0 at NzbDrone.Core.Download.Clients.Transmission.TransmissionProxy.ProcessRequest (System.String action, System.Object arguments, NzbDrone.Core.Download.Clients.Transmission.TransmissionSettings settings) [0x0001f] in <808631c82f974aa9ade775cc9d46232a>:0 --- End of inner exception stack trace --- at NzbDrone.Core.Download.Clients.Transmission.TransmissionProxy.ProcessRequest (System.String action, System.Object arguments, NzbDrone.Core.Download.Clients.Transmission.TransmissionSettings settings) [0x00144] in <808631c82f974aa9ade775cc9d46232a>:0 at NzbDrone.Core.Download.Clients.Transmission.TransmissionProxy.GetTorrentStatus (System.Collections.Generic.IEnumerable1[T] hashStrings, NzbDrone.Core.Download.Clients.Transmission.TransmissionSettings settings) [0x0009e] in <808631c82f974aa9ade775cc9d46232a>:0
at NzbDrone.Core.Download.Clients.Transmission.TransmissionProxy.GetTorrentStatus (NzbDrone.Core.Download.Clients.Transmission.TransmissionSettings settings) [0x00000] in <808631c82f974aa9ade775cc9d46232a>:0
at NzbDrone.Core.Download.Clients.Transmission.TransmissionProxy.GetTorrents (NzbDrone.Core.Download.Clients.Transmission.TransmissionSettings settings) [0x00000] in <808631c82f974aa9ade775cc9d46232a>:0
at NzbDrone.Core.Download.Clients.Transmission.TransmissionBase.GetItems () [0x0000c] in <808631c82f974aa9ade775cc9d46232a>:0
at NzbDrone.Core.Download.TrackedDownloads.DownloadMonitoringService.ProcessClientDownloads (NzbDrone.Core.Download.IDownloadClient downloadClient) [0x0000c] in <808631c82f974aa9ade775cc9d46232a>:0

[Trace] EventAggregator: Publishing HealthCheckCompleteEvent
[Trace] EventAggregator: HealthCheckCompleteEvent -> HealthModule
[Trace] EventAggregator: HealthCheckCompleteEvent <- HealthModule
[Trace] EventAggregator: Publishing TrackedDownloadRefreshedEvent
[Trace] EventAggregator: TrackedDownloadRefreshedEvent -> QueueService
[Trace] EventAggregator: Publishing QueueUpdatedEvent
[Trace] EventAggregator: QueueUpdatedEvent -> QueueModule
[Trace] EventAggregator: QueueUpdatedEvent <- QueueModule
[Trace] EventAggregator: TrackedDownloadRefreshedEvent <- QueueService
[Trace] CommandQueueManager: Updating command status
[Trace] EventAggregator: Publishing CommandExecutedEvent
[Trace] EventAggregator: CommandExecutedEvent -> TaskManager
[Trace] TaskManager: Updating last run time for: NzbDrone.Core.Download.CheckForFinishedDownloadCommand
[Trace] EventAggregator: CommandExecutedEvent <- TaskManager
[Trace] EventAggregator: CommandExecutedEvent -> TaskModule
[Trace] EventAggregator: CommandExecutedEvent <- TaskModule
[Trace] CommandExecutor: CheckForFinishedDownloadCommand <- DownloadMonitoringService [00:00:00.0320140]

Fixed it. After reinstalling Sonarr V3, and mono, I was able to get it started through terminal. Whew!

After you got it running… did it fix your original issue with post processing? I’m experiencing the same (still on v2 because I got same error as you with v3 and recovered v2 via timemachine).

Yes, it fixed all of my problems.

Btw, v3 looks very different from v2, and there are some different settings. Takes some getting used to, but I like it.

Good luck!

Thank you for the quick reply! I’ll see if I can sort it out too.

I still get the error:

Cannot open assembly ‘sonarr.app’: File does not contain a valid CIL image.

mono is same version as you with latest v3 Sonarr.

Follow up: I couldn’t get it to work. I tried following this thread and some others. Restored back to v2 and Sonarr at least running. Sorted out my post-processing errors by having downloads start and end on my external vs. downloads folder on main drive to external (which was failing).

yeah, neither could I. Did you have a problem going back to v2 or did you start again from scratch?

I tried downloading v2 again and it wouldn’t launch. Restored my old v2 from applications folder via time machine and it worked.

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