Jump to content

NullReferenceException errors crippling MBC


Agent X20

Recommended Posts

Agent X20

Over the last couple of months I've been seeing a range of problems with MBC:

 

- very slow display of the "Last Added" panel

- very slow access to my collections, sometimes giving a WMC errors about timeouts, and sometimes then generating "unable to launch" the MBC plugin

- following the errors above sometimes my collections will sometimes be empty

 

This has gotten to the point of almost rendering MBC unusable. I'm currently running:

 

Server version: 3.0.5395.0,1, running on Windows Home Server 2011

Media Browser Classic (version 3.0.224.0 )

 

I've been doing some digging, and on the server side occasionally see the following types of errors:

 

 
2014-10-29 21:16:23.1051 Error - App: Error getting response from https://connect.mediabrowser.tv/service/Servers?id=d7da3bcf40a7a3c1220ef20f5335144c
The remote server returned an error: (404) Not Found.
System.Net.WebException
  at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
  at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
  at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsyncInternal>d__1e.MoveNext()
 
2014-10-29 21:16:23.1987 Error - Connect: Error registering with Connect
The remote server returned an error: (404) Not Found.
MediaBrowser.Model.Net.HttpException
  at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsyncInternal>d__1e.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
  at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsync>d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Server.Implementations.Connect.ConnectManager.<UpdateServerRegistration>d__f.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Server.Implementations.Connect.ConnectManager.<UpdateConnectInfo>d__0.MoveNext()
InnerException: System.Net.WebException
The remote server returned an error: (404) Not Found.
  at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
  at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
  at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsyncInternal>d__1e.MoveNext()

 

 

 

Looking at the MBC side, I can see what appears to be the problem. Some calls are throwing exceptions, and in the process are causing timeouts to occur which accounts for the very slow access to my collections and the Last Added lists. The exceptions are as follows:

 

