[QFJ-622] logout after each resend request Created: 25/Jul/11  Updated: 11/Oct/12  Resolved: 11/Oct/12

Status: Closed
Project: QuickFIX/J
Component/s: Engine
Affects Version/s: 1.5.0
Fix Version/s: None

Type: Bug Priority: Default
Reporter: rikard Assignee: Unassigned
Resolution: Not a bug Votes: 0
Labels: sequnece
Environment:

linux centos



 Description   

Trying to pick up after a nework failure the quickfixj engine is logging out after each resend request.
The reconnection interval is set to 15 seconds in the config file.
See log example below where a syncronisation of approx. 3 messages is done before logging out and then waiting 15 seconds(reconnection interval) for logging in again.
In this case the initiator missed 280(heartbeat) seq.no which took more than 20 minutes to syncronize.

xxx = targetcomp
yyy = sendcomp

8=FIX.4.2|9=101|35=5|49=XXX|56=YYY|34=281|369=276|52=20110720-07:24:21|58=Error ! Expecting : 278 but received : 4|10=194|
8=FIX.4.2|9=51|35=5|34=6|49=YYY|52=20110720-07:24:26.998|56=XXX|10=055|
8=FIX.4.2|9=63|35=A|34=7|49=YYY|52=20110720-07:24:41.988|56=XXX|98=0|108=30|10=092|
8=FIX.4.2|9=69|35=A|49=XXX|56=YYY|34=282|369=276|52=20110720-07:24:36|98=0|108=30|10=115|
8=FIX.4.2|9=60|35=2|34=8|49=YYY|52=20110720-07:24:41.995|56=XXX|7=3|16=0|10=173|
8=FIX.4.2|9=101|35=5|49=XXX|56=YYY|34=283|369=276|52=20110720-07:24:36|58=Error ! Expecting : 278 but received : 7|10=205|
8=FIX.4.2|9=51|35=5|34=9|49=YYY|52=20110720-07:24:42.000|56=XXX|10=030|
8=FIX.4.2|9=64|35=A|34=10|49=YYY|52=20110720-07:24:56.989|56=XXX|98=0|108=30|10=142|
8=FIX.4.2|9=69|35=A|49=XXX|56=YYY|34=284|369=276|52=20110720-07:24:51|98=0|108=30|10=114|
8=FIX.4.2|9=61|35=2|34=11|49=YYY|52=20110720-07:24:56.995|56=XXX|7=4|16=0|10=223|
8=FIX.4.2|9=102|35=5|49=XXX|56=YYY|34=285|369=276|52=20110720-07:24:51|58=Error ! Expecting : 278 but received : 10|10=247|
8=FIX.4.2|9=52|35=5|34=12|49=YYY|52=20110720-07:24:57.014|56=XXX|10=084|
8=FIX.4.2|9=64|35=A|34=13|49=YYY|52=20110720-07:25:11.990|56=XXX|98=0|108=30|10=129|
8=FIX.4.2|9=69|35=A|49=XXX|56=YYY|34=286|369=276|52=20110720-07:25:06|98=0|108=30|10=117|
8=FIX.4.2|9=61|35=2|34=14|49=YYY|52=20110720-07:25:11.997|56=XXX|7=5|16=0|10=221|
8=FIX.4.2|9=102|35=5|49=XXX|56=YYY|34=287|369=276|52=20110720-07:25:06|58=Error ! Expecting : 278 but received : 13|10=253|
8=FIX.4.2|9=64|35=A|34=15|49=YYY|52=20110720-07:25:26.989|56=XXX|98=0|108=30|10=145|
8=FIX.4.2|9=69|35=A|49=XXX|56=YYY|34=288|369=276|52=20110720-07:25:21|98=0|108=30|10=116|
8=FIX.4.2|9=61|35=2|34=16|49=YYY|52=20110720-07:25:26.995|56=XXX|7=6|16=0|10=228|
8=FIX.4.2|9=102|35=5|49=XXX|56=YYY|34=289|369=276|52=20110720-07:25:21|58=Error ! Expecting : 278 but received : 15|10=254|
8=FIX.4.2|9=64|35=A|34=17|49=YYY|52=20110720-07:25:41.989|56=XXX|98=0|108=30|10=144|
8=FIX.4.2|9=69|35=A|49=XXX|56=YYY|34=290|369=276|52=20110720-07:25:36|98=0|108=30|10=115|
8=FIX.4.2|9=61|35=2|34=18|49=YYY|52=20110720-07:25:41.995|56=XXX|7=6|16=0|10=227|



 Comments   
Comment by Christoph John [ 11/Oct/12 ]

The problem is a sequence number mismatch. It seems you were sending seqnum 277 as last message before the crash. But after the crash you should have continued with 278 and not 1. The other side sends a logout since the sequence numbers are simply too low.

Generated at Thu May 02 15:26:02 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.