{{Quickfixn}} Initiator Logon

Grant Birchmeier gbirchmeier at connamara.com
Thu Dec 17 08:21:16 PST 2020


"Message 10 Rejected: Incorrect data format for value (Field=141)"

Can I see their message 10?  I suspect they're sending a non-standard value
in 141, and your engine is rejecting it because it doesn't easily convert
to bool.  (That reject fails of course, since the message that's being
rejected would complete the logon.)

On Wed, Dec 16, 2020 at 7:18 AM (Eddie) John Jackson <eddie at datobyte.com>
wrote:

> Here is what is happening when I set the ResetOnLogon to N….
>
>
>
> I am not sure why it rejects the logon….  I am also receiving the logon
> message from the Server.   We are the initiator.
>
>
>
> 07:36:22 XXXXXXXXXXXXXXXXXX.Program --> HEARTBTINT | 30 | default
>
> 07:36:22 XXXXXXXXXXXXXXXXXX.Program --> LOGOUTTIMEOUT | 5 | default
>
> 07:36:22 XXXXXXXXXXXXXXXXXX.Program --> RECONNECTINTERVAL | 15 | default
>
> 07:36:22 XXXXXXXXXXXXXXXXXX.Program --> RESETONDISCONNECT | N | default
>
> 07:36:22 XXXXXXXXXXXXXXXXXX.Program --> RESETONLOGON | N | default
>
>
>
> <field type="BOOLEAN" name="ResetSeqNumFlag" number="141">
>
> <value description="NO" enum="N"/>
>
> <value description="YES" enum="Y"/>
>
> </field>
>
>
>
> 20201216-12:36:25.743 :
> 8=FIXT.1.19=9435=A34=649=XXXXXXX52=20201216-12:36:25.72356=XXXXXXXXXXXX98=0108=301137=910=099
>
>
>
> 20201216-12:36:25.646 : Created session
>
> 20201216-12:36:25.663 : Connecting to 10.0.1.200 on port 9996
>
> 20201216-12:36:25.710 : Connection succeeded
>
> 20201216-12:36:25.743 : Initiated logon request
>
> 20201216-12:36:26.048 : Could not convert field: Cannot convert string to
> boolean
>
> 20201216-12:36:26.054 : Message 10 Rejected: Incorrect data format for
> value (Field=141)
>
> 20201216-12:36:26.062 : Session FIXT.1.1:XXXXXX->XXXXX disconnecting:
> QuickFix.QuickFIXException: Tried to send a reject while not logged on
>
>    at QuickFix.Session.GenerateReject(Message message, SessionRejectReason
> reason, Int32 field)
>
>    at QuickFix.Session.Next(MessageBuilder msgBuilder)
>
>    at QuickFix.SocketInitiatorThread.ProcessStream()
>
>    at QuickFix.SocketInitiatorThread.Read()
>
>
>
> *From:* Quickfixn <quickfixn-bounces at lists.quickfixn.com> *On Behalf Of *Lanfranco
> Morini
> *Sent:* Wednesday, December 16, 2020 2:24 AM
> *To:* Mailing list for QuickFIX/n <quickfixn at lists.quickfixn.com>
> *Subject:* Re: {{Quickfixn}} Initiator Logon
>
>
>
> Hi Eddie,
>
> did you tried adding this params in session config?
>
>
>
> ResetOnLogon=N
>
> ResetOnLogout=N
>
> ResetOnDisconnect=N
>
>
>
> Best,
>
> Lan
>
>
>
> *Lanfranco Giuseppe Morini*
> *APPLICATIONS *
>
>
>
> *E*  *Lanfranco.Morini at cegeka.it <Lanfranco.Morini at cegeka.it>*
> *T *+39 02 254427 1
> *M* +39 347 7282717
>
>
>
>
>
> *From:* Quickfixn <quickfixn-bounces at lists.quickfixn.com> *On Behalf Of *(Eddie)
> John Jackson
> *Sent:* mercoledì 16 dicembre 2020 00:25
> *To:* 'Mailing list for QuickFIX/n' <quickfixn at lists.quickfixn.com>
> *Subject:* {{Quickfixn}} Initiator Logon
>
>
>
> I am being asked to set the *ResetSeqNumFlag *aka 141 tag to “N” on logon
> but as far as I can tell this is automatic when quickfix/n starts.   Is
> there a way to set this and what is the best way to do this.
>
>
>
> Should I send a logoff and then log back onto the session?   Also this is
> supposed to persist messages if there is a drop.   Is there anything else I
> would need to do to persist the messages.  I have seen the config setting
> for  this.   I tried setting it to “Y” but is did not change the 141 tag on
> the initial logon message.
>
>
>
> Kind Regards,
>
>
>
> Eddie
> _______________________________________________
> Quickfixn mailing list
> Quickfixn at lists.quickfixn.com
> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>


-- 
Grant Birchmeier
*Connamara Systems, LLC*
*Made-To-Measure Trading Solutions.*
Exactly what you need. No more. No less.
http://connamara.com

-- 
This email, along with any attachments, is confidential. If you believe you 
received this message in error, please contact the sender immediately and 
delete all copies of the message. Thank you from Connamara Systems, LLC.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20201217/14538f5a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 8099 bytes
Desc: not available
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20201217/14538f5a/attachment-0002.jpg>


More information about the Quickfixn mailing list