Re: [Quickfix-users] Msg Seq No
Brought to you by:
orenmnero
From: Mike G. <mg...@co...> - 2013-06-13 14:26:22
|
On Wed, Jun 12, 2013 at 6:57 AM, aupadras <ani...@ya...> wrote: > 8=FIX.4.2 9=102 35=3 34=36 49=alpha 52=20130612-06:55:53.427 56=broker > 45=24 58=Required > tag missing 371=58 372=5 373=1 10=204 > You are sending the broker a Reject (35=3) because you are expecting the Text field (tag 58) to be present in his Logout message, and it is not. If you are using a DataDictionary, make sure the Logout message has: <field name='Text' required='N' /> And make sure your code does not try to do a get() or getField() on tag 58 without a try/catch for FIX::FieldNotFound. Because of this Reject, you are likely never getting a clean logout, so you are always going to have seqnum issues at Logon. Which also explains this: > Socket Error: Connection reset by peer. > 20130611-16:28:21 : Disconnecting > The broker is closing the socket on you because as far as it is concerned, it has logged out. However, you are keeping the socket open because you Rejected the broker Logout message. -- Mike Gatny Connamara Systems, LLC |