TV-Server is not stable after standby (1 Viewer)

mysteryboard

MP Donator
  • Premium Supporter
  • August 6, 2011
    34
    2
    Aachen
    Home Country
    Germany Germany
    Hello,

    I have a lot of problems with my mc 1.2.1, when I start my htpc from standby. My TV freezes and after a few minutes I get an unknown mistake. I have made all necessary setup options (f. e. Delay in seconds or Reinitialize TV-Server after standby in the Power Scheduler). Maybe one reason can be the fact, that I have an external TV-card (TechniTrend TT-connect S2-3600). My OS is Win7 Home Premium 32-Bit.

    My TV freezes NOT every time after standby. Sometimes the TV starts without freezing, without any problems. I haven't an idea, what can be the reason for this attitude. I hope, that somebody has a solution.

    Thanks :confused:
     

    Squidmata

    Portal Member
    January 14, 2008
    17
    1
    Home Country
    United Kingdom United Kingdom
    Hope it's not too rude to jump in but my MP installation is full of 'unknown errors' and 'no PMT found' after standby - logs attached. If anyone can shed any light I'd be most grateful!
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    Hi Squidmata

    I certainly don't mind. :)
    Some cards don't handle suspend/resume cycles well unless you treat them with care. The FloppyDTV S2 is one of them. First I would say that you need to restart TV Server on resume. There should be an option in Powerscheduler for that. In addition you may need to increase the "delay before TV Server detects cards" setting in the general section of TV Server configuration to give the FloppyDTV driver some time to initialise. Finally, you may also find that you can't use the "pause card" ("when card enters idle state..." -->here<--) option with the FloppyDTV. Same advice applies to the TeVii tuner except that I think it is probably slightly less fussy.

    mm
     

    Squidmata

    Portal Member
    January 14, 2008
    17
    1
    Home Country
    United Kingdom United Kingdom
    Thanks for your reply mm, I've read up on those functions and will give them a try, although I have to say this has only become a problem since I upgraded mp..

    EDIT: That looks to have done it, many thanks mm. Meanwhile, over here..
     

    mysteryboard

    MP Donator
  • Premium Supporter
  • August 6, 2011
    34
    2
    Aachen
    Home Country
    Germany Germany
    AW: TV-Server is not stable after standby

    Hello,

    I have installed mp 1.2.2, but the TV-Server is not stable after resume. Very often I get a unknown error and my mp stop working. My drivers are ok, I think so. After restart I haven't a problem with my TV-Server. Please check my logs, I was able to track the error.

    Greetings
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    Hi mysteryboard

    I think the problem for you is either your database or your network connection. The error is here:

    2011-12-31 12:48:54.595562 [DVB EPG timer(21)]: Exception :confused:ystem.Net.Sockets.SocketException: Ein Verbindungsversuch ist fehlgeschlagen, da die Gegenstelle nach einer bestimmten Zeitspanne nicht richtig reagiert hat, oder die hergestellte Verbindung war fehlerhaft, da der verbundene Host nicht reagiert hat 192.168.3.24:31456

    Server stack trace:
    bei System.Net.Sockets.Socket.Connect(IPAddress[] addresses, Int32 port)
    bei System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket(AddressFamily family)
    bei System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket()
    bei System.Runtime.Remoting.Channels.RemoteConnection.GetSocket()
    bei System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew)
    bei System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)
    bei System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
    bei System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)

    Exception rethrown at [0]:
    bei System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    bei System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    bei TvControl.IController.IsRecording(IUser& user)
    bei TvService.EpgCard.IsCardIdle(Int32 cardId)
    bei TvService.EpgCard.GrabEpgForChannel(Channel channel, IChannel tuning, Card card)
    bei TvService.EpgCard.GrabEpg()
    bei TvService.EpgGrabber.GrabEpgOnCard(EpgCard epgCard)
    bei TvService.EpgGrabber._epgTimer_Elapsed(Object sender, ElapsedEventArgs e)

    That message means that TV Server tried to access the database but had to give up waiting for a response after about 1 minute - the database did not reply to the request.

    First question: are you using a static IP address for your TV Server?
    Second question: do you use a firewall on your TV Server?

    If the answer to q1 is "no" then I suggest you set that up.
    If the answer to q2 is "yes" then I suggest that you temporarily disable it and test to see if it makes a difference.

    mm
     

    mysteryboard

    MP Donator
  • Premium Supporter
  • August 6, 2011
    34
    2
    Aachen
    Home Country
    Germany Germany
    AW: TV-Server is not stable after standby

    Hello,

    now I'm using a static IP-address for my TV-Server. I'll post my experiences.

    Thanks and a happy new year.
     

    mysteryboard

    MP Donator
  • Premium Supporter
  • August 6, 2011
    34
    2
    Aachen
    Home Country
    Germany Germany
    AW: TV-Server is not stable after standby

    Now, I have tested for a while my TV with a static IP-adress, and it seems to be ok. The TV-Server works without freezing after resume. But I think, that a DHCP-configuration in a network is not seldom, to get an unknown mistake is not ok. Is it possible to change this?

    Thanks
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    Hi again

    Now, I have tested for a while my TV with a static IP-adress, and it seems to be ok. The TV-Server works without freezing after resume.
    Well that is good. :)

    But I think, that a DHCP-configuration in a network is not seldom, to get an unknown mistake is not ok. Is it possible to change this?
    You are right - DHCP is common. If you are asking whether it is possible for us to fix the issue in TV Server code then my answer would be "no, almost certainly not". I certainly don't know enough to try to fix it.

    mm
     

    Users who are viewing this thread

    Top Bottom