RE: [Quickfix-developers] Logon-Mystery Disconnect
Brought to you by:
orenmnero
From: Howard S. E. <ho...@ex...> - 2004-04-29 13:49:25
|
Thanks for the suggestion, but I don't think it's that. I destroy my = FIX Application, Session, Log, etc objects and remove the logs on a = nightly basis, so unless there's an initialization problem when these = objects are created, I am pretty certain my sequence numbers are coming = up 1,1 in the morning. In the example below he comes in at SeqNum=3D1 = and is disconnected. 4 minutes later he comes in at 2 and is allowed to = log on, however qf logs that it expected SeqNum=3D1, received 2. So it = does not look to be a too low seq num issue. Not to beat a dead horse, = but again, adding a reason indicator to the "Disconnecting" message = would go a long way to clearing up, if nothing else, at least why qf = thinks it should be disconnecting the session. -----Original Message----- From: Miller, Oren [mailto:OM...@ri...] Sent: Thursday, April 29, 2004 9:22 AM To: Howard S. Engelhart; qui...@li... Subject: Re: [Quickfix-developers] Logon-Mystery Disconnect This sounds like he may be logging in with a sequence number that is too = low. What will happen is he will attempt logons, get disconnected due = to the sequence number being to low. Every time he is sending a logon, = he increments his sequence number until he eventually reaches the right = one. Perhaps yor sequence numbers arn't being reset when you think they = are? -------------------------- Sent from my BlackBerry Wireless Handheld -----Original Message----- From: Howard S. Engelhart <ho...@ex...> To: QuickFIX Questions (E-mail) = <qui...@li...> Sent: Thu Apr 29 07:22:23 2004 Subject: RE: [Quickfix-developers] Logon-Mystery Disconnect Yes. The enigmatic "Disconnecting" especially. This morning I observed = a repeat of the exact same behaviour as yesterday. The client attempts = the logon at 12:05 gmt is disconnected for reasons that I cannot fathom = from the logs, and then successfully reconnects and logs on 4 minutes = later. If anyone has experience/insight into this, it would be greatly = appreciated. 8=3DFIX.4.0`9=3D74`35=3DA`49=3DCLIENT`56=3DSERVER`34=3D1`50=3DADMIN`43=3D= N`52=3D20040429-12:05:16`98=3D0`108=3D60`10=3D238` 8=3DFIX.4.0`9=3D74`35=3DA`49=3DCLIENT`56=3DSERVER`34=3D2`50=3DADMIN`43=3D= N`52=3D20040429-12:09:10`98=3D0`108=3D60`10=3D237` 8=3DFIX.4.0`9=3D68`35=3D1`49=3DCLIENT`56=3DSERVER`34=3D3`50=3DADMIN`43=3D= N`52=3D20040429-12:09:10`112=3D3`10=3D202` 8=3DFIX.4.0`9=3D95`35=3D4`49=3DCLIENT`56=3DSERVER`34=3D1`50=3DADMIN`43=3D= Y`52=3D20040429-12:09:10`122=3D20040429-12:09:10`123=3DY`36=3D4`10=3D015`= 8=3DFIX.4.0`9=3D95`35=3D4`49=3DCLIENT`56=3DSERVER`34=3D1`50=3DADMIN`43=3D= Y`52=3D20040429-12:09:10`122=3D20040429-12:09:10`123=3DY`36=3D4`10=3D015`= 8=3DFIX.4.0`9=3D68`35=3D1`49=3DCLIENT`56=3DSERVER`34=3D4`50=3DADMIN`43=3D= N`52=3D20040429-12:10:14`112=3D4`10=3D200` 20040429-11:30:03 : Created session 20040429-12:05:16 : Disconnecting 20040429-12:09:10 : Received logon request 20040429-12:09:10 : Responding to logon request 20040429-12:09:10 : MsgSeqNum too high RECEIVED: 2 EXPECTED: 1 20040429-12:09:10 : Sent ResendRequest FROM: 1 TO: 999999 20040429-12:09:10 : MsgSeqNum too high RECEIVED: 3 EXPECTED: 1 20040429-12:09:10 : Sent ResendRequest FROM: 1 TO: 999999 20040429-12:09:10 : Received SequenceReset FROM: 1 TO: 4 20040429-12:09:10 : MsgSeqNum too low RECEIVED: 1 EXPECTED: 4 PosDup: Y -----Original Message----- From: Joerg Thoennes [mailto:Joe...@ma...] Sent: Wednesday, April 28, 2004 10:00 AM To: Howard S. Engelhart Cc: QuickFIX Questions (E-mail) Subject: Re: [Quickfix-developers] Logon-Mystery Disconnect >> On a side note, it would help to have a bit more verbosity in the >> event logging, particuarly where disconnects are concerned. I >> would gladly volunteer my time towards putting this in if I can >> help. Yes, QF could be a lot more verbose in the event log, esp. for the=20 following cases: 1. Rejected logon 2. Disconnect 3. Logout with user provided logout reason 4. Dropped messages fragments which fail body length or CRC check. Cheers, J=F6rg --=20 Joerg Thoennes http://macd.com Tel.: +49 (0)241 44597-24 Macdonald Associates GmbH Fax : +49 (0)241 44597-10 Lothringer Str. 52, D-52070 Aachen ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. = Take an Oracle 10g class now, and we'll give you the exam FREE.=20 http://ads.osdn.com/?ad_id149&alloc_id=8166&op=3Dick _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers |