[Quickfix-users] Msg Seq No
Brought to you by:
orenmnero
From: aupadras <ani...@ya...> - 2013-06-12 11:58:04
|
Hi, I am newbie.., I am having following problem: I am able to send the orders to the broker couple of times in a day when there is a sycn in message sequence numbers, but most of the time I am having different issues by not synching with the MsgSeqNo. My understanding going through little bit of session.cpp, is it was unable to establish the connection between the client and server as seqNo is not matching and finally, sending a reject message. Please suggest me what I suppose to do to solve this issue: config settings: ConnectionType=initiator ReconnectInterval=20 StartTime=00:01:00 EndTime=23:55:00 MsgSeqNum=1 UseLocalTime=Y ResetOnDisconnect=N ResetOnLogon=N ResetOnLogout=N SendResetSeqNumFlag=N RefreshOnLogon=Y PersistMessages=Y MillisecondsInTimeStamp=Y UseDataDictionary=Y HeartBtInt=30 Session Log: 20130612-06:55:49.942 : Created session 20130612-06:55:51.411 : Connecting to xx.x.xxx on port 2013 20130612-06:55:51.521 : Initiated logon request 20130612-06:55:51.583 : Received logon response 20130612-06:55:51.583 : MsgSeqNum too high, expecting 21 but received 22 20130612-06:55:51.630 : Sent ResendRequest FROM: 21 TO: 0 20130612-06:55:51.646 : Received ResendRequest FROM: 29 TO: 0 20130612-06:55:51.661 : Resending Message: 29 20130612-06:55:51.802 : Sent SequenceReset TO: 33 20130612-06:55:51.802 : Resending Message: 33 20130612-06:55:51.817 : Sent SequenceReset TO: 35 20130612-06:55:51.833 : ResendRequest for messages FROM: 21 TO: 21 has been satisfied. 20130612-06:55:51.849 : Received SequenceReset FROM: 21 TO: 24 20130612-06:55:53.396 : Initiated logout request 20130612-06:55:53.411 : Message 24 Rejected: Required tag missing:58 20130612-06:55:55.411 : Timed out waiting for logout response 20130612-06:55:55.411 : Disconnecting Message Log : 20130612-06:55:51.521 : 8=FIX.4.29=6535=A34=3249=alpha52=20130612-06:55:51.41156=broker98=0108=3010=238 20130612-06:55:51.521 : 8=FIX.4.29=6135=A49=broker56=alpha34=2252=20130612-06:55:5198=0108=3010=037 20130612-06:55:51.630 : 8=FIX.4.29=6335=234=3449=alpha52=20130612-06:55:51.59956=broker7=2116=010=132 20130612-06:55:51.630 : 8=FIX.4.29=5935=249=broker56=alpha34=2352=20130612-06:55:517=2916=010=186 20130612-06:55:51.661 : 8=FIX.4.29=22435=D34=2943=Y49=alpha52=20130612-06:55:51.64656=broker57=STAGE122=20130612-06:42:39.6621=TEST11=alpha1011121=138=7540=144=1638.2554=155=/ESM359=060=20130612-06:42:39114=Y167=FUT200=201306205=30231=10010=101 20130612-06:55:51.802 : 8=FIX.4.29=9635=434=3043=Y49=alpha52=20130612-06:55:51.70856=broker122=20130612-06:55:51.70836=33123=Y10=017 20130612-06:55:51.802 : 8=FIX.4.29=22435=D34=3343=Y49=alpha52=20130612-06:55:51.66156=broker57=STAGE122=20130612-06:55:51.5211=TEST11=alpha1011121=138=7540=144=1638.2554=155=/ESM359=060=20130612-06:55:51114=Y167=FUT200=201306205=30231=10010=083 20130612-06:55:51.817 : 8=FIX.4.29=9635=434=3443=Y49=alpha52=20130612-06:55:51.80256=broker122=20130612-06:55:51.80236=35123=Y10=013 20130612-06:55:51.833 : 8=FIX.4.29=6635=449=broker56=alpha34=2143=Y52=20130612-06:55:51123=Y36=2410=059 20130612-06:55:53.411 : 8=FIX.4.29=5335=534=3549=alpha52=20130612-06:55:53.39656=broker10=215 20130612-06:55:53.411 : 8=FIX.4.29=4935=549=broker56=alpha34=2452=20130612-06:55:5310=010 20130612-06:55:53.458 : 8=FIX.4.29=10235=334=3649=alpha52=20130612-06:55:53.42756=broker45=2458=Required tag missing371=58372=5373=110=204 Also, previous to this I had following error: Socket Error: Connection reset by peer. 20130611-16:28:21 : Disconnecting I believe all these issues are caused by message seq No not matching. Please suggest me some solution to resolve this issue or let me know if I am completely off in resolving the issue. Appreciated for any help. Thanks, aupadras. -- View this message in context: http://quickfix.13857.n7.nabble.com/Msg-Seq-No-tp6492.html Sent from the QuickFIX - User mailing list archive at Nabble.com. |