Manual Search Error - Request Failed: Cannot access a disposed object. Object name: 'System.Net.Sockets.NetworkStream'

When I attempt to send a nzb to NZBGet.
Running version 2.0.0.3969
Mono Version 4.2.2 (Stable 4.2.2.30/996df3c Mon Feb 15 17:30:30 UTC 2016) - on Debian

I get the following error:

Request Failed: Cannot access a disposed object. Object name: 'System.Net.Sockets.NetworkStream'.

When I click on that in the logs I then see:

System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Net.Sockets.NetworkStream'.
  at System.Net.WebConnectionStream.EndWrite (IAsyncResult r) <0x40b254e0 + 0x00323> in <filename unknown>:0 
  at System.Net.WebConnectionStream.Write (System.Byte[] buffer, Int32 offset, Int32 size) <0x40b21cd0 + 0x000bb> in <filename unknown>:0 
  at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) <0x40b09ea0 + 0x003af> in <filename unknown>:0 
  at NzbDrone.Common.Http.Dispatchers.FallbackHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) <0x40b09bc0 + 0x002a3> in <filename unknown>:0 
  at NzbDrone.Common.Http.HttpClient.Execute (NzbDrone.Common.Http.HttpRequest request) <0x40b060a0 + 0x001c3> in <filename unknown>:0 
  at NzbDrone.Core.Download.Clients.Nzbget.NzbgetProxy.ProcessRequest[T] (NzbDrone.Core.Download.Clients.Nzbget.NzbgetSettings settings, System.String method, System.Object[] parameters) <0x40d6ad90 + 0x00189> in <filename unknown>:0 
  at NzbDrone.Core.Download.Clients.Nzbget.NzbgetProxy.DownloadNzb (System.Byte[] nzbData, System.String title, System.String category, Int32 priority, NzbDrone.Core.Download.Clients.Nzbget.NzbgetSettings settings) <0x40d6a9c0 + 0x001af> in <filename unknown>:0 
  at NzbDrone.Core.Download.Clients.Nzbget.Nzbget.AddFromNzbFile (NzbDrone.Core.Parser.Model.RemoteEpisode remoteEpisode, System.String filename, System.Byte[] fileContent) <0x40d6a590 + 0x0019a> in <filename unknown>:0 
  at NzbDrone.Core.Download.UsenetClientBase`1[TSettings].Download (NzbDrone.Core.Parser.Model.RemoteEpisode remoteEpisode) <0x40d695e0 + 0x00482> in <filename unknown>:0 
  at NzbDrone.Core.Download.DownloadService.DownloadReport (NzbDrone.Core.Parser.Model.RemoteEpisode remoteEpisode) <0x40d68a70 + 0x00552> in <filename unknown>:0 
  at NzbDrone.Api.Indexers.ReleaseModule.DownloadRelease (NzbDrone.Api.Indexers.ReleaseResource release) <0x40d68890 + 0x000bd> in <filename unknown>:0 
  at NzbDrone.Api.Indexers.ReleaseModule.<.ctor>b__0 (System.Object x) <0x40d60910 + 0x0002b> in <filename unknown>:0 
  at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,System.Func`2<object, object>,object)
  at Nancy.Routing.Route+<>c__DisplayClass4.<Wrap>b__3 (System.Object parameters, CancellationToken context) <0x40c3f750 + 0x0013c> in <filename unknown>:0 
Close

Happened only on linux so didn’t get caught by my tests.
Fixed it on .3970 develop.

Tnx for reporting.

Thanks! I just updated and it worked perfectly.

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