[fixed] Client : Connetion to server problem with multiple network interfaces (1 Viewer)

Smeulf

Retired Team Member
  • Premium Supporter
  • October 27, 2010
    672
    454
    France
    Home Country
    France France
    HI Albet,

    Both client and server are on the same machine...

    And it's about 1 time of 10 as mentionned before, so totally unpredictible. This occurs with a remote client too, but I agree with you, with WLAN packets can be dropped...

    But, I think found my problem :

    I have 2 network adapters on my computer, 1 physical, and 1 virtual for virtual machines. The virtual one was down, but it seems sometime the client was trying to use that adapter (virtual, so sometime stranges issues...)

    Since I disabled that adapter, I can't reproduce the problem, and it (seems to) speed up the reaction of the client.

    Even if you don't fix it right now, it's interesting to know that, and maby at the very end, you can add an option to define with network adapter both client and server will use.

    Morpheus, are you in the same case ?

    Cheers.

    Smeulf.
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    AW: Client : Connetion to server problem

    I have 2 network adapters on my computer, 1 physical, and 1 virtual for virtual machines. The virtual one was down, but it seems sometime the client was trying to use that adapter (virtual, so sometime stranges issues...)

    Since I disabled that adapter, I can't reproduce the problem, and it (seems to) speed up the reaction of the client.

    This could also be the reason that I can't reproduce the issue anymore, because I removed VM Ware some days ago =)
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    AW: Client : Connetion to server problem

    I don't think it should be closed yet.

    Meanwhile I exchanged my WLAN to 300 MBit, so I can try once more if it works now reliable...
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    AW: Client : Connetion to server problem

    I reinstalled VMWare and have now connection issues again... >_>
     

    Smeulf

    Retired Team Member
  • Premium Supporter
  • October 27, 2010
    672
    454
    France
    Home Country
    France France
    Re: AW: Client : Connetion to server problem

    I reinstalled VMWare and have now connection issues again... >_>

    After some searchs, it seems there is no effective way to determine if a network adapter is virtual or not.

    If we assume few users will have Virtual Machines on a HTPC, we can recommend to disable any virtual network adapter while using MP2-Server.

    Another way would be to create a MP2-Server option to select the interface on which it would work, but Albert said that this would be against the UPnP specifications, so...
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    AW: Client : Connetion to server problem

    I just wanted to let you know ;) I don't have VMWare installed on my HTPC xD And all in all it's working fine =)
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    AW: Client : Connetion to server problem

    Hmm, it looks like that this is a bigger issue...
    Client and server were connected, after I was away for some hours and came back the client was disconnected, but the Server still thinks they are connected oO

    Screenshot attached =)
     

    Attachments

    • client-server issue.png
      client-server issue.png
      301.3 KB

    Albert

    MP2 Developer
  • Premium Supporter
  • February 18, 2008
    1,297
    1,130
    46
    Freiburg im Breisgau, Germany
    Home Country
    Germany Germany
    AW: Re: AW: Client : Connetion to server problem

    I reinstalled VMWare and have now connection issues again... >_>

    After some searchs, it seems there is no effective way to determine if a network adapter is virtual or not.

    If we assume few users will have Virtual Machines on a HTPC, we can recommend to disable any virtual network adapter while using MP2-Server.

    Another way would be to create a MP2-Server option to select the interface on which it would work, but Albert said that this would be against the UPnP specifications, so...

    Would be good if we could avoid configuring the network interfaces to use for UPnP, but it is not against the UPnP specs. If we don't find a better way, we should create a configuration option for that.

    Some years ago, when I used a VPN to connect to the server at my former work, I remember it also broke when I installed VMWare. When I uninstalled it, the VPN worked again. VMWare seems to be the reason for many network problems at the computer where it is installed...
     

    MJGraf

    Retired Team Member
  • Premium Supporter
  • January 13, 2006
    2,478
    1,385
    Client can't find Server

    Hi everybody,

    I'm just collecting my first MP2 experience and I must say, I'm really impressed! Congratulations to this excellent piece of software!

    But I have one problem and I hope somone can help me with it: When I run the Client and the Server on the same machine, everything works without problems. When I start the client on a different machine, it doesn't find the server. What I did is:

    Start MP2-Client
    Go to: Settings -> General -> Home Server -> Search for Servers
    It tells me "Currently, there is no MediaPortal 2 Server available in the network"

    (ClientLog attached, Client Error.log is empty)

    But there is! None of the machines is running a firewall or the like, I can ping them with IPv4 and IPv6. Can I somehow manually enter the Server address? I can't find a configuration file to do this (maybe "MediaPortal.UI.ServerCommunication.Settings.ServerConnectionSettings"? But I don't know what to put into that file...).

    Any help appreciated and keep up the good work!
    Michael
     

    Users who are viewing this thread

    Top Bottom