RC4 not hibernating. Sockets error in Mediaportal log during PSClient startup

Discussion in '1.0 RC4 and SVN Builds' started by markius, December 7, 2008.

  1. markius

    markius Portal Pro

    Joined:
    December 26, 2006
    Messages:
    175
    Likes Received:
    4
    Occupation:
    IT
    Location:
    Maidstone, UK
    Ratings:
    +4 / 0
    Home Country:
    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 (Text):
    1. 2008-12-07 13:39:58.969221 [Info.][MPMain]: Starting PowerScheduler client plugin...
    2. 2008-12-07 13:39:59.016096 [Debug][MPMain]: PSClientPlugin: IsLocal(): checking if 192.168.168.1 is local...
    3. 2008-12-07 13:39:59.016096 [Debug][MPMain]: PSClientPlugin: Checking against localhost
    4. 2008-12-07 13:39:59.016096 [Debug][MPMain]: PSClientPlugin: Checking against 127.0.0.1
    5. 2008-12-07 13:39:59.016096 [Debug][MPMain]: PSClientPlugin: Checking against lisa
    6. 2008-12-07 13:39:59.062971 [Debug][MPMain]: PSClientPlugin: Checking against 192.168.168.1
    7. 2008-12-07 13:39:59.062971 [Info.][MPMain]: PowerScheduler: detected a singleseat setup - delegating suspend/hibernate requests to tvserver
    8. 2008-12-07 13:39:59.062971 [Debug][MPMain]: PSClientPlugin: idle timeout locally set to: 5 minutes
    9. 2008-12-07 13:39:59.062971 [Debug][MPMain]: PSClientPlugin: pre-wakeup time set to: 60 seconds
    10. 2008-12-07 13:39:59.062971 [Debug][MPMain]: PSClientPlugin: pre-shutdown time set to: 120 seconds
    11. 2008-12-07 13:39:59.062971 [Debug][MPMain]: PSClientPlugin: Check interval is set to 25 seconds
    12. 2008-12-07 13:39:59.062971 [Debug][MPMain]: PSClientPlugin: Shutdown mode set to Hibernate
    13. 2008-12-07 13:39:59.062971 [Info.][MPMain]: GUIWindowManager: Could not find window 6666
    14. 2008-12-07 13:39:59.062971 [Info.][MPMain]: PSClientPlugin.UnattendedWindow.Init
    15. 2008-12-07 13:39:59.078596 [Info.][MPMain]: PowerScheduler client plugin started
    16. 2008-12-07 13:39:59.078596 [Debug][MPMain]: WindowsController: Setting ExitWindows to MediaPortal.Plugins.Process.PowerScheduler.Void SafeExitWindows(MediaPortal.Util.RestartOptions, Boolean, AfterExitWindowsHandler)
    17. 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
    18. 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
    19.    at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
    20.    at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
    21.    at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
    22.    --- End of inner exception stack trace ---
    23.  
    24. Server stack trace:
    25.    at System.Net.HttpWebRequest.GetRequestStream()
    26.    at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessAndSend(IMessage msg, ITransportHeaders headers, Stream inputStream)
    27.    at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
    28.    at System.Runtime.Remoting.Channels.SoapClientFormatterSink.SyncProcessMessage(IMessage msg)
    29.  
    30. Exception rethrown at [0]:
    31.    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    32.    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    33.    at TvEngine.PowerScheduler.Interfaces.IPowerController.RegisterRemote(String standbyHandlerURI, String wakeupHandlerURI)
    34.    at MediaPortal.Plugins.Process.PowerScheduler.OnResume()
    35.    at MediaPortal.Plugins.Process.PowerScheduler.Start()
    36.    at MediaPortal.Plugins.Process.PowerSchedulerClientPlugin.Start()
    37.    at MediaPortal.GUI.Library.PluginManager.Start()
    38.  
    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 (Text):
    1. Active Connections
    2.  
    3.   Proto  Local Address          Foreign Address        State
    4.   TCP    0.0.0.0:135            0.0.0.0:0              LISTENING
    5.   TCP    0.0.0.0:445            0.0.0.0:0              LISTENING
    6.   TCP    0.0.0.0:1223           0.0.0.0:0              LISTENING
    7.   TCP    0.0.0.0:3389           0.0.0.0:0              LISTENING
    8.   TCP    0.0.0.0:5800           0.0.0.0:0              LISTENING
    9.   TCP    0.0.0.0:5900           0.0.0.0:0              LISTENING
    10.   TCP    0.0.0.0:31456          0.0.0.0:0              LISTENING
    11.   TCP    10.150.213.167:139     0.0.0.0:0              LISTENING
    12.   TCP    10.150.213.167:445     10.150.213.161:3283    ESTABLISHED
    13.   TCP    10.150.213.167:5900    10.150.213.161:3737    ESTABLISHED
    14.   TCP    127.0.0.1:1080         0.0.0.0:0              LISTENING
    15.   TCP    127.0.0.1:31456        127.0.0.1:3579         TIME_WAIT
    16.   TCP    192.168.168.1:139      0.0.0.0:0              LISTENING
    17.   TCP    192.168.168.1:554      0.0.0.0:0              LISTENING
    18.   TCP    192.168.168.1:554      0.0.0.0:0              LISTENING
    19.   TCP    192.168.168.1:3576     192.168.168.1:31456    TIME_WAIT
    20.   TCP    192.168.168.1:3577     192.168.168.1:31456    TIME_WAIT
    21.   TCP    192.168.168.1:3578     192.168.168.1:31456    TIME_WAIT
    22.   TCP    192.168.168.1:3580     192.168.168.1:31456    TIME_WAIT
    23.   TCP    192.168.168.1:3581     192.168.168.1:31456    TIME_WAIT
    24.   TCP    192.168.168.1:3582     192.168.168.1:31456    ESTABLISHED
    25.   TCP    192.168.168.1:31456    192.168.168.1:3582     ESTABLISHED
    26.   UDP    0.0.0.0:445            *:*                    
    27.   UDP    0.0.0.0:500            *:*                    
    28.   UDP    0.0.0.0:1434           *:*                    
    29.   UDP    0.0.0.0:2967           *:*                    
    30.   UDP    0.0.0.0:4500           *:*                    
    31.   UDP    10.150.213.167:123     *:*                    
    32.   UDP    10.150.213.167:137     *:*                    
    33.   UDP    10.150.213.167:138     *:*                    
    34.   UDP    10.150.213.167:1900    *:*                    
    35.   UDP    127.0.0.1:123          *:*                    
    36.   UDP    127.0.0.1:1025         *:*                    
    37.   UDP    127.0.0.1:1032         *:*                    
    38.   UDP    127.0.0.1:1069         *:*                    
    39.   UDP    127.0.0.1:1900         *:*                    
    40.   UDP    192.168.168.1:123      *:*                    
    41.   UDP    192.168.168.1:137      *:*                    
    42.   UDP    192.168.168.1:138      *:*                    
    43.   UDP    192.168.168.1:1900     *:*                    
    44.  
    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


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. schnaydar

    schnaydar Portal Pro

    Joined:
    November 19, 2008
    Messages:
    123
    Likes Received:
    2
    Ratings:
    +2 / 0
    Hiho i have the same prob. Did you solve it by now?

    Regards

    schnaydar
     
  4. nickola

    nickola Portal Member

    Joined:
    January 30, 2008
    Messages:
    15
    Likes Received:
    2
    Occupation:
    sound engineer
    Location:
    Saint Etienne
    Ratings:
    +2 / 0
    Home Country:
    France France
    have the same pb

    have you got a solution ?

    Thanks

    Nickola
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!