Results 1 to 2 of 2

Thread: Existing conection forcibly closed

  1. #1
    ngambek2003 is offline Registered User
    Name: Budyanto Himawan
    Organization: WMS Inc.
    Project: Casino back end services
    Join Date
    Sep 2009
    Posts
    87

    Existing conection forcibly closed

    Hi,

    I keep getting this error on my Ice client..

    Code:
    SocketException: An existing connection was forcibly closed by the remote host.
    
      at System.Net.Sockets.Socket+SocketAsyncResult.CheckIfThrowDelayedException () [0x00000] in <filename unknown>:0 
      at System.Net.Sockets.Socket.EndReceive (IAsyncResult asyncResult, System.Net.Sockets.SocketError& errorCode) [0x00000] in <filename unknown>:0 
      at System.Net.Sockets.Socket.EndReceive (IAsyncResult result) [0x00000] in <filename unknown>:0 
      at IceInternal.TcpTransceiver.finishRead (IceInternal.Buffer buf) [0x00000] in <filename unknown>:0 
    Rethrow as ConnectionLostException
      at IceInternal.TcpTransceiver.finishRead (IceInternal.Buffer buf) [0x00000] in <filename unknown>:0 
      at Ice.ConnectionI.finishAsync (Int32 operation) [0x00000] in <filename unknown>:0 
     
    (Filename:  Line: -1)
    I'm connecting my client thru Glacier2 to the server. I'm using Ice 3.4.1. on a Windows 7 machine. The client is a C# client and the server is c++. It probably doesn't matter what the server is since I'm connecting thru Glacier 2.

    It seems like the Glacier2 connection is established correctly and the session was created. The client was able to send and receive messages. But after a short while I get the above exception on the client. Nad that short while seems to be random. Sometimes it's almost immedaitely after the connection is established, sometimes a few secs after.

    I'm attaching the Glacier2 logs with Ice.Trace.Network set to 3, Ice.Trace.Protocol set to 1 and Ice.Trace.Session set to 1. From what I can see things seemed normal.

    Not sure what's causing it. And it's only happening on this one machine. The specs on the machine and its OS are identical to a couple other machines I have tried it on.
    Attached Files Attached Files

  2. #2
    mes's Avatar
    mes
    mes is online now ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,445
    Hi Budyanto,

    I'm not yet sure what would be causing this. I'd like to get more information:

    * What OS is the Glacier2 host using?
    * Can you post the log output of the client with Ice.Trace.Network=3 and Ice.Trace.Protocol=1?
    * Can you include Glacier2.Trace.Session=1 in your Glacier2 configuration and post a new log output?

    Thanks,
    Mark

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 11-18-2008, 09:06 PM
  2. Replies: 3
    Last Post: 05-30-2008, 06:58 AM
  3. Replies: 10
    Last Post: 03-22-2007, 01:27 PM
  4. Ip Addresses and basic conection questions
    By EmmanuelOga in forum Help Center
    Replies: 5
    Last Post: 07-31-2006, 05:45 PM
  5. IceBox Conection refused
    By xdm in forum Help Center
    Replies: 5
    Last Post: 12-11-2003, 01:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •