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

markius

Portal Pro
December 26, 2006
175
4
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
Cooling:
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:

Code:
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 192.168.168.1 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 127.0.0.1
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 192.168.168.1
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 127.0.0.1:31457
   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()
192.168.168.1 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 127.0.0.1 that isn't open. Here is the output from netstat -an:

Code:
Active Connections

  Proto  Local Address          Foreign Address        State
  TCP    0.0.0.0:135            0.0.0.0:0              LISTENING
  TCP    0.0.0.0:445            0.0.0.0:0              LISTENING
  TCP    0.0.0.0:1223           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:3389           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:5800           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:5900           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:31456          0.0.0.0:0              LISTENING
  TCP    10.150.213.167:139     0.0.0.0:0              LISTENING
  TCP    10.150.213.167:445     10.150.213.161:3283    ESTABLISHED
  TCP    10.150.213.167:5900    10.150.213.161:3737    ESTABLISHED
  TCP    127.0.0.1:1080         0.0.0.0:0              LISTENING
  TCP    127.0.0.1:31456        127.0.0.1:3579         TIME_WAIT
  TCP    192.168.168.1:139      0.0.0.0:0              LISTENING
  TCP    192.168.168.1:554      0.0.0.0:0              LISTENING
  TCP    192.168.168.1:554      0.0.0.0:0              LISTENING
  TCP    192.168.168.1:3576     192.168.168.1:31456    TIME_WAIT
  TCP    192.168.168.1:3577     192.168.168.1:31456    TIME_WAIT
  TCP    192.168.168.1:3578     192.168.168.1:31456    TIME_WAIT
  TCP    192.168.168.1:3580     192.168.168.1:31456    TIME_WAIT
  TCP    192.168.168.1:3581     192.168.168.1:31456    TIME_WAIT
  TCP    192.168.168.1:3582     192.168.168.1:31456    ESTABLISHED
  TCP    192.168.168.1:31456    192.168.168.1:3582     ESTABLISHED
  UDP    0.0.0.0:445            *:*                    
  UDP    0.0.0.0:500            *:*                    
  UDP    0.0.0.0:1434           *:*                    
  UDP    0.0.0.0:2967           *:*                    
  UDP    0.0.0.0:4500           *:*                    
  UDP    10.150.213.167:123     *:*                    
  UDP    10.150.213.167:137     *:*                    
  UDP    10.150.213.167:138     *:*                    
  UDP    10.150.213.167:1900    *:*                    
  UDP    127.0.0.1:123          *:*                    
  UDP    127.0.0.1:1025         *:*                    
  UDP    127.0.0.1:1032         *:*                    
  UDP    127.0.0.1:1069         *:*                    
  UDP    127.0.0.1:1900         *:*                    
  UDP    192.168.168.1:123      *:*                    
  UDP    192.168.168.1:137      *:*                    
  UDP    192.168.168.1:138      *:*                    
  UDP    192.168.168.1:1900     *:*
Logs are attached. I would have expected the machine to have gone into hibernation at 2008-12-07 05:17:58.763251 or later.

Cheers
Mark
 

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

Top Bottom