| Summary | |
|---|---|
| Article Number | 25821 | 
| Environment | Orbix 6.3 C on Windows | 
| Question/Problem Description | An Orbix client may see an IT_GIOP::CONNECTION_LOST error with a reason WSAECONNRESET (10054) Connection reset by peer. This will require Orbix to re-establish a connection to the server. | 
| Clarifying Information | 
	This could be reproduced by killing a server while a client is waiting on a response | 
| Error Message | The client will catch: CORBA System Exception ... minor=0x49540200 (IT_GIOP: CONNECTION_LOST) The Orbix logs will show: Day, 11 Oct 2011 11:11:11.0000000 [HOST:PID] (IT_ATLI2_IP:101) W - ATLI2 failure receiving data with minor_code 0 occurred in TCPConnectionImpl::dispatch_failed() Day, 11 Oct 2011 11:11:11.0000000 [HOST:PID] (IT_ATLI2_IP:102) W - ATLI2 failure caused by function WSARecv() failing with system error 10054 ('An existing connection was forcibly closed by the remote host.') Day, 11 Oct 2011 11:11:11.0000000 [HOST:PID] (IT_ATLI2_IOP:105) W - ATLI2 Failure occurred on connection to 111.11.11.111.22222: WSARecv() failed in TCPConnectionImpl::dispatch_failed() with: An existing connection was forcibly closed by the remote host. | 
| Defect/Enhancement Number | |
| Cause | The Orbix client is reacting to a TCP event when the connection goes down. This error will be returned when the client is waiting on a response to a request which has been sent to a server. One example of where this might happen is when a client sends a request to a server that takes over 30 minutes to process. In some networks a firewall may be configured that shuts down connections over 30 minutes old, this would result in the client seeing this error. A second example could be a server which is shutdown abruptly while processing a request for a client. | 
| Resolution | This is not caused by an Orbix error, rather this is Orbix reacting to a problem in the network or a server being shutdown while processing a request. These problems should be investigated. | 
| Workaround | |
| Notes | |
| Attachment | 
| Created date: | 12 October 2011 | 
|---|---|
| Last Modified: | 13 February 2013 | 
| Last Published: | 12 May 2012 | 
| First Published date: | 21 October 2011 | 
#KnowledgeDocs
#Orbix

