<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">(Is QuickFix/n 1.10<u>.1</u>.0 a typo? The latest is just 1.10.0)</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">This is weird. It looks like this is happening when your app tries to construct and send the logon message to the counterparty. Do you agree with that observation?</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">If that is correct, then the MessageCracker is not to blame-- it's not even used yet when this error occurs. If your app doesn't send a Logon, then the counterparty won't send a Logon back or any other messages, so there's nothing to crack.</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">I'm a little stumped as to why this could happen. This whole process should be happening internally in the engine. (I'm not even sure how a dev could doink it up with weird app code.)</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">Let me ask around. Please reply if you get any other ideas.</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 7, 2022 at 12:18 PM Francis Gingras <<a href="mailto:francis@collective2.com">francis@collective2.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<br><br>I am having trouble connecting to a counterparty using FIX.5.0SP2 with QuickFix/n 1.10.1.0. I must be missing something obvious, but I can't see it. I get "QuickFix.FieldNotFoundException: field not found for tag: 35".<br><br>Config file:<br>[DEFAULT]<br>ConnectionType=initiator<br>BeginString=FIXT.1.1<br>DefaultApplVerID=FIX.5.0SP2<br>TransportDataDictionary=FIXT11.xml<br>AppDataDictionary=FIX50SP2.xml<br>ReconnectInterval=30<br>FileStorePath=C:\Store<br>FileLogPath=C:\Fix<br>HeartBtInt=20<br>LogonTimeout=15<br>TimeZone=Eastern Standard Time<br>IgnorePossDupResendRequests=Y<br>StartTime=16:45:00<br>EndTime=18:00:00<br>StartDay=sun<br>EndDay=fri<br>UseDataDictionary=Y<br>ValidateUserDefinedFields=N<br>ValidateFieldsHaveValues=N<br>ResetOnLogout=N<br>ResetOnDisconnect=N<br>CheckLatency=N<br>RequiresOrigSendingTime=N<br>PersistMessages=Y<br>[SESSION]<br>SenderCompID=APItest<br>TargetCompID=FIX1<br>SocketConnectHost=blabla<br>SocketConnectPort=7002<br><br>Code:<br>SessionSettings sessionSettings = new SessionSettings($@"{QuickFIXSettingsFileName}");<br> QuickFix.FIX50SP2.MessageFactory messageFactory = new QuickFix.FIX50SP2.MessageFactory();<br> FileStoreFactory storeFactory = new FileStoreFactory(sessionSettings);<br> FileLogFactory logFactory = new FileLogFactory(sessionSettings);<br> socket = new QuickFix.Transport.SocketInitiator(this, storeFactory, sessionSettings, logFactory, messageFactory);<br>socket.Start();<div><br>QuickFix.MessageCracker interface is implemented, but I do not get any messages there. Is there a different interface I must implement for FIX5?<br><br>FIXT.1.1-
APItest-FIX1.event.current.log:<br>Connection succeeded<br>Unexpected exception: QuickFix.FieldNotFoundException: field not found for tag: 35<br> at QuickFix.FieldMap.GetString(Int32 tag)<br> at QuickFix.Session.SendRaw(Message message, Int32 seqNum)<br> at QuickFix.Session.GenerateLogon()<br> at QuickFix.Session.Next()<br> at QuickFix.Transport.SocketInitiator.SocketInitiatorThreadStart(Object socketInitiatorThread)<br><br>File store only has data in the session file:<br>20221107-16:41:39.692332 Z<br><br>The dictionary file has the standard 5.0 definition for Logon:<br> <message name="Logon" msgtype="A" msgcat="admin"><br> <field name="EncryptMethod" required="Y"/><br> <field name="HeartBtInt" required="Y"/><br> <field name="RawDataLength" required="N"/><br> <field name="RawData" required="N"/><br> <field name="ResetSeqNumFlag" required="N"/><br> <field name="NextExpectedMsgSeqNum" required="N"/><br> <field name="MaxMessageSize" required="N"/><br> <component name="MsgTypeGrp" required="N"/><br> <field name="TestMessageIndicator" required="N"/><br> <field name="Username" required="N"/><br> <field name="Password" required="N"/><br> <field name="NewPassword" required="N"/><br> <field name="EncryptedPasswordMethod" required="N"/><br> <field name="EncryptedPasswordLen" required="N"/><br> <field name="EncryptedPassword" required="N"/><br> <field name="EncryptedNewPasswordLen" required="N"/><br> <field name="EncryptedNewPassword" required="N"/><br> <field name="SessionStatus" required="N"/><br> <field name="DefaultApplVerID" required="Y"/><br> <field name="DefaultApplExtID" required="N"/><br> <field name="DefaultCstmApplVerID" required="N"/><br> <field name="Text" required="N"/><br> <field name="EncodedTextLen" required="N"/><br> <field name="EncodedText" required="N"/><br> </message><br><br><Monkey scratching his head><br><br clear="all"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><font size="2">Thanks!</font></div><div><font size="2"><br></font></div><div><font size="2">Francis Gingras</font></div><div><br></div></div></div></div></div></div></div>
_______________________________________________<br>
Quickfixn mailing list<br>
<a href="mailto:Quickfixn@lists.quickfixn.com" target="_blank">Quickfixn@lists.quickfixn.com</a><br>
<a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" rel="noreferrer" target="_blank">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><font size="2"><span style="background-color:rgb(0,0,0)"><span style="background-color:rgb(255,255,255)">Grant Birchmeier</span></span></font><font size="2"><font color="#3333ff"><br></font></font></div>Connamara Systems, LLC<div><font size="2"><a href="http://connamara.com" target="_blank">http://connamara.com</a><br></font></div></div></div>
<br>
<span style="color:rgb(29,28,29);font-family:Slack-Lato,appleLogo,sans-serif;white-space:pre-wrap;background-color:white"><font size="2">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.</font></span>