RC4 not hibernating. Sockets error in Mediaportal log during PSClient startup (1 Viewer)


Portal Pro
December 26, 2006
Maidstone, UK
England England
TV-Server Version: 1.0 RC4
MediaPortal Version: 1.0 RC4
MediaPortal Skin: BlueThree Wide (xmas mod)
Windows Version: XP Pro SP3
CPU Type: Celeron M 360 (1.4GHz/400MHz/1Mb L2)
HDD: Seagate 300Gb 7200RPM SATA 150
Memory: 512MB PC4200
Motherboard: MSI Speedster-FA4 (MS-9625)
Video Card: Intel GMA 915
Video Card Driver:
Sound Card: Intel ICH6 HD Audio / Realtek ALC880
Sound Card AC3:
Sound Card Driver:
1. TV Card: Nebula DigiTV PCI
1. TV Card Type: DVB-T
1. TV Card Driver:
2. TV Card: Terratec Cinergy 2400i Dual Tuner
2. TV Card Type: DVB-T
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec: PowerDVD
MPEG2 Audio Codec: PowerDVD
h.264 Video Codec:
Satelite/CableTV Provider:
HTPC Case: Antec Aria
Power Supply:
Remote: MCE
TV: Samsung 26in LCD LW26A33W
TV - HTPC Connection: Sub-D

I've recently upgraded from RC2 to RC4 and my HTPC no longer goes into hibernation during periods of inactivity.

I'm not sure if it's related but the Mediaportal PS Client plugin seems to fail on loading:

2008-12-07 13:39:58.969221 [Info.][MPMain]: Starting PowerScheduler client plugin...
2008-12-07 13:39:59.016096 [Debug][MPMain]: PSClientPlugin: IsLocal(): checking if is local...
2008-12-07 13:39:59.016096 [Debug][MPMain]: PSClientPlugin: Checking against localhost
2008-12-07 13:39:59.016096 [Debug][MPMain]: PSClientPlugin: Checking against
2008-12-07 13:39:59.016096 [Debug][MPMain]: PSClientPlugin: Checking against lisa
2008-12-07 13:39:59.062971 [Debug][MPMain]: PSClientPlugin: Checking against
2008-12-07 13:39:59.062971 [Info.][MPMain]: PowerScheduler: detected a singleseat setup - delegating suspend/hibernate requests to tvserver
2008-12-07 13:39:59.062971 [Debug][MPMain]: PSClientPlugin: idle timeout locally set to: 5 minutes
2008-12-07 13:39:59.062971 [Debug][MPMain]: PSClientPlugin: pre-wakeup time set to: 60 seconds
2008-12-07 13:39:59.062971 [Debug][MPMain]: PSClientPlugin: pre-shutdown time set to: 120 seconds
2008-12-07 13:39:59.062971 [Debug][MPMain]: PSClientPlugin: Check interval is set to 25 seconds
2008-12-07 13:39:59.062971 [Debug][MPMain]: PSClientPlugin: Shutdown mode set to Hibernate
2008-12-07 13:39:59.062971 [Info.][MPMain]: GUIWindowManager: Could not find window 6666
2008-12-07 13:39:59.062971 [Info.][MPMain]: PSClientPlugin.UnattendedWindow.Init
2008-12-07 13:39:59.078596 [Info.][MPMain]: PowerScheduler client plugin started
2008-12-07 13:39:59.078596 [Debug][MPMain]: WindowsController: Setting ExitWindows to MediaPortal.Plugins.Process.PowerScheduler.Void SafeExitWindows(MediaPortal.Util.RestartOptions, Boolean, AfterExitWindowsHandler)
2008-12-07 13:39:59.187971 [Debug][MPMain]: PSClientPlugin: marshalled handlers as http://localhost:31458/35bb265d_b1ec_4cb4_992b_359fb23680a1/xlif7g8ugf0fpprrv65+ubso_1.rem
2008-12-07 13:40:04.141096 [Info.][MPMain]: Unable to start plugin:MediaPortal.Plugins.Process.PowerSchedulerClientPlugin exception:System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
   --- End of inner exception stack trace ---

Server stack trace: 
   at System.Net.HttpWebRequest.GetRequestStream()
   at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessAndSend(IMessage msg, ITransportHeaders headers, Stream inputStream)
   at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
   at System.Runtime.Remoting.Channels.SoapClientFormatterSink.SyncProcessMessage(IMessage msg)

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at TvEngine.PowerScheduler.Interfaces.IPowerController.RegisterRemote(String standbyHandlerURI, String wakeupHandlerURI)
   at MediaPortal.Plugins.Process.PowerScheduler.OnResume()
   at MediaPortal.Plugins.Process.PowerScheduler.Start()
   at MediaPortal.Plugins.Process.PowerSchedulerClientPlugin.Start()
   at MediaPortal.GUI.Library.PluginManager.Start() is a loopback adapter and is selected as the streaming IP in TV Server configuration. This is a single seat configuration with MS SQL Express as the database backend.

It looks as though it's attempting to connect to a port on that isn't open. Here is the output from netstat -an:

Active Connections

  Proto  Local Address          Foreign Address        State
  TCP                LISTENING
  TCP                LISTENING
  TCP               LISTENING
  TCP               LISTENING
  TCP               LISTENING
  TCP               LISTENING
  TCP              LISTENING
  TCP              LISTENING
  TCP              LISTENING
  TCP         TIME_WAIT
  TCP              LISTENING
  TCP              LISTENING
  TCP              LISTENING
  UDP            *:*                    
  UDP            *:*                    
  UDP           *:*                    
  UDP           *:*                    
  UDP           *:*                    
  UDP     *:*                    
  UDP     *:*                    
  UDP     *:*                    
  UDP    *:*                    
  UDP          *:*                    
  UDP         *:*                    
  UDP         *:*                    
  UDP         *:*                    
  UDP         *:*                    
  UDP      *:*                    
  UDP      *:*                    
  UDP      *:*                    
  UDP     *:*
Logs are attached. I would have expected the machine to have gone into hibernation at 2008-12-07 05:17:58.763251 or later.


Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top Bottom