Jump to content

Status: Unavailable (ServerWMC Backend error) == Friendly Fire


markshu

Recommended Posts

markshu

I finally got around to installing ServerWMC just to see how the live tv streaming worked to remote clients. I did this from an RPC session via a local hotspat during lunch, and could not get any status except 'Status: Unavailable (ServerWMC Backend error)'. Took me a while, but after reinstalling ServerWMC and digging through the MBS logs I saw that it was failing in the GetStatusInfoAsync::TunerStatus call ...

 

... and right at that point I remembered I had swapped out one of my four Avermedia HD Dual tuner cards last week with a ATI graphics card so I could play around with MadVR ...

 

... and I had neglected to rescan my tuners in WMC, since I still had 6 available after the swap and WMC didn't care as long as I didn't try to record 7 shows at once ...

 

... and that it was my own d*mned fault there was no tuner status coming back from ServerWMC (even if MBS was tossing an unhandled exception in this situation).

 

Chalk this one up as User Error.  Hopefully this little story will save someone else a little time. :)

 

 

 

 

  • Like 1
Link to comment
Share on other sites

krustyreturns

I don't know if it will help anybody either but I enjoyed reading it == friendly return fire

Link to comment
Share on other sites

Krusty, are you able to offer more precise info of the problem? For example, suppose server wmc is running but the tuners aren't configured in wmc. Could it say something like ServerWmc unable to connect to Windows Media Center. 

 

Or if server wmc is down, the plugin will not be able to talk to it, so it could say something like "ServerWmc service unreachable"

Link to comment
Share on other sites

markshu

Here's the section of the log where the exception is thrown:

 

2014-07-15 14:55:08.4337 Debug - HttpServer: HTTP GET http://markshu.homeip.net:8096/mediabrowser/System/Info
2014-07-15 14:55:08.4337 Debug - HttpServer: HTTP GET http://markshu.homeip.net:8096/mediabrowser/Packages/Updates?PackageType=UserInstalled
2014-07-15 14:55:08.4337 Debug - HttpServer: HTTP Response 200 to 54.240.196.185. Response time: 1 ms.
Url: http://markshu.homeip.net:8096/mediabrowser/Packages/Updates?PackageType=UserInstalled
2014-07-15 14:55:08.4557 Debug - HttpServer: HTTP Response 200 to 54.240.196.185. Response time: 21.0012 ms.
Url: http://markshu.homeip.net:8096/mediabrowser/System/Info
2014-07-15 14:55:08.4867 Debug - HttpServer: HTTP GET http://markshu.homeip.net:8096/mediabrowser/Packages/Updates?PackageType=System
2014-07-15 14:55:08.4867 Info - App: New application version is available: 3.0.5309.26857
2014-07-15 14:55:08.4867 Debug - HttpServer: HTTP Response 200 to 54.240.196.185. Response time: 2.0001 ms.
Url: http://markshu.homeip.net:8096/mediabrowser/Packages/Updates?PackageType=System
2014-07-15 14:55:23.7956 Info - App: HttpClientManager GET: http://bot.whatismyipaddress.com/
2014-07-15 14:55:26.1747 Debug - HttpServer: HTTP GET http://markshu.homeip.net:8096/mediabrowser/dashboard/livetvstatus.html
2014-07-15 14:55:26.1747 Debug - HttpServer: HTTP Response 304 to 54.240.196.185. Response time: 0 ms.
Url: http://markshu.homeip.net:8096/mediabrowser/dashboard/livetvstatus.html
2014-07-15 14:55:26.3297 Debug - HttpServer: HTTP GET http://markshu.homeip.net:8096/mediabrowser/Notifications/894c2b2e318955d5d1fb3c518a1f310e?StartIndex=0&Limit=10
2014-07-15 14:55:26.3297 Debug - HttpServer: HTTP GET http://markshu.homeip.net:8096/mediabrowser/System/Info
2014-07-15 14:55:26.3297 Debug - HttpServer: HTTP Response 200 to 54.240.196.185. Response time: 1.0001 ms.
Url: http://markshu.homeip.net:8096/mediabrowser/Notifications/894c2b2e318955d5d1fb3c518a1f310e?StartIndex=0&Limit=10
2014-07-15 14:55:26.3297 Debug - HttpServer: HTTP GET http://markshu.homeip.net:8096/mediabrowser/LiveTv/Info?
2014-07-15 14:55:26.3297 Debug - HttpServer: HTTP GET http://markshu.homeip.net:8096/mediabrowser/ScheduledTasks?
2014-07-15 14:55:26.3377 Debug - HttpServer: HTTP Response 200 to 54.240.196.185. Response time: 1 ms.
Url: http://markshu.homeip.net:8096/mediabrowser/ScheduledTasks?
2014-07-15 14:55:26.3587 Error - ServerWMC: GetStatusInfoAsync::TunerStatus> ServerWMC Backend error
2014-07-15 14:55:26.3587 Debug - HttpServer: HTTP Response 200 to 54.240.196.185. Response time: 26.0015 ms.
Url: http://markshu.homeip.net:8096/mediabrowser/System/Info
2014-07-15 14:55:26.3587 Error - App: Error getting service status info from ServerWMC
ServerWMC Backend error
System.Exception
   at wmc2mb.WMCService.<GetStatusInfoAsync>d__67.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.LiveTv.LiveTvManager.<GetServiceInfo>d__1e8.MoveNext()

