Quantcast

quickfix/n error : MsgSeqNum too high, expecting 1 but received 14

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

quickfix/n error : MsgSeqNum too high, expecting 1 but received 14

vishveshraval
This post was updated on .
Hello Sir,
      I have created a Fix application using 'QuickFIX/n is v1.4.0' from this 'http://www.quickfixn.org/download' site.
When I executed an application,i randomly get error of sequence number.Sometimes the application runs fine and sometime I get sequence number problem.The log details are as below:

20130828-10:28:30.468 : Created session
20130828-10:28:31.328 : FIX.4.4:Server->Client Socket Reader 7995840 accepting session FIX.4.4:Server->Client from 192.168.1.109:7356
20130828-10:28:31.328 : FIX.4.4:Server->Client Acceptor heartbeat set to 0 seconds
20130828-10:28:31.578 : Received logon
20130828-10:28:31.625 : Responding to logon request
20130828-10:30:28.968 : Created session
20130828-10:30:29.796 : FIX.4.4:Server->Client Socket Reader 36610825 accepting session FIX.4.4:Server->Client from 192.168.1.109:7364
20130828-10:30:29.796 : FIX.4.4:Server->Client Acceptor heartbeat set to 0 seconds
20130828-10:30:30.625 : Verify failed: MsgSeqNum too low, expecting 94 but received 44
20130828-10:30:30.625 : Session FIX.4.4:Server->Client disconnecting: Verify failed: MsgSeqNum too low, expecting 94 but received 44
20130828-10:30:31.375 : FIX.4.4:Server->Client Socket Reader 20554616 accepting session FIX.4.4:Server->Client from 192.168.1.109:7365
20130828-10:30:31.375 : FIX.4.4:Server->Client Acceptor heartbeat set to 0 seconds
20130828-10:30:31.468 : Verify failed: MsgSeqNum too low, expecting 94 but received 47
20130828-10:30:31.468 : Session FIX.4.4:Server->Client disconnecting: Verify failed: MsgSeqNum too low, expecting 94 but received 47
20130828-10:30:32.406 : FIX.4.4:Server->Client Socket Reader 15510466 accepting session FIX.4.4:Server->Client from 192.168.1.109:7366
20130828-10:30:32.406 : FIX.4.4:Server->Client Acceptor heartbeat set to 0 seconds
20130828-10:30:32.484 : Verify failed: MsgSeqNum too low, expecting 94 but received 49
20130828-10:30:32.484 : Session FIX.4.4:Server->Client disconnecting: Verify failed: MsgSeqNum too low, expecting 94 but received 49
20130828-10:30:33.390 : FIX.4.4:Server->Client Socket Reader 23324256 accepting session FIX.4.4:Server->Client from 192.168.1.109:7367
20130828-10:30:33.390 : FIX.4.4:Server->Client Acceptor heartbeat set to 0 seconds
20130828-10:30:33.656 : Verify failed: MsgSeqNum too low, expecting 94 but received 51
20130828-10:30:33.656 : Session FIX.4.4:Server->Client disconnecting: Verify failed: MsgSeqNum too low, expecting 94 but received 51
20130828-10:30:34.421 : FIX.4.4:Server->Client Socket Reader 34250480 accepting session FIX.4.4:Server->Client from 192.168.1.109:7368
20130828-10:30:34.421 : FIX.4.4:Server->Client Acceptor heartbeat set to 0 seconds
20130828-10:30:34.515 : Verify failed: MsgSeqNum too low, expecting 94 but received 53
20130828-10:30:34.515 : Session FIX.4.4:Server->Client disconnecting: Verify failed: MsgSeqNum too low, expecting 94 but received 53
20130828-10:30:35.546 : FIX.4.4:Server->Client Socket Reader 58408916 accepting session FIX.4.4:Server->Client from 192.168.1.109:7369
20130828-10:30:35.546 : FIX.4.4:Server->Client Acceptor heartbeat set to 0 seconds
20130828-10:30:35.625 : Verify failed: MsgSeqNum too low, expecting 94 but received 55
20130828-10:30:35.625 : Session FIX.4.4:Server->Client disconnecting: Verify failed: MsgSeqNum too low, expecting 94 but received 55
20130828-10:30:36.640 : FIX.4.4:Server->Client Socket Reader 2348279 accepting session FIX.4.4:Server->Client from 192.168.1.109:7370
20130828-10:30:36.640 : FIX.4.4:Server->Client Acceptor heartbeat set to 0 seconds
20130828-10:30:36.734 : Verify failed: MsgSeqNum too low, expecting 94 but received 57
20130828-10:30:36.734 : Session FIX.4.4:Server->Client disconnecting: Verify failed: MsgSeqNum too low, expecting 94 but received 57
20130828-10:30:37.500 : FIX.4.4:Server->Client Socket Reader 61669314 accepting session FIX.4.4:Server->Client from 192.168.1.109:7371
20130828-10:30:37.500 : FIX.4.4:Server->Client Acceptor heartbeat set to 0 seconds
20130828-10:30:37.609 : Verify failed: MsgSeqNum too low, expecting 94 but received 59
20130828-10:30:37.609 : Session FIX.4.4:Server->Client disconnecting: Verify failed: MsgSeqNum too low, expecting 94 but received 59
20130828-10:30:38.531 : FIX.4.4:Server->Client Socket Reader 36865354 accepting session FIX.4.4:Server->Client from 192.168.1.109:7372
20130828-10:30:38.531 : FIX.4.4:Server->Client Acceptor heartbeat set to 0 seconds
20130828-10:30:38.640 : Verify failed: MsgSeqNum too low, expecting 94 but received 61
20130828-10:30:38.640 : Session FIX.4.4:Server->Client disconnecting: Verify failed: MsgSeqNum too low, expecting 94 but received 61
20130828-10:30:39.515 : FIX.4.4:Server->Client Socket Reader 3196068 accepting session FIX.4.4:Server->Client from 192.168.1.109:7373
20130828-10:30:39.515 : FIX.4.4:Server->Client Acceptor heartbeat set to 0 seconds
20130828-10:30:39.781 : Verify failed: MsgSeqNum too low, expecting 94 but received 63
20130828-10:30:39.781 : Session FIX.4.4:Server->Client disconnecting: Verify failed: MsgSeqNum too low, expecting 94 but received 63
20130828-10:30:40.625 : FIX.4.4:Server->Client Socket Reader 4186222 accepting session FIX.4.4:Server->Client from 192.168.1.109:7374
20130828-10:30:40.625 : FIX.4.4:Server->Client Acceptor heartbeat set to 0 seconds
20130828-10:30:40.718 : Verify failed: MsgSeqNum too low, expecting 94 but received 65
20130828-10:30:40.718 : Session FIX.4.4:Server->Client disconnecting: Verify failed: MsgSeqNum too low, expecting 94 but received 65
20130828-10:30:41.515 : FIX.4.4:Server->Client Socket Reader 764807 accepting session FIX.4.4:Server->Client from 192.168.1.109:7375
20130828-10:30:41.515 : FIX.4.4:Server->Client Acceptor heartbeat set to 0 seconds
20130828-10:30:41.796 : Verify failed: MsgSeqNum too low, expecting 94 but received 67
20130828-10:30:41.796 : Session FIX.4.4:Server->Client disconnecting: Verify failed: MsgSeqNum too low, expecting 94 but received 67
20130828-10:30:42.546 : FIX.4.4:Server->Client Socket Reader 10479095 accepting session FIX.4.4:Server->Client from 192.168.1.109:7376
20130828-10:30:42.546 : FIX.4.4:Server->Client Acceptor heartbeat set to 0 seconds
20130828-10:30:42.640 : Verify failed: MsgSeqNum too low, expecting 94 but received 69
20130828-10:30:42.640 : Session FIX.4.4:Server->Client disconnecting: Verify failed: MsgSeqNum too low, expecting 94 but received 69
20130828-10:30:43.515 : FIX.4.4:Server->Client Socket Reader 4684807 accepting session FIX.4.4:Server->Client from 192.168.1.109:7377
20130828-10:30:43.515 : FIX.4.4:Server->Client Acceptor heartbeat set to 0 seconds
20130828-10:30:43.750 : Verify failed: MsgSeqNum too low, expecting 94 but received 71
20130828-10:30:43.750 : Session FIX.4.4:Server->Client disconnecting: Verify failed: MsgSeqNum too low, expecting 94 but received 71
20130828-10:30:44.562 : FIX.4.4:Server->Client Socket Reader 41662089 accepting session FIX.4.4:Server->Client from 192.168.1.109:7378
20130828-10:30:44.562 : FIX.4.4:Server->Client Acceptor heartbeat set to 0 seconds
20130828-10:30:44.656 : Verify failed: MsgSeqNum too low, expecting 94 but received 73
20130828-10:30:44.656 : Session FIX.4.4:Server->Client disconnecting: Verify failed: MsgSeqNum too low, expecting 94 but received 73
20130828-10:30:45.687 : FIX.4.4:Server->Client Socket Reader 46338128 accepting session FIX.4.4:Server->Client from 192.168.1.109:7379
20130828-10:30:45.687 : FIX.4.4:Server->Client Acceptor heartbeat set to 0 seconds
20130828-10:30:45.812 : Verify failed: MsgSeqNum too low, expecting 94 but received 75
20130828-10:30:45.812 : Session FIX.4.4:Server->Client disconnecting: Verify failed: MsgSeqNum too low, expecting 94 but received 75
20130828-10:30:46.593 : FIX.4.4:Server->Client Socket Reader 28975576 accepting session FIX.4.4:Server->Client from 192.168.1.109:7380
20130828-10:30:46.593 : FIX.4.4:Server->Client Acceptor heartbeat set to 0 seconds
20130828-10:30:46.656 : Verify failed: MsgSeqNum too low, expecting 94 but received 77
20130828-10:30:46.656 : Session FIX.4.4:Server->Client disconnecting: Verify failed: MsgSeqNum too low, expecting 94 but received 77
20130828-10:30:47.859 : FIX.4.4:Server->Client Socket Reader 11942173 accepting session FIX.4.4:Server->Client from 192.168.1.109:7381
20130828-10:30:47.859 : FIX.4.4:Server->Client Acceptor heartbeat set to 0 seconds
20130828-10:30:47.953 : Verify failed: MsgSeqNum too low, expecting 94 but received 79
20130828-10:30:47.953 : Session FIX.4.4:Server->Client disconnecting: Verify failed: MsgSeqNum too low, expecting 94 but received 79
20130828-10:30:48.593 : FIX.4.4:Server->Client Socket Reader 40054951 accepting session FIX.4.4:Server->Client from 192.168.1.109:7382
20130828-10:30:48.593 : FIX.4.4:Server->Client Acceptor heartbeat set to 0 seconds
20130828-10:30:48.703 : Verify failed: MsgSeqNum too low, expecting 94 but received 81
20130828-10:30:48.703 : Session FIX.4.4:Server->Client disconnecting: Verify failed: MsgSeqNum too low, expecting 94 but received 81
20130828-10:30:49.734 : FIX.4.4:Server->Client Socket Reader 9985467 accepting session FIX.4.4:Server->Client from 192.168.1.109:7383
20130828-10:30:49.734 : FIX.4.4:Server->Client Acceptor heartbeat set to 0 seconds
20130828-10:30:49.937 : Verify failed: MsgSeqNum too low, expecting 94 but received 83
20130828-10:30:49.937 : Session FIX.4.4:Server->Client disconnecting: Verify failed: MsgSeqNum too low, expecting 94 but received 83
20130828-10:30:50.703 : FIX.4.4:Server->Client Socket Reader 19425995 accepting session FIX.4.4:Server->Client from 192.168.1.109:7384
20130828-10:30:50.703 : FIX.4.4:Server->Client Acceptor heartbeat set to 0 seconds
20130828-10:30:51.062 : Verify failed: MsgSeqNum too low, expecting 94 but received 85
20130828-10:30:51.062 : Session FIX.4.4:Server->Client disconnecting: Verify failed: MsgSeqNum too low, expecting 94 but received 85
20130828-10:30:51.687 : FIX.4.4:Server->Client Socket Reader 34478086 accepting session FIX.4.4:Server->Client from 192.168.1.109:7385
20130828-10:30:51.687 : FIX.4.4:Server->Client Acceptor heartbeat set to 0 seconds
20130828-10:30:51.781 : Verify failed: MsgSeqNum too low, expecting 94 but received 87
20130828-10:30:51.781 : Session FIX.4.4:Server->Client disconnecting: Verify failed: MsgSeqNum too low, expecting 94 but received 87
20130828-10:30:52.765 : FIX.4.4:Server->Client Socket Reader 42506536 accepting session FIX.4.4:Server->Client from 192.168.1.109:7386
20130828-10:30:52.765 : FIX.4.4:Server->Client Acceptor heartbeat set to 0 seconds
20130828-10:30:52.859 : Verify failed: MsgSeqNum too low, expecting 94 but received 89
20130828-10:30:52.859 : Session FIX.4.4:Server->Client disconnecting: Verify failed: MsgSeqNum too low, expecting 94 but received 89
20130828-10:30:53.906 : FIX.4.4:Server->Client Socket Reader 26676330 accepting session FIX.4.4:Server->Client from 192.168.1.109:7387
20130828-10:30:53.906 : FIX.4.4:Server->Client Acceptor heartbeat set to 0 seconds
20130828-10:30:53.984 : Verify failed: MsgSeqNum too low, expecting 94 but received 91
20130828-10:30:53.984 : Session FIX.4.4:Server->Client disconnecting: Verify failed: MsgSeqNum too low, expecting 94 but received 91
20130828-10:30:54.796 : FIX.4.4:Server->Client Socket Reader 13812657 accepting session FIX.4.4:Server->Client from 192.168.1.109:7388
20130828-10:30:54.796 : FIX.4.4:Server->Client Acceptor heartbeat set to 0 seconds
20130828-10:30:54.859 : Verify failed: MsgSeqNum too low, expecting 94 but received 93
20130828-10:30:54.859 : Session FIX.4.4:Server->Client disconnecting: Verify failed: MsgSeqNum too low, expecting 94 but received 93
20130828-10:30:55.812 : FIX.4.4:Server->Client Socket Reader 61488610 accepting session FIX.4.4:Server->Client from 192.168.1.109:7389
20130828-10:30:55.812 : FIX.4.4:Server->Client Acceptor heartbeat set to 0 seconds
20130828-10:30:55.812 : Received logon
20130828-10:30:55.843 : Responding to logon request
20130828-10:30:55.843 : MsgSeqNum too high, expecting 94 but received 95
20130828-10:30:55.843 : Sent ResendRequest FROM: 94 TO: 0
20130828-10:30:55.875 : Got resend request from 49 to 0
20130828-10:30:55.906 : Sent SequenceReset TO: 91
20130828-10:30:55.906 : ResendRequest for messages FROM: 94 TO: 0 has been satisfied.
20130828-10:30:55.906 : Received SequenceReset FROM: 94 TO: 97
20130828-10:31:24.421 : Session FIX.4.4:Server->Client disconnecting: Socket exception (192.168.1.109:7389): An existing connection was forcibly closed by the remote host


