[Quickfix-developers] client cannot reconnect after disconnect
Brought to you by:
orenmnero
|
From: Nicholas M. <nic...@ch...> - 2006-01-09 15:22:54
|
Here is our situation. We are using a c# client and a c++ server, both using quickfix 1.10.2. Several times during the day the client gets disconnected from the server and cannot reconnect without bouncing the server process. The event logs from both sides are: client: 20060109-14:20:02 : Sent test request TEST 20060109-14:20:14 : Timed out waiting for heartbeat 20060109-14:20:14 : Disconnecting 20060109-14:20:14 : Socket Error 20060109-14:20:19 : Connecting to ecbotoe on port 6336 20060109-14:20:19 : Connection succeeded 20060109-14:20:19 : Initiated logon request 20060109-14:20:24 : Socket Error: Connection reset by peer. 20060109-14:20:24 : Disconnecting 20060109-14:20:29 : Connecting to ecbotoe on port 6336 20060109-14:20:29 : Connection succeeded 20060109-14:20:29 : Initiated logon request 20060109-14:20:34 : Socket Error: Connection reset by peer. 20060109-14:20:34 : Disconnecting 20060109-14:20:39 : Connecting to ecbotoe on port 6336 20060109-14:20:39 : Connection succeeded 20060109-14:20:39 : Initiated logon request 20060109-14:20:44 : Socket Error: Connection reset by peer. 20060109-14:20:44 : Disconnecting 20060109-14:20:49 : Connecting to ecbotoe on port 6336 20060109-14:20:49 : Connection succeeded 20060109-14:20:49 : Initiated logon request 20060109-14:20:54 : Socket Error: Connection reset by peer. 20060109-14:20:54 : Disconnecting ... Server: 20060109-14:19:25 : Socket Error: Connection reset by peer. 20060109-14:19:25 : Disconnecting 20060109-14:21:19 : Created session <-- only after bouncing the server Can anyone tell me why this is happening? What is the socket error following the missed heartbeat and subsequent test request? Is this socket error causing the loop that follows where the client seems to create a socket and send a logon (the outgoing log shows logon messages from the client during this loop) but then disconnects because the socket is bad? I can provide more logs if necessary. All help is appreciated. -- -- -- Nicholas Murdock Chicago Trading Company nic...@ch... 312-863-4653 |