<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Actually, this acceptor is for relay messages. For few cases, we use 2 FIX Engine.</div>
<div class="elementToProof" style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Remote Engine (with an Initiator)</div>
<div class="elementToProof" style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Dual Engine (with an Initiator and Acceptor).</div>
<div class="elementToProof" style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Dual Engine Receives the message in Acceptor session and send the same to broker via Initiator.</div>
<div class="elementToProof" style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
We use very few messages, and know which has repeating groups and code accordingly. So, we don't want to use Data Dictionary and that is how it is working for last 20 years without any issues.</div>
<div class="elementToProof" style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 </div>
<div class="elementToProof" style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
It is good that you pointed out about CheckLatency. I could not find any information on this. Can you point me to any link or example where I could have details like the effect of CheckLatency=Y vs N.</div>
<div class="elementToProof" style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
In our case, the engine runs as windows service. I can create a small app to reproduce the problem. Is there any way I can send that for you to reproduce? </div>
<div id="x_Signature" class="elementToProof" style="margin: 0px;">
<div class="elementToProof" style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks,</div>
<div class="elementToProof" style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Somnath</div>
</div>
<div id="x_appendonsend" class="elementToProof" style="margin: 0px;"></div>
<div class="elementToProof" style="margin: 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b>Sent:</b> Monday, July 14, 2025 22:06<br>
<b>To:</b> Mailing list for QuickFIX/n <quickfixn@lists.quickfixn.com><br>
<b>Subject:</b> Re: {{Quickfixn}} Sending Email Message Problem </div>
<div id="appendonsend"></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="direction: ltr; font-size: 9.75pt; color: rgb(0, 0, 0);">Somnath,</div>
<div style="direction: ltr; font-size: 9.75pt; color: rgb(0, 0, 0);"><br>
</div>
<div style="direction: ltr; font-size: 9.75pt; color: rgb(0, 0, 0);">Your report had me worried that we had a problem with Acceptor Stop/Start, but I'm just not able to reproduce your issue.</div>
<div style="direction: ltr; font-size: 9.75pt; color: rgb(0, 0, 0);"><br>
</div>
<div style="direction: ltr; font-size: 9.75pt; color: rgb(0, 0, 0);">Methodology:  I've hacked the "Executor" example app to let me invoke Stop/Start on the acceptor, and changed it to use a FileLogFactory and FileStoreFactory.  I've changed its config to set
 every "ResetOn<X>" setting to =N.  For an initiator, I used the "TradeClient" example, also configured with every "ResetOn<X>=N".</div>
<div style="direction: ltr; font-size: 9.75pt; color: rgb(0, 0, 0);"><br>
</div>
<div style="direction: ltr; font-size: 9.75pt; color: rgb(0, 0, 0);">I started up the Executor and called Start/Stop repeatedly with no problems.  Then I restarted it and connected the TradeClient to it, and again called Start/Stop repeatedly.  The TradeClient
 was able to reconnect after every time I called acceptor.Start().  I saw no exceptions on either side.  The logs and store files contained nothing that I didn't expect to see.</div>
<div style="direction: ltr; font-size: 9.75pt; color: rgb(0, 0, 0);"><br>
</div>
<div style="direction: ltr; font-size: 9.75pt; color: rgb(0, 0, 0);">The Executor and TradeClient example sources are at:
<a href="https://github.com/connamara/quickfixn/tree/master/Examples" id="OWA27d290e4-dcca-27eb-71a3-48e047a608af" class="OWAAutoLink" data-auth="NotApplicable">
https://github.com/connamara/quickfixn/tree/master/Examples</a>.  I've attached my modified Executor Program.cs so you can see how I called Stop/Start.</div>
<div style="direction: ltr; font-size: 9.75pt; color: rgb(0, 0, 0);"><br>
</div>
<div style="direction: ltr; font-size: 9.75pt; color: rgb(0, 0, 0);">At this point I can only conclude that you are doing something unexpected in your code.  I think you should have a look at the Executor, and then compare that to the functions you are calling
 when you setup your own acceptor.  Anything you're doing that doesn't parallel a call in my example should be suspect.</div>
<div style="direction: ltr; font-size: 9.75pt; color: rgb(0, 0, 0);"><br>
</div>
<div style="direction: ltr; font-size: 9.75pt; color: rgb(0, 0, 0);">-Grant</div>
<div style="direction: ltr; font-size: 9.75pt; color: rgb(0, 0, 0);"><br>
</div>
<div><br>
</div>
<div style="direction: ltr;">On Sat, Jul 12, 2025 at 12:20 AM somnath pal <<a href="mailto:palsomnath@hotmail.com" id="OWA230dca5b-694c-79c1-ac57-68784a95e04b" class="OWAAutoLink">palsomnath@hotmail.com</a>> wrote:</div>
<blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left: 1px solid rgb(204, 204, 204);">
<div style="direction: ltr; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
One more point I should mention. I am developing this software for a firm. Due to whatever reasons they might have, I don't know why, they told me not to use NeGet package, but use the source code of the package. So I am using the QuickFixn source code in a
 class library and not using NeGet package.</div>
