RE: [Quickfix-developers] Errors in sequence numbers
Brought to you by:
orenmnero
|
From: Shepheard, T. (London) <Tob...@ml...> - 2005-12-14 09:36:28
|
The To: 0 part just means "until the end". This is part of the FIX = specification (see http://www.fixprotocol.org/specifications/) for = resend requests. I'd suggest reading through the basic FIX spec = documents to get a better understanding of what's going on here with = sessions and sequence numbers. The problem would seem to be that the other side is not resetting the = sequence number, whilst you are expecting one. You may want to discuss = this with the other party and agree when you will reset and when you = won't. You can request a sequence reset on logon by setting the = SendResetSeqNumFlag in the config file (see the configuration = documentation page), which by default is disabled. There's also a = ResetOnDisconnect and ResetOnLogout option.=20 Regards, Toby -----Original Message----- From: qui...@li... = [mailto:qui...@li...] On Behalf Of = Fra...@mp... Sent: 14 December 2005 09:04 To: qui...@li... Subject: [Quickfix-developers] Errors in sequence numbers QuickFIX Documentation: = http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX Support: http://www.quickfixengine.org/services.html Hi there! I'm experiencing this error while I reconnect to the server. Where in the code have I to catch this and what exactly have I to do? Have to change SeqNum, or force some other method? Why quickfix sends ResendRequest "FROM: 1 TO: 0" and not ResendRequest "FROM: 1 TO: 74"? 20051213-12:41:02 : Created session 20051213-12:41:02 : Connecting to xxx.xxx.xxx.xxx on port xxxxx 20051213-12:41:02 : Connection succeeded 20051213-12:41:03 : Initiated logon request 20051213-12:41:03 : Received logon response 20051213-12:41:03 : MsgSeqNum too high, expecting 1 but received 72 20051213-12:41:03 : Sent ResendRequest FROM: 1 TO: 0 20051213-12:41:33 : MsgSeqNum too high, expecting 1 but received 73 20051213-12:41:33 : Already sent ResendRequest FROM: 1 TO: 0. Not = sending another. 20051213-12:42:03 : MsgSeqNum too high, expecting 1 but received 74 20051213-12:42:03 : Already sent ResendRequest FROM: 1 TO: 0. Not = sending another. After the error, I just can't restablish a normal connection... also if = I try to reset the file for seqnums manually, it doesn't work. Many thanks for your help. Francesco Pispola http://www.mpsfinance.it - - - - - - - - - - - - - - - - - - - - - - - - - - - - Le informazioni contenute nel presente e-mail e nei documenti = eventualmente allegati sono confidenziali e sono comunque riservate al destinatario = delle stesse. La loro diffusione, distribuzione e/o copia da parte di = terzi =E8 proibita e pu=F2 costituire violazione della normativa che tutela il = diritto alla privacy. Se avete ricevuto questa comunicazione per errore, = Vi preghiamo di informare immediatamente il mittente del messaggio e = di distruggere questo e-mail. - - - - - - - - - - - - - - - - - - - - - - - - - - - - This e-mail is confidential and it is legally privileged. If you have received it in error, please notify us immediately by reply e-mail and = then delete this message from your system. Please do not copy it or use it = for any purposes, or disclose its contents to any other person. Mind that to = do so could be a breach of Italian privacy Law. Thank you for your co-operation. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log = files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id=16865&op=3Dick _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers -------------------------------------------------------- If you are not an intended recipient of this e-mail, please notify the = sender, delete it and do not read, act upon, print, disclose, copy, = retain or redistribute it. Click here for important additional terms = relating to this e-mail. http://www.ml.com/email_terms/ -------------------------------------------------------- |