2014-07-15 14:55:26.3767 Debug - HttpServer: HTTP Response 200 to 54.240.196.185. Response time: 39.0022 ms.
Url: http://markshu.homeip.net:8096/mediabrowser/LiveTv/Info?

2014-07-15 14:55:42.8786 Debug - HttpServer: HTTP GET http://192.168.2.150:8096/mediabrowser/dlna/0c056ff7a5acf813542a8460ad500f9f/description.xml
2014-07-15 14:55:42.8786 Debug - Dlna: No matching device profile found. The default will be used. User-agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7601.17514 DLNADOC/1.50.
2014-07-15 14:55:42.8906 Debug - HttpServer: HTTP Response 200 to 192.168.2.22. Response time: 10.0005 ms.
Url: http://192.168.2.150:8096/mediabrowser/dlna/0c056ff7a5acf813542a8460ad500f9f/description.xml
2014-07-15 14:56:21.0348 Debug - HttpServer: HTTP GET http://192.168.2.150:8096/mediabrowser/dlna/0c056ff7a5acf813542a8460ad500f9f/description.xml
2014-07-15 14:56:21.0348 Debug - Dlna: No matching device profile found. The default will be used. User-agent: FDSSDP.

 

It looks like the message is just passed through verbatim.  I think a better error status would be something along the lines of:

 

"ServerWMC tuner status unavailable. Please check TV tuner configuration in WMC TV Settings."

 

 

Link to comment
Share on other sites

krustyreturns

@@Luke, if no tuners are configured in swmc it won't run, it states the problem in a popup and tells the user to configure wmc and try again.  This case was different as he had some configured and some not - and that's a first so far as I know.  I agree swmc could have been more helpful in diagnosing the problem, but we pick and choose our battles.  Next time I add a tuner to my devel machine, I'll run it before configuring to check the problem cause.

Link to comment
Share on other sites

markshu

... and just to confirm, rescanning the tuners in WMC did indeed fix the problem.

 

Sent from my IdeaTab A3000-F using Tapatalk

Link to comment
Share on other sites

  • 2 weeks later...
Dazik

Had the same issue. Refused to go away with a re-scan.

 

What fixed it was resetting WMC itself (which I probably needed done anyways) via the following:-

via cmd:
C:\Windows\ehome\mcupdate.exe -MediaCenterRecoryTask

Note that this clears EVERYTHING in WMC, resets it to pre-setup status completely.

Edited by akensai
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...