<div id="x_m_-74115817342036848m_-3876294940846496143Signature">
<div style="direction: ltr; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="direction: ltr; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks,</div>
<div style="direction: ltr; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Somnath</div>
</div>
<div id="x_m_-74115817342036848m_-3876294940846496143appendonsend"></div>
<hr style="direction: ltr; display: inline-block; width: 98%;">
<div id="x_m_-74115817342036848m_-3876294940846496143divRplyFwdMsg">
<div style="direction: ltr; font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<b>From:</b> somnath pal <<a href="mailto:palsomnath@hotmail.com" id="OWA39ce9c80-d404-030e-0a24-319d8a3156c7" class="OWAAutoLink">palsomnath@hotmail.com</a>><br>
<b>Sent:</b> 12 July 2025 10:30<br>
<b>To:</b> Mailing list for QuickFIX/n <<a href="mailto:quickfixn@lists.quickfixn.com" id="OWAc43ba5c6-3d8e-ee75-59ab-7195f93ee8b9" class="OWAAutoLink">quickfixn@lists.quickfixn.com</a>><br>
<b>Subject:</b> Re: {{Quickfixn}} Sending Email Message Problem</div>
<div style="direction: ltr;"> </div>
</div>
<div style="direction: ltr; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I was not sure, why the email problem was happening. After investigation I am getting more and more information and sharing with you as I found. Answer of your questions:</div>
<div style="direction: ltr; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="direction: ltr; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
1. ‎Yes 1.13.1 (.Net 8) is used. I am migrating to .Net Core</div>
<div style="direction: ltr; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="direction: ltr; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
2. Start button click:</div>
<div style="direction: ltr; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
    Creates the acceptor socket and starts  </div>
<div style="direction: ltr; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
    DualEngineAcceptor = new ThreadedSocketAcceptor(application, storeFactory, settings, logFactory, messageFactory);</div>
<div style="direction: ltr; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
    DualEngineAcceptor.Start();</div>
<ol start="1" style="direction: ltr; margin-top: 0px; margin-bottom: 0px; list-style-type: decimal;">
<ol start="1" style="direction: ltr; margin-top: 0px; margin-bottom: 0px; list-style-type: lower-alpha;">
<li style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); display: block;">
<div role="presentation" style="direction: ltr;"><br>
</div>
</li></ol>
</ol>
<div id="x_m_-74115817342036848m_-3876294940846496143x_Signature">
<div style="direction: ltr; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
    Stop button click: DualEngineAcceptor.Stop();</div>
<div style="direction: ltr; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="direction: ltr; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
3.  ConnectionType=acceptor, so it's acceptor. No need for counter party. Error happanes with or without connection to counter party initiator. So, counter party is not important here.</div>
<div style="direction: ltr; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="direction: ltr; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
To reproduce the problem, with or without connection to counter party initiator,</div>
<div style="direction: ltr; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="direction: ltr; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
A) Start button 1st click - all good</div>
<div style="direction: ltr; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
B) Stop button 1st click - all good</div>
<div style="direction: ltr; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
C) Start button 2nd click - error</div>
<div style="direction: ltr; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
D) Start button 3rd click - all good</div>
<div style="direction: ltr; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="direction: ltr; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
So looks like, when the error happened at step C, all are reset and Step D worked. Probably, that reset hapenning at Step C, should have been also at Step B when Stopped.</div>
<div style="direction: ltr; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="direction: ltr; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks,</div>
<div style="direction: ltr; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Somnath</div>
</div>
<div id="x_m_-74115817342036848m_-3876294940846496143x_appendonsend"></div>
<div style="direction: ltr;"><br>
</div>
<div style="direction: ltr; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<hr style="direction: ltr; display: inline-block; width: 98%;">
<div style="direction: ltr; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b>From:</b> Quickfixn <<a href="mailto:quickfixn-bounces@lists.quickfixn.com" id="OWAd082c462-2a33-32f1-7563-8e164dc213c9" class="OWAAutoLink">quickfixn-bounces@lists.quickfixn.com</a>> on behalf of Grant Birchmeier <<a href="mailto:gbirchmeier@connamara.com" id="OWAe6042eae-f1f4-dfbd-eb80-e8a341f6caf0" class="OWAAutoLink">gbirchmeier@connamara.com</a>><br>
<b>Sent:</b> Saturday, July 12, 2025 04:59<br>
<b>To:</b> Mailing list for QuickFIX/n <<a href="mailto:quickfixn@lists.quickfixn.com" id="OWA72737702-ebc6-cac7-beef-ee216a8dda6c" class="OWAAutoLink">quickfixn@lists.quickfixn.com</a>><br>
<b>Subject:</b> Re: {{Quickfixn}} Sending Email Message Problem</div>
<div style="direction: ltr; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="direction: ltr; font-size: 9.75pt; color: rgb(0, 0, 0);">Ok, now you're telling me new things that would have been useful to know earlier.  You never said anyting about that File Store exception-- that's important!  Your questions and answers are
 kind of disorganized, it's a little hard to follow.</div>
