Newly implemented heartbeat kicks active sessions (1 Viewer)

tourettes

Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    In music view current SVN has sme issues:

    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.MissingMethodException: Method not found: 'TvControl.ChannelState TvControl.TvServer.GetChannelState(Int32)'.
    at TvPlugin.TvNotifyManager._timer_Tick(Object sender, EventArgs e)
    at System.Windows.Forms.Timer.OnTick(EventArgs e)
    at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    Sounds liek this could have been caused by the heart beat changes.
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    In music view current SVN has sme issues:

    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.MissingMethodException: Method not found: 'TvControl.ChannelState TvControl.TvServer.GetChannelState(Int32)'.
    at TvPlugin.TvNotifyManager._timer_Tick(Object sender, EventArgs e)
    at System.Windows.Forms.Timer.OnTick(EventArgs e)
    at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    Sounds liek this could have been caused by the heart beat changes.

    A false alarm. My MP plugin directory contained also an backup version of the tv plugin.
     

    SciDoctor

    Retired Team Member
  • Premium Supporter
  • February 2, 2005
    1,465
    139
    England
    Latest SVN 16036

    Heartbeat not sent by client when 'blank monitor' or 'switch off monitor' are used.
    So Timeshift viewing within GUI if left to invoke either of the above causes the timeshift to end.

    SERVER
    26/09/2007 21:27:58 D user:6BXD heartbeat received
    26/09/2007 21:28:31 6 PowerScheduler.DisAllowShutdown: handler PowerSchedulerClientPlugin wants to prevent standby
    26/09/2007 21:28:31 13 Controller: Heartbeat Monitor (30+ sec. max idletime allowed)- kicking idle user 6BXD
    26/09/2007 21:28:31 13 Controller: StopTimeShifting 6
    26/09/2007 21:28:31 13 card: StopTimeShifting user:6BXD sub:0
    26/09/2007 21:28:31 13 user:6BXD remove

    CLIENT
    2007-09-26 21:27:58.906250 [Debug][13]: TVHome.SendHeartBeat: sending HeartBeat signal to server.
    2007-09-26 21:28:31.187500 [Debug][17]: PSClientPlugin: System declared busy by the user (not idle)
    2007-09-26 21:28:31.906250 [Info.][MPMain]: g_Player.Stop() keepTimeShifting = False

    CLIENT ERROR
    2007-09-26 21:33:00.265625 [ERROR][MPMain]: No translation found for id 1511
    2007-09-26 21:34:06.984375 [ERROR][MPMain]: Exception :confused:ystem.NullReferenceException: Object reference not set to an instance of an object.
    at MediaPortal.GUI.Library.GUIGraphicsContext.set_BlankScreen(Boolean value)
    at MediaPortalApp.FrameMove()
    2007-09-26 21:34:06.984375 [ERROR][MPMain]: Exception :Object reference not set to an instance of an object.
    2007-09-26 21:34:06.984375 [ERROR][MPMain]: site :Void set_BlankScreen(Boolean)
    2007-09-26 21:34:07.000000 [ERROR][MPMain]: source :Core
    2007-09-26 21:34:07.000000 [ERROR][MPMain]: stacktrace: at MediaPortal.GUI.Library.GUIGraphicsContext.set_BlankScreen(Boolean value)
    at MediaPortalApp.FrameMove()
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Home Country
    Denmark Denmark
    Here is another one.
    If you are displaying videotext you get also kicked.

    grubi

    videotext ?
    I guess u mean teletext, rite ?

    It works fine here.

    Could u plz describe how u do this 100%
    attach mediaportal.log and tv.log

    Thanx.
    /Gibman
     

    SciDoctor

    Retired Team Member
  • Premium Supporter
  • February 2, 2005
    1,465
    139
    England
    Heartbeat still kicks session if 'blankscreen' or 'turn off monitor' used by client MP. RC3 and svn 16250
     

    SciDoctor

    Retired Team Member
  • Premium Supporter
  • February 2, 2005
    1,465
    139
    England
    Can we have an option 'xml file' or other to turn off this HEARTBEAT.

    It seems to be such a coincidence that since its inception the reliability and stability of the TVSERVICE has plumeted to an all time low.
     

    grubi

    Portal Pro
    June 16, 2007
    1,216
    80
    127.0.0.1
    Home Country
    Germany Germany
    Can we have an option 'xml file' or other to turn off this HEARTBEAT.

    It seems to be such a coincidence that since its inception the reliability and stability of the TVSERVICE has plumeted to an all time low.

    Come on we are in beta stage. I think to leave it on is a good idea, otherwise devs will not get to know where it has to be fixed.

    just my very own opinion.

    grubi
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Home Country
    Denmark Denmark
    Can we have an option 'xml file' or other to turn off this HEARTBEAT.

    It seems to be such a coincidence that since its inception the reliability and stability of the TVSERVICE has plumeted to an all time low.

    Did u try and open the tv.log and look for any weird kicks carried out ?
    If not, then the heartbeat monitor on the server shouldn't have any impact on general stability.


    'blankscreen' or 'turn off monitor'
    I am not familiar with these.

    If you have anything reproduceable, then please take your time and show us how.

    /Gibman
     

    Users who are viewing this thread

    Top Bottom