2014-10-29 22:57:45.9867,Error,,Async thread threw the following exception:  ( Exception.  Type=System.NullReferenceException Msg=Object reference not set to an instance of an object. Src=MediaBrowser Method=LoadDisplayPreferences Line=0 Col=0 [n] StackTrace= [n]    at MediaBrowser.Library.Entities.Folder.LoadDisplayPreferences() [n]    at MediaBrowser.Library.Entities.Folder.GetFilterProperties() [n]    at MediaBrowser.Library.Entities.Folder.get_Filters() [n]    at MediaBrowser.Library.Entities.Folder.IsVisible(BaseItem item) [n]    at System.Linq.Enumerable.WhereListIterator`1.MoveNext() [n]    at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) [n]    at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) [n]    at MediaBrowser.Library.Entities.Folder.get_Children() [n]    at MediaBrowser.Library.Entities.Folder.GetUnwatchedCount() [n]    at MediaBrowser.Library.Entities.Folder.GetUnwatchedCount() [n]    at MediaBrowser.Library.Entities.Folder.get_UnwatchedCount() [n]    at MediaBrowser.Library.FolderModel.<get_UnwatchedCount>b__1e() [n]    at MediaBrowser.Library.Threading.Async.<>c__DisplayClass4.<Queue>b__3() ),69,Worker thread for Unwatched Counter for Chuggington (6 Items)

 

 

Interestingly, both sides are showing a problem with MoveNext somewhere in the exceptions. 

 

Here's where it gets weird. As I've seen each of the errors, and noting the apparent unwatched counter issue, for each show I've forced the watched flag on and the off (or vice-versa as appropriate) via WMC, and then done Control-R to refresh the show. I've no idea if this is really working but after doing this on a whole bunch of shows generating the errors things are running a bit better.

 

However, the tweak I'm doing doesn't appear to last and the problems recur seemingly at random. I cannot predict which show will throw the errors and it's not consistent. It does seem to be the same range of shows so it's not truly random.

 

(I've restarted both server and client machine).

 

As a result I'm stumped - and I'm happy to provide any log files that might be of use. Any help would be greatly appreciated - this is really frustrating my kids and the wife!

 

PS The only other thing I'm wondering is whether some of these shows have unusual characters in their name (I've seen a couple that do) and perhaps that's throwing MB's ability to process the various files.
 

PPS Yup, I'm a paid supporter.

 

Link to comment
Share on other sites

Agent X20

Hi,

 

here's a link:

 

https://www.dropbox.com/s/glt27bx3r6u7eqb/MBClassic-29102014bda3b8e62a8143869858486eaf4c7e1d.log?dl=0

 

And here's another example with 2-3 instances:

 

https://www.dropbox.com/s/7j7yvidurs3ywl5/MBClassic-29102014b76a12122a234ae49bf4373f56a15e52.log?dl=0

 

The logs are truncated as oftentimes I get a "could not load plugin" from WMC and I'm dumped back out to the main menu.

 

Plenty more examples if required.

 

Thanks for your time.

Link to comment
Share on other sites

Cheesegeezer

Hi,

 

here's a link:

 

https://www.dropbox.com/s/glt27bx3r6u7eqb/MBClassic-29102014bda3b8e62a8143869858486eaf4c7e1d.log?dl=0

 

And here's another example with 2-3 instances:

 

https://www.dropbox.com/s/7j7yvidurs3ywl5/MBClassic-29102014b76a12122a234ae49bf4373f56a15e52.log?dl=0

 

The logs are truncated as oftentimes I get a "could not load plugin" from WMC and I'm dumped back out to the main menu.

 

Plenty more examples if required.

 

Thanks for your time.

Can you please also post up the windows event viewer log, see my signature on how to report a problem

Link to comment
Share on other sites

Cheesegeezer

It appears your errors seem to emanating from your Display Preferences on the server side.

 

I think @@ebr is best suited to track this down.  I've not that familiar with the server code and locations of core files.

Link to comment
Share on other sites

The root of your problem is that we are timing out trying to get information from your server. What is the network connection between the two?

Link to comment
Share on other sites

Agent X20

The root of your problem is that we are timing out trying to get information from your server. What is the network connection between the two?

 

It's a gigabit local network. I've previously maxed the MBC bandwidth settings. The server is a little underpowered (AMD dual core ~2GHz with 2GB RAM) but it seldom shows excessive CPU load and RAM has plenty free. It's only serving MBC and is accessing the files from local SATA storage.

 

I've looked over both the server and MBC Event logs and there's nothing in either I can see that's of note.

 

Again - the errors appear to be related to generating the Last Added list and entering the collection from the main MBC screen that then times out due to the errors.

 

Here's a server side log as it contains a number of interesting errors:

https://www.dropbox.com/s/3sxgyn6j6qiuo5r/server-63550483207.txt?dl=0

 

And the corresponding MBC log (note the MBC box has bad clock drift and is around two minutes behind - the thing will never satisfactorily sync with an internet time server):

https://www.dropbox.com/s/uyfltgrstgrkrd3/MBClassic-2112014a62d95554a8f41649bc0f65b83f957d6.log?dl=0

 

Note I've just had the server update to Version 3.0.5416.0 after these logs were generated. Further testing shows no change in behaviour with this new version. Also disabling anti virus web protection on the MBC machine has had no effect.

 

The interesting errors include - server side: 

 

 

2014-11-02 20:36:07.8680 Debug - HttpServer: HTTP Response 200 to 192.168.1.5. Response time: 0 ms.

2014-11-02 20:36:08.3204 Error - ServerManager: SessionWebSocketListener failed processing WebSocket message Context
Unrecognized Guid format.
System.FormatException
  at System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException)
  at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
  at System.Guid..ctor(String g)
  at MediaBrowser.Server.Implementations.Session.SessionManager.ReportNowViewingItem(String sessionId, String itemId)
  at MediaBrowser.Server.Implementations.Session.SessionWebSocketListener.ProcessContextMessage(WebSocketMessageInfo message)
  at MediaBrowser.Server.Implementations.Session.SessionWebSocketListener.ProcessMessage(WebSocketMessageInfo message)
  at MediaBrowser.Server.Implementations.ServerManager.ServerManager.<>c__DisplayClass3.<>c__DisplayClass5.<<ProcessWebSocketMessageReceived>b__2>d__7.MoveNext()
 
2014-11-02 20:36:11.4095 Error - ServerManager: SessionWebSocketListener failed processing WebSocket message Context
Unrecognized Guid format.
System.FormatException
  at System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException)
  at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
  at System.Guid..ctor(String g)
  at MediaBrowser.Server.Implementations.Session.SessionManager.ReportNowViewingItem(String sessionId, String itemId)
  at MediaBrowser.Server.Implementations.Session.SessionWebSocketListener.ProcessContextMessage(WebSocketMessageInfo message)
  at MediaBrowser.Server.Implementations.Session.SessionWebSocketListener.ProcessMessage(WebSocketMessageInfo message)
  at MediaBrowser.Server.Implementations.ServerManager.ServerManager.<>c__DisplayClass3.<>c__DisplayClass5.<<ProcessWebSocketMessageReceived>b__2>d__7.MoveNext()
 
2014-11-02 20:36:12.2675 Error - ServerManager: SessionWebSocketListener failed processing WebSocket message Context
Unrecognized Guid format.
System.FormatException
  at System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException)
  at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
  at System.Guid..ctor(String g)
  at MediaBrowser.Server.Implementations.Session.SessionManager.ReportNowViewingItem(String sessionId, String itemId)
  at MediaBrowser.Server.Implementations.Session.SessionWebSocketListener.ProcessContextMessage(WebSocketMessageInfo message)
  at MediaBrowser.Server.Implementations.Session.SessionWebSocketListener.ProcessMessage(WebSocketMessageInfo message)
  at MediaBrowser.Server.Implementations.ServerManager.ServerManager.<>c__DisplayClass3.<>c__DisplayClass5.<<ProcessWebSocketMessageReceived>b__2>d__7.MoveNext()
 
2014-11-02 20:36:12.5796 Error - ServerManager: SessionWebSocketListener failed processing WebSocket message Context
Unrecognized Guid format.
System.FormatException
  at System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException)
  at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
  at System.Guid..ctor(String g)
  at MediaBrowser.Server.Implementations.Session.SessionManager.ReportNowViewingItem(String sessionId, String itemId)
  at MediaBrowser.Server.Implementations.Session.SessionWebSocketListener.ProcessContextMessage(WebSocketMessageInfo message)
  at MediaBrowser.Server.Implementations.Session.SessionWebSocketListener.ProcessMessage(WebSocketMessageInfo message)
  at MediaBrowser.Server.Implementations.ServerManager.ServerManager.<>c__DisplayClass3.<>c__DisplayClass5.<<ProcessWebSocketMessageReceived>b__2>d__7.MoveNext()
 
2014-11-02 20:36:12.8760 Error - ServerManager: SessionWebSocketListener failed processing WebSocket message Context
Unrecognized Guid format.
System.FormatException
  at System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException)
  at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
  at System.Guid..ctor(String g)
  at MediaBrowser.Server.Implementations.Session.SessionManager.ReportNowViewingItem(String sessionId, String itemId)
  at MediaBrowser.Server.Implementations.Session.SessionWebSocketListener.ProcessContextMessage(WebSocketMessageInfo message)
  at MediaBrowser.Server.Implementations.Session.SessionWebSocketListener.ProcessMessage(WebSocketMessageInfo message)
  at MediaBrowser.Server.Implementations.ServerManager.ServerManager.<>c__DisplayClass3.<>c__DisplayClass5.<<ProcessWebSocketMessageReceived>b__2>d__7.MoveNext()
 
2014-11-02 20:36:13.6716 Error - ServerManager: SessionWebSocketListener failed processing WebSocket message Context
Value cannot be null.
Parameter name: id
System.ArgumentNullException
  at MediaBrowser.Server.Implementations.Library.LibraryManager.GetItemById(Guid id)
  at MediaBrowser.Server.Implementations.Session.SessionManager.ReportNowViewingItem(String sessionId, String itemId)
  at MediaBrowser.Server.Implementations.Session.SessionWebSocketListener.ProcessContextMessage(WebSocketMessageInfo message)
  at MediaBrowser.Server.Implementations.Session.SessionWebSocketListener.ProcessMessage(WebSocketMessageInfo message)
  at MediaBrowser.Server.Implementations.ServerManager.ServerManager.<>c__DisplayClass3.<>c__DisplayClass5.<<ProcessWebSocketMessageReceived>b__2>d__7.MoveNext()
 
Ip: 192.168.1.5:59400. Headers: Authorization=MediaBrowser UserId="a233d548-c6d3-cebe-7bfc-ed0230cd6a40", Client="MB-Classic", Version="3.0.224.0", 

 

MBC side:

 

 

2014-11-02 20:33:57.6155,Info,,Sending Http Get to http://192.168.1.3:8096/mediabrowser/Plugins/RegistrationRecords/mbsupporter?Mb2Equivalent=mbsupporter&format=Json,40,Worker thread for mbsupporter registration check

2014-11-02 20:34:31.8205,Error,,Error getting response from http://192.168.1.3:8096/mediabrowser/DisplayPreferences/10405e1c-c1a9-533f-6632-66f85b60b742?userId=a233d548c6d3cebe7bfced0230cd6a40&client=MBC&format=Json ( Exception.  Type=System.Net.WebException Msg=The operation has timed out Src=System Method=GetResponse Line=0 Col=0 [n] StackTrace= [n]    at System.Net.HttpWebRequest.GetResponse() [n]    at MediaBrowser.ApiInteraction.MbHttpClient.Get(String url) ),38,Worker thread for Unwatched Counter for Jet! When Britain Ruled the Skies (2 Items)
2014-11-02 20:34:31.8205,Error,,Error getting response from http://192.168.1.3:8096/mediabrowser/DisplayPreferences/f233d034-68b3-b138-efc9-38703bf9ae10?userId=a233d548c6d3cebe7bfced0230cd6a40&client=MBC&format=Json ( Exception.  Type=System.Net.WebException Msg=The operation has timed out Src=System Method=GetResponse Line=0 Col=0 [n] StackTrace= [n]    at System.Net.HttpWebRequest.GetResponse() [n]    at MediaBrowser.ApiInteraction.MbHttpClient.Get(String url) ),32,Worker thread for Unwatched Counter for Operation Stonehenge: What Lies Beneath (2 Items)
2014-11-02 20:34:31.8215,Error,,Error getting response from http://192.168.1.3:8096/mediabrowser/DisplayPreferences/10405e1c-c1a9-533f-6632-66f85b60b742?userId=a233d548c6d3cebe7bfced0230cd6a40&client=MBC&format=Json ( Exception.  Type=System.Net.WebException Msg=The operation has timed out Src=System Method=GetResponse Line=0 Col=0 [n] StackTrace= [n]    at System.Net.HttpWebRequest.GetResponse() [n]    at MediaBrowser.ApiInteraction.MbHttpClient.Get(String url) ),36,Worker thread for Unwatched Counter for Wonders of Life (5 Items)
2014-11-02 20:34:31.8235,Error,,Async thread threw the following exception:  ( Exception.  Type=System.NullReferenceException Msg=Object reference not set to an instance of an object. Src=MediaBrowser Method=LoadDisplayPreferences Line=0 Col=0 [n] StackTrace= [n]    at MediaBrowser.Library.Entities.Folder.LoadDisplayPreferences() [n]    at MediaBrowser.Library.Entities.Folder.GetFilterProperties() [n]    at MediaBrowser.Library.Entities.Folder.get_Filters() [n]    at MediaBrowser.Library.Entities.Folder.IsVisible(BaseItem item) [n]    at System.Linq.Enumerable.WhereListIterator`1.MoveNext() [n]    at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) [n]    at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) [n]    at MediaBrowser.Library.Entities.Folder.get_Children() [n]    at MediaBrowser.Library.Entities.Folder.GetUnwatchedCount() [n]    at MediaBrowser.Library.Entities.Folder.get_UnwatchedCount() [n]    at MediaBrowser.Library.FolderModel.<get_UnwatchedCount>b__1e() [n]    at MediaBrowser.Library.Threading.Async.<>c__DisplayClass4.<Queue>b__3() ),38,Worker thread for Unwatched Counter for Jet! When Britain Ruled the Skies (2 Items)
2014-11-02 20:34:31.8235,Error,,Async thread threw the following exception:  ( Exception.  Type=System.NullReferenceException Msg=Object reference not set to an instance of an object. Src=MediaBrowser Method=LoadDisplayPreferences Line=0 Col=0 [n] StackTrace= [n]    at MediaBrowser.Library.Entities.Folder.LoadDisplayPreferences() [n]    at MediaBrowser.Library.Entities.Folder.GetFilterProperties() [n]    at MediaBrowser.Library.Entities.Folder.get_Filters() [n]    at MediaBrowser.Library.Entities.Folder.IsVisible(BaseItem item) [n]    at System.Linq.Enumerable.WhereListIterator`1.MoveNext() [n]    at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) [n]    at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) [n]    at MediaBrowser.Library.Entities.Folder.get_Children() [n]    at MediaBrowser.Library.Entities.Folder.GetUnwatchedCount() [n]    at MediaBrowser.Library.Entities.Folder.GetUnwatchedCount() [n]    at MediaBrowser.Library.Entities.Folder.get_UnwatchedCount() [n]    at MediaBrowser.Library.FolderModel.<get_UnwatchedCount>b__1e() [n]    at MediaBrowser.Library.Threading.Async.<>c__DisplayClass4.<Queue>b__3() ),32,Worker thread for Unwatched Counter for Operation Stonehenge: What Lies Beneath (2 Items)
2014-11-02 20:34:31.8245,Error,,Async thread threw the following exception:  ( Exception.  Type=System.NullReferenceException Msg=Object reference not set to an instance of an object. Src=MediaBrowser Method=LoadDisplayPreferences Line=0 Col=0 [n] StackTrace= [n]    at MediaBrowser.Library.Entities.Folder.LoadDisplayPreferences() [n]    at MediaBrowser.Library.Entities.Folder.GetFilterProperties() [n]    at MediaBrowser.Library.Entities.Folder.get_Filters() [n]    at MediaBrowser.Library.Entities.Folder.IsVisible(BaseItem item) [n]    at System.Linq.Enumerable.WhereListIterator`1.MoveNext() [n]    at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) [n]    at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) [n]    at MediaBrowser.Library.Entities.Folder.get_Children() [n]    at MediaBrowser.Library.Entities.Folder.GetUnwatchedCount() [n]    at MediaBrowser.Library.Entities.Folder.get_UnwatchedCount() [n]    at MediaBrowser.Library.FolderModel.<get_UnwatchedCount>b__1e() [n]    at MediaBrowser.Library.Threading.Async.<>c__DisplayClass4.<Queue>b__3() ),36,Worker thread for Unwatched Counter for Wonders of Life (5 Items)
2014-11-02 20:34:34.7656,Error,,Error getting response from http://192.168.1.3:8096/mediabrowser/Users/a233d548-c6d3-cebe-7bfc-ed0230cd6a40/Items?ParentId=4c836f8411cc39bf311d5267feb5c58f&sortBy=&CollapseBoxSetItems=False&fields=Overview,,Path,,ParentId,,DisplayPreferencesId,,DateCreated,,IndexOptions,,DateLastMediaAdded,,MediaStreams,,SortName,,Taglines,,MediaSources&ImageTypes=&recursive=False&genres=&Ids=&studios=&ExcludeItemTypes=&IncludeItemTypes=&ExcludeLocationTypes=&personTypes=&years=&format=Json ( Exception.  Type=System.Net.WebException Msg=The operation has timed out Src=System Method=GetResponse Line=0 Col=0 [n] StackTrace= [n]    at System.Net.HttpWebRequest.GetResponse() [n]    at MediaBrowser.ApiInteraction.MbHttpClient.Get(String url) ),28,Worker thread for Newest Item Loader
2014-11-02 20:34:34.7886,Debug,,Loading display prefs for C:\Users\Administrator\AppData\Roaming\MediaBrowser-Server\root\default\TV Shows,1,Application
2014-11-02 20:34:35.0426,Info,,RAL child retrieval for TV Shows option added took 0.28 seconds.,28,Worker thread for Newest Item Loader
2014-11-02 20:34:35.0426,Debug,,added list for TV Shows loaded with 20 items.,28,Worker thread for Newest Item Loader
 

 

