Next MsgSeqNo after received ResetSeqNumFlag=Y
Created by: reedom
After logon with ResetSeqNumFlag=Y
, quicifixgo will send next message with MsgSeqNum=1
.
Then the Admin(I connect to) will responds with error
58(Text)=MsgSeqNum too low, expecting 2 but received 1
Is it simply a bug or one of FIX servicer dependent behavior?
If other Admin accepts 1
but not 2
, we will need to have a configuration entry to customize seqno flow.
log
[20160829-06:48:23.678 (1) LOCAL -> CNX]
8(BeginString)=FIX.4.4
9(BodyLength)=99
35(MsgType)=A(Logon)
34(MsgSeqNum)=1
49(SenderCompID)=LOCAL
52(SendingTime)=20160829-06:48:23.678
56(TargetCompID)=CNX
141(ResetSeqNumFlag)=Y(Yes, reset sequence numbers)
554(Password)=PASSWORD
98(EncryptMethod)=0(None / other)
108(HeartBtInt)=30
10(CheckSum)=008
<2016-08-29 06:48:24.338580066 +0000 UTC, FIX.4.4:LOCAL->CNX, incoming>
[20160829-06:48:24.263 (1) CNX -> LOCAL]
8(BeginString)=FIX.4.4
9(BodyLength)=86
35(MsgType)=A(Logon)
49(SenderCompID)=CNX
34(MsgSeqNum)=1
52(SendingTime)=20160829-06:48:24.263
56(TargetCompID)=LOCAL
98(EncryptMethod)=0(None / other)
108(HeartBtInt)=30
141(ResetSeqNumFlag)=Y(Yes, reset sequence numbers)
10(CheckSum)=180
<2016-08-29 06:48:24.338635479 +0000 UTC, FIX.4.4:LOCAL->CNX, event>
(Received logon response)
<2016-08-29 06:48:24.338653354 +0000 UTC, FIX.4.4:LOCAL->CNX, event>
(Logon contains ResetSeqNumFlag=Y, resetting sequence numbers to 1)
<2016-08-29 06:48:24.338746933 +0000 UTC, FIX.4.4:LOCAL->CNX, outgoing>
[20160829-06:48:24.338 (1) LOCAL -> CNX]
8(BeginString)=FIX.4.4
9(BodyLength)=74
35(MsgType)=1(Test Request)
34(MsgSeqNum)=1
49(SenderCompID)=LOCAL
52(SendingTime)=20160829-06:48:24.338
56(TargetCompID)=CNX
112(TestReqID)=1
10(CheckSum)=097
<2016-08-29 06:48:24.339316278 +0000 UTC, FIX.4.4:LOCAL->CNX, incoming>
[20160829-06:48:24.263 (2) CNX -> LOCAL]
8(BeginString)=FIX.4.4
9(BodyLength)=80
35(MsgType)=h(Trading Session Status)
49(SenderCompID)=CNX
34(MsgSeqNum)=2
52(SendingTime)=20160829-06:48:24.263
56(TargetCompID)=LOCAL
336(TradingSessionID)=0
340(TradSesStatus)=2(Open)
10(CheckSum)=161
<2016-08-29 06:48:24.577149693 +0000 UTC, FIX.4.4:LOCAL->CNX, incoming>
[20160829-06:48:24.421 (3) CNX -> LOCAL]
8(BeginString)=FIX.4.4
9(BodyLength)=117
35(MsgType)=5(Logout)
49(SenderCompID)=CNX
34(MsgSeqNum)=3
52(SendingTime)=20160829-06:48:24.421
56(TargetCompID)=LOCAL
58(Text)=MsgSeqNum too low, expecting 2 but received 1
10(CheckSum)=034
<2016-08-29 06:48:24.577234961 +0000 UTC, FIX.4.4:LOCAL->CNX, event>
(Received logout request)
<2016-08-29 06:48:24.577248005 +0000 UTC, FIX.4.4:LOCAL->CNX, event>
(Sending logout response)
<2016-08-29 06:48:24.577353106 +0000 UTC, FIX.4.4:LOCAL->CNX, outgoing>
[20160829-06:48:24.577 (2) LOCAL -> CNX]
8(BeginString)=FIX.4.4
9(BodyLength)=68
35(MsgType)=5(Logout)
34(MsgSeqNum)=2
49(SenderCompID)=LOCAL
52(SendingTime)=20160829-06:48:24.577
56(TargetCompID)=CNX
10(CheckSum)=107
<2016-08-29 06:48:24.577376188 +0000 UTC, FIX.4.4:LOCAL->CNX, event>
(Disconnected)