Some unhandled exceptions?
Posted: Thu Nov 27, 2014 9:17 pm
dot-i, do these exceptions mean anything to you? I noticed that a few recordings got missed last night and the log is full of these:
I couldn't restart the recorder service, I ended up having to reboot. Maybe a card was wedged or something? Is it possible to detect these and email or something, so I know when I need to reboot? :/
Code: Select all
2014-11-26 23:41:42.2373 [Error][307]: System.AggregateException: One or more errors occurred. ---> System.InvalidOperationException: There were not enough free threads in the ThreadPool to complete the operation.
at System.Net.HttpWebRequest.BeginGetRequestStream(AsyncCallback callback, Object state)
at System.Net.Http.HttpClientHandler.StartGettingRequestStream(RequestState state)
at System.Net.Http.HttpClientHandler.PrepareAndStartContentUpload(RequestState state)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at ArgusTV.Recorder.InternalContracts.RestProxyBase.ExecuteRequest(HttpRequestMessage request, Boolean logError)
at ArgusTV.Recorder.InternalContracts.RestProxyBase.Execute(HttpRequestMessage request, Boolean logError)
at ArgusTV.Recorder.Business.Proxies.CardHostProxy.CardHostApi.Initialize(Card card, List`1 settings, List`1 allDevices)
at ArgusTV.Recorder.Business.Proxies.CardHostProxy.EnsureCardHostRunning(List`1 allDetectedDevices)
---> (Inner Exception #0) System.InvalidOperationException: There were not enough free threads in the ThreadPool to complete the operation.
at System.Net.HttpWebRequest.BeginGetRequestStream(AsyncCallback callback, Object state)
at System.Net.Http.HttpClientHandler.StartGettingRequestStream(RequestState state)
at System.Net.Http.HttpClientHandler.PrepareAndStartContentUpload(RequestState state)<---
2014-11-26 23:41:42.9773 [Error][334]: Failed to start card host for card #1 'TBS 6285 DVBT/T2 Tuner A' (@device:pnp:\\?\pci#ven_1131&dev_7160&subsys_00016285&rev_02#4&3834d97&0&0008#{71985f48-1ca1-11d3-9cc8-00c04f7971e0}\{3ff44ee5-8547-402a-94f3-d44700020000})
2014-11-26 23:41:42.9773 [Error][334]: System.AggregateException: One or more errors occurred. ---> System.InvalidOperationException: There were not enough free threads in the ThreadPool to complete the operation.
at System.Net.HttpWebRequest.BeginGetRequestStream(AsyncCallback callback, Object state)
at System.Net.Http.HttpClientHandler.StartGettingRequestStream(RequestState state)
at System.Net.Http.HttpClientHandler.PrepareAndStartContentUpload(RequestState state)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at ArgusTV.Recorder.InternalContracts.RestProxyBase.ExecuteRequest(HttpRequestMessage request, Boolean logError)
at ArgusTV.Recorder.InternalContracts.RestProxyBase.Execute(HttpRequestMessage request, Boolean logError)
at ArgusTV.Recorder.Business.Proxies.CardHostProxy.CardHostApi.Initialize(Card card, List`1 settings, List`1 allDevices)
at ArgusTV.Recorder.Business.Proxies.CardHostProxy.EnsureCardHostRunning(List`1 allDetectedDevices)
---> (Inner Exception #0) System.InvalidOperationException: There were not enough free threads in the ThreadPool to complete the operation.
at System.Net.HttpWebRequest.BeginGetRequestStream(AsyncCallback callback, Object state)
at System.Net.Http.HttpClientHandler.StartGettingRequestStream(RequestState state)
at System.Net.Http.HttpClientHandler.PrepareAndStartContentUpload(RequestState state)<---