Please kindly send me suggestions and settings to run this application without errors.


Thanks and Reguards,
Vishwesh Raval.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: quickfix/n error : MsgSeqNum too high, expecting 1 but received 14

Grant Birchmeier
QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html


This is the list for the C++-based QuickFIX.

I
f you are using QF/n, you should join the QF/n-specific list:

T
o your problem
:
 
U
nless one side of the QF connection is configured to reset sequence numbers on login, both sides will maintain the sequence number count between executions.  Most likely you are resetting
the seq of
one side of the connection somehow (by deleting the store maybe?) without resetting the other.



On Wed, Aug 28, 2013 at 4:45 AM, vishveshraval <[hidden email]> wrote:
QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html

Hello Sir,
      I have created a Fix application using 'QuickFIX/n is v1.4.0' from
this 'http://www.quickfixn.org/download' site.
When I executed an application,i randomly get error of sequence
number.Sometimes the application runs fine and sometime I get sequence
number problem.The log details are as below:

<a href="tel:20130828-07" value="+12013082807">20130828-07:20:09.859 : Created session
<a href="tel:20130828-07" value="+12013082807">20130828-07:20:10.593 : FIX.4.4:Server->Client Socket Reader 16492409
accepting session FIX.4.4:Server->Client from 192.168.1.109:4155
<a href="tel:20130828-07" value="+12013082807">20130828-07:20:10.593 : FIX.4.4:Server->Client Acceptor heartbeat set to 0
seconds
<a href="tel:20130828-07" value="+12013082807">20130828-07:20:10.750 : Received logon
<a href="tel:20130828-07" value="+12013082807">20130828-07:20:10.796 : Responding to logon request
<a href="tel:20130828-07" value="+12013082807">20130828-07:20:10.796 : MsgSeqNum too high, expecting 1 but received 13
20130828-07:20:10.796 : Sent ResendRequest FROM: 1 TO: 0
20130828-07:20:10.890 : MsgSeqNum too high, expecting 1 but received 14
20130828-07:20:10.890 : Already sent ResendRequest FROM: 1 TO: 0.  Not
sending another.
20130828-07:20:10.921 : Received logout request
20130828-07:20:11.187 : Session FIX.4.4:Server->Client disconnecting: Socket
exception (192.168.1.109:4155): An existing connection was forcibly closed
by the remote host
<a href="tel:20130828-07" value="+12013082807">20130828-07:20:11.906 : FIX.4.4:Server->Client Socket Reader 27778196
accepting session FIX.4.4:Server->Client from 192.168.1.109:4156
<a href="tel:20130828-07" value="+12013082807">20130828-07:20:11.906 : FIX.4.4:Server->Client Acceptor heartbeat set to 30
seconds
<a href="tel:20130828-07" value="+12013082807">20130828-07:20:11.906 : Received logon
<a href="tel:20130828-07" value="+12013082807">20130828-07:20:11.906 : Responding to logon request
<a href="tel:20130828-07" value="+12013082807">20130828-07:20:11.906 : MsgSeqNum too high, expecting 1 but received 14
20130828-07:20:11.921 : Sent ResendRequest FROM: 1 TO: 0
20130828-07:20:11.921 : Got resend request from 13 to 0
20130828-07:20:11.937 : Sent SequenceReset TO: 16
20130828-07:20:11.953 : ResendRequest for messages FROM: 1 TO: 0 has been
satisfied.
20130828-07:20:11.953 : Received SequenceReset FROM: 1 TO: 2
20130828-07:20:11.984 : Received SequenceReset FROM: 3 TO: 4
20130828-07:20:11.984 : Received SequenceReset FROM: 5 TO: 10
20130828-07:20:12.000 : Received SequenceReset FROM: 11 TO: 12
20130828-07:20:12.000 : Received SequenceReset FROM: 13 TO: 16

Please kindly send me suggestions and settings to run this application
without errors.


Thanks and Reguards,
Vishwesh Raval.



--
View this message in context: http://quickfix.13857.n7.nabble.com/quickfix-n-error-MsgSeqNum-too-high-expecting-1-but-received-14-tp6560.html
Sent from the QuickFIX - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Quickfix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfix-users



--
Grant Birchmeier
Connamara Systems, LLC
Made-To-Measure Trading Solutions.
Exactly what you need. No more. No less.

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Quickfix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfix-users
Loading...