RE: [Quickfix-developers] Session Resetting
Brought to you by:
orenmnero
|
From: Steinberg, J. <Jon...@bo...> - 2006-02-28 00:07:57
|
There was also a sequence reset at 5:00, but nothing since that point - here is the complete event log with the sequence reset put back . 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 05:00:37.867 MsgSeqNum too high, expecting 2 but received 4 2006-02-24 05:00:37.993 Sent ResendRequest FROM: 2 TO: 999999 2006-02-24 05:00:38.210 Received SequenceReset FROM: 2 TO: 5 2006-02-24 05:01:38.190 ResendRequest for messages FROM: 2 TO: 3 has been satisfied. 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 Where else would I look? What events would cause a logout/session reset? Jonathan Steinberg ________________________________ From: John Hensley [mailto:jhe...@bo...] Sent: Monday, February 27, 2006 4:27 PM To: Steinberg, Jonathan; qui...@li... Subject: RE: [Quickfix-developers] Session Resetting 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. BTW, I'd obscure the sender and target comp IDs too. Maybe I'm just paranoid. 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 I am using Quickfix 1.11.0, quickifx_net wrappers with c#, VS2003. Here is my config [...] Here is the event log: 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 Here are the incoming and outgoing logs: heartbeat out 2006-02-24 11:56:37.037 8=FIX.4.09=4935=034=42249=BFPG52=20060224-16:56:3756=BOFA10=177 heartbeat in 2006-02-24 11:56:47.127 8=FIX.4.09=5435=049=BOFA56=BFPG34=41943=N52=20060224-16:56:4710=167 heartbeat out 2006-02-24 11:57:37.170 8=FIX.4.09=4935=034=42349=BFPG52=20060224-16:57:3756=BOFA10=179 logout out 2006-02-24 11:57:45.187 8=FIX.4.09=4935=534=42449=BFPG52=20060224-16:57:4556=BOFA10=184 login out 2006-02-24 11:58:08.763 8=FIX.4.09=5935=A34=149=BFPG52=20060224-16:58:0856=BOFA98=0108=6010=120 logout in 2006-02-24 11:58:08.967 8=FIX.4.09=17835=549=BOFA56=BFPG34=42043=N52=20060224-16:58:0958=Catastr opic Error: Incoming sequence number (1) is less than expected (425) without PossDupFlag being set. Logging out.10=163 logout out 2006-02-24 11:58:09.013 8=FIX.4.09=4735=534=249=BFPG52=20060224-16:58:0856=BOFA10=078 I cannot figure out for the life of me why this session disconnected. 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=FIX.4.09=4735=534=149=BFPG52=20060227-10:00:2656=BOFA10=061 which repeats until the other system resets itself. How can I investigate the reason for the session reset? Thanks for any help Jonathan Steinberg |