<div style="direction: ltr;"><br>
</div>
<div style="direction: ltr;"><span style="font-size: 9.75pt; color: rgb(0, 0, 0);">1.
</span>Are you sure you're using the latest release v1.13.1<span style="color: rgb(0, 0, 0);">?  (".net8" is not a QF/n version.)</span></div>
<div style="direction: ltr; font-size: 9.75pt; color: rgb(0, 0, 0);"><br>
</div>
<div style="direction: ltr; color: rgb(0, 0, 0);"><span style="font-size: 9.75pt;">2. I don't need to know what your UI looks like. 
</span>Are <span style="font-size: 9.75pt;">your buttons calling </span>acceptor.Start and acceptor.Stop?</div>
<div style="direction: ltr; color: rgb(0, 0, 0);"><br>
</div>
<div style="direction: ltr; color: rgb(0, 0, 0);">3. <span style="font-size: 9.75pt;">
Is that config for your Initiator or for your Acceptor?  What is the config on the other side?</span></div>
<div style="direction: ltr; font-size: 9.75pt; color: rgb(0, 0, 0);"><br>
</div>
<div style="direction: ltr; font-size: 9.75pt; color: rgb(0, 0, 0);">4. The store error on stop/restart should not be happening.  I will try and find time to spin up a sample app and see if I can replicate it.</div>
<div style="direction: ltr; font-size: 9.75pt; color: rgb(0, 0, 0);"><br>
</div>
<div style="direction: ltr; font-size: 9.75pt; color: rgb(0, 0, 0);">By the way, if you want to stick with your old C#-over-C++ wrapper until we figure this out, you could use Stunnel to wrap SSL around that connection.</div>
<div style="direction: ltr; font-size: 9.75pt; color: rgb(0, 0, 0);"><br>
</div>
<div style="direction: ltr; font-size: 9.75pt; color: rgb(0, 0, 0);">-Grant</div>
<div style="direction: ltr;"><br>
<span style="font-family: Slack-Lato, appleLogo, sans-serif; font-size: 13px; color: rgb(29, 28, 29); background-color: white;">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.</span></div>
<div>_______________________________________________<br>
Quickfixn mailing list<br>
<a href="mailto:Quickfixn@lists.quickfixn.com" id="OWAd1b15e02-9b9b-6500-13fc-7a4b395836c3" class="OWAAutoLink">Quickfixn@lists.quickfixn.com</a><br>
<a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" id="OWAf8111f45-fa7c-2990-13d0-5f6848d762f3" class="OWAAutoLink" data-auth="NotApplicable">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a></div>
</blockquote>
<div><br>
</div>
<div><br>
</div>
<div>--</div>
<div align="left" style="margin-left: 0pt;">
<table style="direction: ltr; box-sizing: border-box; border-collapse: collapse; border-spacing: 0px;">
<tbody>
<tr>
<td style="direction: ltr; vertical-align: top; width: 122px; height: 84px;">
<div style="direction: ltr; width: 105px; height: 83px; display: inline-block;"><a href="https://www.connamara.com" id="OWA55352c92-97c6-a9af-91eb-3744291e0bd7" class="OWAAutoLink" data-auth="NotApplicable"><img width="105" height="83" style="width: 105px; height: 83px; margin-top: 0px; margin-left: 0px;" src="https://lh4.googleusercontent.com/1ZKItKWIoLUepUXvEXgEeZWBlntjas7UxLPLuLLnsApbxAcRepKELA_SwZBe1BWEZ3huC6sJdz2ZzvUYLNgu56Zcm8bo2R_iLzXZVjDmMo67675iop6mEMOg_Y6q8Mtz7ylOW9t8RazXt-tyJtEyhE0"></a></div>
</td>
<td style="direction: ltr; padding: 5pt; vertical-align: top; width: 298px; height: 84px;">
<div style="direction: ltr;"><br>
</div>
<p style="direction: ltr; line-height: 1.38; margin-top: 0pt; margin-bottom: 0pt;">
<span style="font-family: Archivo, sans-serif; font-size: 11pt; color: rgb(0, 65, 107);">Grant Birchmeier</span></p>
<p style="direction: ltr; line-height: 1.38; margin-top: 0pt; margin-bottom: 0pt;">
<span style="font-family: Archivo, sans-serif; font-size: 11pt; color: rgb(0, 65, 107);">Director of Engineering, Connamara</span></p>
<p style="direction: ltr; line-height: 1.38; margin-top: 0pt; margin-bottom: 0pt;">
<span style="font-family: Archivo, sans-serif; font-size: 11pt; color: rgb(0, 65, 107);"><a href="mailto:gbirchmeier@connamara.com" id="OWAef858ad0-a1b8-378b-b335-eb80b1fe61bf" class="OWAAutoLink" style="margin-top: 0px; margin-bottom: 0px;">gbirchmeier@connamara.com</a></span></p>
</td>
</tr>
</tbody>
</table>
</div>
<div><br>
<span style="font-family: Slack-Lato, appleLogo, sans-serif; font-size: 13px; color: rgb(29, 28, 29); background-color: white;">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.</span></div>
</body>
</html>