|
From: charles m. <xl...@gm...> - 2021-03-25 08:41:44
|
Hi guys: I encountered a very strange problem. I just want to simulate a scenario where the sequence number exceeds the expected sequence number to trigger resend, but every time I receive an unexpected logout message. The detailed information is as follows: My service is in the role of Initiatator. Version:quickfix:2.1.1, FIX:FIX50SP2 Initiator senderSeqNo:640 1, Initiator sends a request with a higher sequence number than expected: 8=FIXT.1.1^9=331^35=8^34=646^49=test1^52=20210325-08:23:21.810^56=TEST^1=108331^14=0^15=USD^17=1115569_1615646513221_927^22=971^37=1115569^38=1^39=0^40=4^44=290.2^48=BCH/USD^54=1^55=BCHUSD^59=1^60=20210313-14:41:53.099^150=0^151=1^167=CRYPTSPOT^423=3^460=15^581=1^965=1^1084=4^1138=0^453=2^448=MATX^447=G^452=22^448=MEHSAG1601PIND90805^447=D^452=3^10=219^ 2, Initiator receives the resend request:8=FIXT.1.1^9=73^35=2^34=453^49=TEST^52=20210325-08:23:21.814^56=test1^369=640^7=641^16=0^10=029^ 3, Initiator sends a sequenceReset request:8=FIXT.1.1^9=98^35=4^34=641^43=Y^49=test1^52=20210325-08:23:21.832^56=TEST^122=20210325-08:23:21.831^36=646^123=Y^10=053^ 4, The Initiator resends the first message (because this is a simulated scenario that exceeds the expected seqNum, so there is no other data between 641 and 646):8=FIXT.1.1^9=362^35=8^34=646^43=Y^49=test1^52=20210325-08:23:21.830^56=TEST^122=20210325-08:23:21.810^1=108331^14=0^15=USD^17=1115569_1615646513221_927^22=971^37=1115569^38=1^39=0^40=4^44=290.2^48=BCH/USD^54=1^55=BCHUSD^59=1^60=20210313-14:41:53.099^150=0^151=1^167=CRYPTSPOT^423=3^460=15^581=1^965=1^1084=4^1138=0^453=2^448=MATX^447=G^452=22^448=MEHSAG1601PIND90805^447=D^452=3^10=217^ 4, Initiator receives Logout message:8=FIXT.1.1^9=121^35=5^34=454^49=TEST^52=20210325-08:23:21.837^56=test^369=646^1128=9^58=MsgSeqNum too low, expecting 647 but received 646^10=248^ Thanks in advance! |