{{Quickfixn}} Initiator Logon
(Eddie) John Jackson
eddie at datobyte.com
Wed Dec 16 05:18:22 PST 2020
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<mailto:Lanfranco.Morini at cegeka.it>
T +39 02 254427 1
M +39 347 7282717
From: Quickfixn <quickfixn-bounces at lists.quickfixn.com<mailto: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<mailto: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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20201216/ee4a1be5/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 8099 bytes
Desc: image001.jpg
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20201216/ee4a1be5/attachment-0002.jpg>
More information about the Quickfixn
mailing list