Thanks for looking this stuff over. Keen to hear any suggestions on what I can do...

Link to comment
Share on other sites

Those context errors are unrelated.  The interesting error is here:

2014-11-02 20:34:31.8205,Error,,Error getting response from http://192.168.1.3:8096/mediabrowser/DisplayPreferences/10405e1c-c1a9-533f-6632-66f85b60b742?userId=a233d548c6d3cebe7bfced0230cd6a40&client=MBC&format=Json ( Exception.  Type=System.Net.WebException Msg=The operation has timed out Src=System Method=GetResponse Line=0 Col=0 [n] StackTrace= [n]    at System.Net.HttpWebRequest.GetResponse() [n]    at MediaBrowser.ApiInteraction.MbHttpClient.Get(String url) ),38,Worker thread for Unwatched Counter for Jet! When Britain Ruled the Skies (2 Items)

But, when I find what I think is the corresponding call on the server side, it reports that it responded in 0ms.  So, I cannot explain why MBC did not receive the response but that's what looks like is happening.

 

What happens if you turn off the option to show played indicators on folders (View Options/Indicators)?

Link to comment
Share on other sites

Agent X20

Turned off all the of the indicator display settings in MBC and everything is running fast - showing Last Added, entering collections, and drilling into series etc. It maybe takes a couple of seconds to get the first Last Added list on a bigger collection.

 

That'll make the wife and kids happy in the meantime.

 

Anything more I can do to help isolate the cause?

Link to comment
Share on other sites

The one option I specified should have been the only one required.  Can you try with just turning that off but leaving on the played indicators in other places?

Link to comment
Share on other sites

Agent X20

The one option I specified should have been the only one required.  Can you try with just turning that off but leaving on the played indicators in other places?

 

Hi, I've done some more testing.

 

All combinations of Played Indicator on Folders, Show Unplayed Count and Played Indicator on Detail work fine with regards to the Last Added List and Entry to the Collections. The Last Added list and entry to Collections are near instantaneous. (There may be specific items that cause issues when you drill down to episodes but I didn't look for that given the unpredictability of which ones error).

 

The option that causes the stalls or errors displaying Last Added or entry to Collections is the "Played Indicator on Items". If this option is set then I get the problems. 

 

I've checked the various permutations by setting the options and exiting MBC to the WMC main menu and relaunching MBC.

 

Interestingly the "Played Items on Folders' having been toggled off and on again no longer appears to be working. Nowhere are there any "tick" marks showing that shows, seasons or movies have been played.

 

Hope this helps,

Edited by Agent X20
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...