Resources for IT Professionals > Forums Home > Microsoft Research Forums > Reflector Service > An existing connection was forcibly closed by the remote host
Ask a questionAsk a question
 

QuestionAn existing connection was forcibly closed by the remote host

  • Monday, September 17, 2007 9:10 AMLößlein Thomas Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hello,

     

    we are using 2 conferenceXP clients and 1 conferenceReflector Service. The reflector server is behind a router.

     

    If both clients talk without reflector service, all is ok. If the clients use the reflector service, on one client all is ok, on the other client, the video is not good.

     

    On reflector service event log we can see this:

    RegistrarServer: Received Request:Join => 239.239.239.151:5151 (0)

     

    UCtoUCMC forwarder exception - TrafficType:IPv4RTP Packet received from: 10.1.200.112:7004

    System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host

    at System.Net.Sockets.Socket.ReceiveFrom(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint& remoteEP)

    at System.Net.Sockets.Socket.ReceiveFrom(Byte[] buffer, EndPoint& remoteEP)

    at MSR.LST.ConferenceXP.ReflectorService.UCtoUCMC.Start() in e:\sd\daily\lst\source\Reflector\ReflectorServer\UCtoUCMC.cs:line 212

     

    On client A: 10.1.200.112

    Video from Client B ok

    Audio from Client B ok

     

    On Client B: 10.1.200.77

    Video from Client A is not ok (A picture is seen, but poor quality, only changed parts of pciture are a litte bit better)

    Audio from Client A is ok

All Replies

  • Monday, September 17, 2007 5:50 PMFred Videon Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    According to a comment in the reflector source code, the exception you saw can happen sometimes when a client leaves a venue.  It might possibly suggest a problem on the path from A to the reflector, but hard to say for sure.

     

    From the symptom you describe, it sounds like you are losing a lot of frames somewhere in the path {A->reflector->B}.  You could use perfmon on B to look up the RTPStream frame loss statistics to confirm that.  Check the size of the video stream from A.  If it's a high bandwidth stream, you might try using more compression.  

     

    I have occasionally found iperf to be a useful tool for verifying the capabilities of various network paths.

    http://dast.nlanr.net/Projects/Iperf/

     

    Best of luck,

    Fred Videon