<div dir="ltr"><div class="gmail_default" style="font-size:small;color:#000000">Somnath,</div><div class="gmail_default" style="font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-size:small;color:#000000">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 class="gmail_default" style="font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-size:small;color:#000000">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 class="gmail_default" style="font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-size:small;color:#000000">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 class="gmail_default" style="font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-size:small;color:#000000">The Executor and TradeClient example sources are at: <a href="https://github.com/connamara/quickfixn/tree/master/Examples">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 class="gmail_default" style="font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-size:small;color:#000000">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 class="gmail_default" style="font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-size:small;color:#000000">-Grant</div><div class="gmail_default" style="font-size:small;color:#000000"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 12, 2025 at 12:20 AM somnath pal <<a href="mailto:palsomnath@hotmail.com" target="_blank">palsomnath@hotmail.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>
<div dir="ltr">
<div style="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="m_-74115817342036848m_-3876294940846496143Signature">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Thanks,</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Somnath</div>
</div>
<div id="m_-74115817342036848m_-3876294940846496143appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="m_-74115817342036848m_-3876294940846496143divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> somnath pal <<a href="mailto:palsomnath@hotmail.com" target="_blank">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" target="_blank">quickfixn@lists.quickfixn.com</a>><br>
<b>Subject:</b> Re: {{Quickfixn}} Sending Email Message Problem</font>
<div> </div>
</div>
<div dir="ltr">
<div style="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="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="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="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
2. Start button click:</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Creates the acceptor socket and starts </div>
<div style="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="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
DualEngineAcceptor.Start();</div>
<ol start="1" style="margin-top:0px;margin-bottom:0px;list-style-type:decimal">
<ol start="1" style="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"><br>
</div>
</li></ol>
</ol>
<div id="m_-74115817342036848m_-3876294940846496143x_Signature">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Stop button click: DualEngineAcceptor.Stop();</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="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="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="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="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
A) Start button 1st click - all good</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
B) Stop button 1st click - all good</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
C) Start button 2nd click - error</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
D) Start button 3rd click - all good</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="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="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Thanks,</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Somnath</div>
</div>
<div id="m_-74115817342036848m_-3876294940846496143x_appendonsend"></div>
<div><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<hr style="display:inline-block;width:98%">
<div style="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" target="_blank">quickfixn-bounces@lists.quickfixn.com</a>> on behalf of Grant Birchmeier <<a href="mailto:gbirchmeier@connamara.com" target="_blank">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" target="_blank">quickfixn@lists.quickfixn.com</a>><br>
<b>Subject:</b> Re: {{Quickfixn}} Sending Email Message Problem </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)">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><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>
</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>
</div></blockquote></div><div><br clear="all"></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><span><div dir="ltr" style="margin-left:0pt" align="left"><table style="border:none;border-collapse:collapse"><colgroup><col width="122"><col width="298"></colgroup><tbody><tr style="height:84.75pt"><td style="vertical-align:top;overflow:hidden"><span style="border:none;display:inline-block;overflow:hidden;width:105px;height:83px"><a href="https://www.connamara.com" target="_blank"><img src="https://lh4.googleusercontent.com/1ZKItKWIoLUepUXvEXgEeZWBlntjas7UxLPLuLLnsApbxAcRepKELA_SwZBe1BWEZ3huC6sJdz2ZzvUYLNgu56Zcm8bo2R_iLzXZVjDmMo67675iop6mEMOg_Y6q8Mtz7ylOW9t8RazXt-tyJtEyhE0" width="105" height="83" style="margin-left: 0px; margin-top: 0px;"></a></span></td><td style="vertical-align:top;padding:5pt;overflow:hidden"><br><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Archivo,sans-serif;color:rgb(0,65,107);background-color:transparent;vertical-align:baseline">Grant Birchmeier</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Archivo,sans-serif;color:rgb(0,65,107);background-color:transparent;vertical-align:baseline">Director of Engineering, Connamara</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Archivo,sans-serif;color:rgb(0,65,107);background-color:transparent;vertical-align:baseline"><a href="mailto:gbirchmeier@connamara.com" target="_blank">gbirchmeier@connamara.com</a></span></p></td></tr></tbody></table></div></span></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>