RE: [Quickfix-developers] Session Resetting
Brought to you by:
orenmnero
|
From: John H. <jhe...@bo...> - 2006-02-27 21:27:10
|
I hate it when you see what you should have read before you hit send, a minute after you hit send. Is there really nothing in your logs between the receipt of the logon response at 05:00 and that first disconnect, where your sequence numbers got reset? ________________________________ From: qui...@li... [mailto:qui...@li...] On Behalf Of John Hensley Sent: Monday, February 27, 2006 4:10 PM To: Steinberg, Jonathan; qui...@li... Subject: RE: [Quickfix-developers] Session Resetting Looks like your sequence numbers are out of sync; your counterparty thinks your conversation is up to 425, and you're at 1. You need to have them reset, or somehow get your outgoing sequence number caught up. I have a Java utility I use with QF/J; I don't know whether there's something similar for 1.11.0. =20 BTW, I'd obscure the sender and target comp IDs too. Maybe I'm just paranoid. =20 John ________________________________ From: qui...@li... [mailto:qui...@li...] On Behalf Of Steinberg, Jonathan Sent: Monday, February 27, 2006 3:34 PM To: qui...@li... Subject: [Quickfix-developers] Session Resetting I am having a tough time with a session resetting itself=20 I am using Quickfix 1.11.0, quickifx_net wrappers with c#, VS2003. =20 Here is my config=20 =20 [...] =20 Here is the event log: =20 2006-02-24 05:00:36.587 Connecting to xxx.xx.xx.xxx on port 17988 2006-02-24 05:00:36.650 Connection succeeded 2006-02-24 05:00:37.757 Initiated logon request 2006-02-24 05:00:37.837 Received logon response 2006-02-24 11:57:45.263 Disconnecting 2006-02-24 11:57:45.653 Socket Error 2006-02-24 11:58:07.747 Connecting to xxx.xx.xx.xxx on port 17988 2006-02-24 11:58:07.763 Connection succeeded 2006-02-24 11:58:08.777 Initiated logon request 2006-02-24 11:58:08.980 Received logout request 2006-02-24 11:58:09.027 Sending logout response 2006-02-24 11:58:09.027 Disconnecting 2006-02-24 11:58:09.027 Socket Error 2006-02-24 11:58:37.760 Connecting to xxx.xx.xx.xxx on port 17988 2006-02-24 11:58:38.760 Connection failed 2006-02-24 11:59:07.773 Connecting to xxx.xx.xx.xxx on port 17988 2006-02-24 11:59:08.727 Connection failed =20 =20 Here are the incoming and outgoing logs: heartbeat out 2006-02-24 11:56:37.037 8=3DFIX.4.09=3D4935=3D034=3D42249=3DBFPG52=3D20060224-16:56:3756=3DBOFA10= =3D177 heartbeat in 2006-02-24 11:56:47.127 8=3DFIX.4.09=3D5435=3D049=3DBOFA56=3DBFPG34=3D41943=3DN52=3D20060224-16:5= 6:4710=3D167 heartbeat out 2006-02-24 11:57:37.170 8=3DFIX.4.09=3D4935=3D034=3D42349=3DBFPG52=3D20060224-16:57:3756=3DBOFA10= =3D179 logout out 2006-02-24 11:57:45.187 8=3DFIX.4.09=3D4935=3D534=3D42449=3DBFPG52=3D20060224-16:57:4556=3DBOFA10= =3D184 login out 2006-02-24 11:58:08.763 8=3DFIX.4.09=3D5935=3DA34=3D149=3DBFPG52=3D20060224-16:58:0856=3DBOFA98=3D= 0108=3D6010=3D120 logout in 2006-02-24 11:58:08.967 8=3DFIX.4.09=3D17835=3D549=3DBOFA56=3DBFPG34=3D42043=3DN52=3D20060224-16:= 58:0958=3DCatastr opic Error:=20 Incoming sequence number (1) is less than expected (425) without PossDupFlag being set. Logging=20 out.10=3D163 logout out 2006-02-24 11:58:09.013 8=3DFIX.4.09=3D4735=3D534=3D249=3DBFPG52=3D20060224-16:58:0856=3DBOFA10=3D= 078 =20 =20 I cannot figure out for the life of me why this session disconnected. =20 Additionally, the other system becomes unavailbable when this happens, and I see the outgoing messages on the follwing Monday (2/27) are logout messages again: 2006-02-27 05:00:26.943 8=3DFIX.4.09=3D4735=3D534=3D149=3DBFPG52=3D20060227-10:00:2656=3DBOFA10=3D= 061 which repeats until the other system resets itself. =20 How can I investigate the reason for the session reset?=20 Thanks for any help =20 =20 Jonathan Steinberg =20 =20 =20 =20 |