1.0 RC3: Client can´t connect to server. (1 Viewer)

weissollo

MP Donator
  • Premium Supporter
  • March 2, 2007
    200
    7
    Franken
    Home Country
    Germany Germany
    Hello,

    i noticed a problem if i want to try to connect my Client to the Server.


    Way to reproduce.
    - I made a restrart of the TV-Server
    - TV-Server is running. If I start Mediaportal local on it it works
    - Now I start MediaPortal Configuration tool as an Adminstrator on my Client with a fresh installed MediaPortal
    - I tell the client that it should use "htpc" as server
    - Then It takes more than five ............ minutes before MediaPortal Configuration tool close
    - I get an error in the configuration log:
    2008-10-13 22:19:00.667790 [Info.][Config Main]: Remote control:master server :htpc
    2008-10-13 22:19:01.151390 [Info.][Config Main]: ChannelNavigator::Reload()
    2008-10-13 22:19:01.260590 [Info.][Config Main]: get channels from database
    2008-10-13 22:24:20.640390 [Info.][Config Main]: TVHome: Error in Reload - The database backend (provider SQLServer) could not be reached.
    Check the connection string: Password=MediaPortal;Persist Security Info=True;User ID=sa;Initial Catalog=MpTvDbRC2;Data Source=htpc\SQLEXPRESS;Connection Timeout=300;
    2008-10-13 22:24:20.640390 [ERROR][Config Main]: TVHome: Error in Reload - The database backend (provider SQLServer) could not be reached.
    Check the connection string: Password=MediaPortal;Persist Security Info=True;User ID=sa;Initial Catalog=MpTvDbRC2;Data Source=htpc\SQLEXPRESS;Connection Timeout=300;

    Then I start Mediaportal
    - On the Splash Screen it takes very long on "Loading window plugins"
    - .....
    - After about three Minutes. MediaPortal has started.
    - I select MyTV
    - You can wait seven minutes and nothing happens.
    - I kill MediaPortal


    I attached the logs of the Client.


    With RC2 on client and server i didn´t have this problem.
    The Firewall settings are the same as with RC2.

    But one thing is much better than with RC2 the MediaPortal runs more smoother on the Server!

    :D

    I hope you can help me!

    This is my Client:
    TV-Server Version: 1.0 RC3
    MediaPortal Version: 1.0 RC3
    MediaPortal Skin: Blue3
    Windows Version: Windows Vista x64
    Die Hardware ist in etwa die: Der Dell Online-Shop: Stellen Sie Ihr eigenes System zusammen
    MPEG2 Video Codec:
    MPEG2 Audio Codec:


    This is my Server:
    TV-Server Version: 1.0 RC3
    MediaPortal Version: 1.0 RC3
    MediaPortal Skin: Blue3
    Windows Version: Windows XP Prof SP2
    CPU Type: AMD Sempron 2800+
    HDD: Seagate ST3250620AS 250GB
    Memory: 512 MB
    Motherboard: Win Fast 760GXK8MC
    Video Card: Nvidia Geforce 6200 A-LE 256MB Ram
    Video Card Driver: 6.14.11.6921
    Sound Card: onboard
    Sound Card AC3:
    Sound Card Driver:
    1. TV Card: Twinhan DTV Mantis 1034 (DTV-BDA Mantis BDA Receiver)
    1. TV Card Type: DVB-S
    1. TV Card Driver: 1.0.8.0 BDA (I use it since May 2008))
    2. TV Card:
    2. TV Card Type:
    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: CyberLink
    MPEG2 Audio Codec: CyberLink
    h.264 Video Codec:
    Satelite/CableTV Provider: 19,2°E
    HTPC Case:
    Cooling:
    Power Supply:
    Remote: MCE Model: 1039
    TV: Philips PHL4650 (Bad PC Support)
    TV - HTPC Connection: DVI
     

    AlfredENeuma

    Portal Pro
    October 10, 2008
    433
    156
    Home Country
    Germany Germany
    Firewall

    Hi,

    did you try with the firewall (on server and client) disabled?

    I once had the same problem; the SQL-server had created a new instance, and the exception in the firewall was still looking to the old instance, so the new one was blocked.

    Good luck
    Alfred
     

    trelm249

    Portal Member
    May 25, 2008
    30
    1
    Home Country
    United States of America United States of America
    i am having the same problem. there are no firewalls enabled. both machines are xp pro sp2.
     

    weissollo

    MP Donator
  • Premium Supporter
  • March 2, 2007
    200
    7
    Franken
    Home Country
    Germany Germany
    :D It works :D

    Hi,

    did you try with the firewall (on server and client) disabled?

    I once had the same problem; the SQL-server had created a new instance, and the exception in the firewall was still looking to the old instance, so the new one was blocked.

    Good luck
    Alfred

    :D
    It was the firewall on the Server!
    If I deactivate it ---> It works!
    But I didn´t find out why?
    TVServer is allowed
    TCP/IP 1433 is allowed
    UDP 1434 is allowed
    like it is mentioned here: TV-Server/Configuration/Firewall - MediaPortal Wiki Documentation
    Or can I find out which ports Mediaportal use in the LOG-Files.

    What else can I do?
    I don´t want to use my HTPC without a firewall.


    But when I installed RC3 the Installer told me that the firewall configured automaticly. -----> Strange
    I will try to reproduce this.

    Maybe there is a bug in this tool: MEDIAPORTAL - free MediaCenter HTPC Software - BackupSettings -------> I hope not

    And againt :D for your help.

    i am having the same problem. there are no firewalls enabled. both machines are xp pro sp2.

    Maybe you should also post your logs.
    To make sure that is realy the same.
     

    AlfredENeuma

    Portal Pro
    October 10, 2008
    433
    156
    Home Country
    Germany Germany
    Hi,

    good to hear that its the firewall; but, I think you only looked to the firewall (exceptions) of MediaPortal. In my case it was the expception for the SQL server (and it looks like this is your problem also, see your first post "The database backend (provider SQLServer) could not be reached".

    Just check if the exception in the firewall really looks to the right database; I think the installer has a problem if there is another database already and always looks to the first one. At least, this was the case when it did not work on my system. There is an existing database from another application (MSSQL.1), and the exception was created by the installer only for this one.

    So I had to add the exception for the MSSQL.2 (which is the database for the TVserver) manually.

    Good luck!
     

    Attachments

    • Firewall.jpg
      Firewall.jpg
      56.7 KB
    • Firewall2.jpg
      Firewall2.jpg
      55.2 KB

    trelm249

    Portal Member
    May 25, 2008
    30
    1
    Home Country
    United States of America United States of America
    Since the firewall is disabled on both the client and the server for me, clearly it isn't a firewall issue.

    The server was working when loaded with RC2 as was the client. Both are now loaded with RC3. The client takes for ever to close the configuration utility. Then Mediaportal itself takes a long time to load. My TV never actually loads when accessed from the home menu.
     

    AlfredENeuma

    Portal Pro
    October 10, 2008
    433
    156
    Home Country
    Germany Germany
    The client takes for ever to close the configuration utility. Then Mediaportal itself takes a long time to load. My TV never actually loads when accessed from the home menu.
    Ok, if you say, the firewalls are disabled, I have to believe you; the symptoms you describe, however, are exactly the ones with a blocking firewall (Mediaportal: Waiting while "loading window plugins", I think???). But: If you do not provide any information about your system and no logfiles at all, most likely nobody will be able to help you more specific. :confused:
     

    trelm249

    Portal Member
    May 25, 2008
    30
    1
    Home Country
    United States of America United States of America
    :sorry:Feeling properly chastised and penitent here is the following. I can ping the server and rdp into the server just fine.
    Both are core2 systems running 2GB ram and XP Pro SP2.

    I have included the client log files.

    Thanks for the help.
     

    Users who are viewing this thread

    Top Bottom