<div dir="ltr">You have worked around the issue correctly by removing tag 141 in ToAdmin().<div><br></div><div>That said.... why is QF/n including 141=Y on the first logon?  Because that is what FIX Protocol specifies when a new Session starts.  Sessions can be 24 hours, a week long, whatever you like... but when one Session ends and another begins, the protocol says that initiators should logon with 141=Y.</div><div><br></div><div>I think your counterparty does not allow 141 at all because they do not want initiators to reset on <i>every</i> logon.  And that's almost always a good thing: resetting on every logon thwarts the resend/reliability mechanism of the protocol.  But maybe they've gone a little too far by not allowing it even when it makes sense (i.e. at Session start).</div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">--</font></div><font face="arial, helvetica, sans-serif">Mike Gatny</font></div><div dir="ltr"><span style="font-family:arial,helvetica,sans-serif">Connamara Systems</span><br></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Jan 3, 2019 at 10:38 AM Jie Zhu <<a href="mailto:Jie.Zhu@icbkfs.com">Jie.Zhu@icbkfs.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 lang="EN-US"><div class="gmail-m_-6001627159634398051WordSection1"><p class="MsoNormal">Hi,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">       We have a counterparty which serves a fix acceptor.  Their fix engine doesn’t not support tag 141=Y in 35=A message. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">       We act as fix intiator and every day we restart our fix application at 9:00am.   But for the first 35=A logon message, there is a tag 141=Y in it.   If we are disconnect in the middle of the day, there is no such tag.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">      For the 35=A with tag 141, our counterparty has a log   “<span style="font-size:9pt;font-family:Arial,sans-serif"> 2019/01/03 09:00:12:417: FIXConnectionData: Sending data on connection {C073GEMS} [8=FIX.4.4_9=0129_35=5_49=test1_56=test2_34=1_52=20190103-14:00:12_58=00100000001nr76_10413- CODE: 1-200-A-141: <span style="background:yellow">Logon with 141=Y is not supported</span>_10=075_]<u></u><u></u></span></p><p class="MsoNormal">“,  apparently their system doesn’t support 141=Y in the 35=A message. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">     In our fix settings, we have ResetOnLogon=N  ResetOnLogout=Y ResetOnDisconnect=N.  The way we start our fix intiator every day is something like,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">                </span><span style="font-size:9.5pt;font-family:Consolas;color:rgb(43,145,175);background:white">IMessageStoreFactory</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> storeFactory = </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">new</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:rgb(43,145,175);background:white">FileStoreFactory</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">(settings);<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">                </span><span style="font-size:9.5pt;font-family:Consolas;color:rgb(43,145,175);background:white">ILogFactory</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> logFactory = </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">new</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:rgb(43,145,175);background:white">FileLogFactory</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">(settings);<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">                </span><span style="font-size:9.5pt;font-family:Consolas;color:rgb(43,145,175);background:white">SocketInitiator</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> initiator = </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">new</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:rgb(43,145,175);background:white">SocketInitiator</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">(app, storeFactory, settings, logFactory);<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">                initiator.Start();</span><span style="font-size:9.5pt;font-family:Consolas;color:black"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:black"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:black">  </span>     I remove the 141 tag in ToAdmin() method to get rid of this tag to fix the issue but still curious where the 141=Y coming from for our everyday’ s first log in.  Please help. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thanks,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Jie<u></u><u></u></p></div><p>This email and any attached files are confidential and may be legally privileged. If you are not the intended recipient, any disclosure, reproduction, copying, distribution, or other dissemination or use of this communication is strictly prohibited. If you have received this transmission in error please notify the sender immediately and then delete this email. Email transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore is in no way liable for any errors or omissions in the contents of this message which may arise as a result of email transmission. If verification is required please request a hard copy.</p></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>