{{Quickfixn}} Sending Email Message Problem

somnath pal palsomnath at hotmail.com
Tue Jul 15 12:01:04 PDT 2025


NuGet Code of stop
StopAcceptingConnections();
LogoutAllSessions(force);
DisposeSessions();
sessions_.Clear();

Repo Code of stop
LogoutAllSessions(force);
StopAcceptingConnections();

I didn't check inside the functions.

But those additional lines in NuGet does the trick, I guess


Thanks,
Somnath
________________________________
From: Grant Birchmeier <gbirchmeier at connamara.com>
Sent: 16 July 2025 00:04
To: Mailing list for QuickFIX/n <quickfixn at lists.quickfixn.com>
Cc: somnath pal <palsomnath at hotmail.com>
Subject: Re: {{Quickfixn}} Sending Email Message Problem

First, you aren't telling me exception you're seeing.  Is it still the store file error?  I assume it is.

Now I think I see what you're doing wrong.  You are creating a new acceptor, but the old acceptor object (with the same settings, thus same store/log file paths) is still alive and undisposed.  It still has an open filehandle to the store file, so of course your new acceptor can't open the file.

But why are you re-creating the ThreadedSocketAcceptor?  Totally unnecessary, and pointless.  Just call .Start() again.


On Tue, Jul 15, 2025 at 1:25 PM somnath pal via Quickfixn <quickfixn at lists.quickfixn.com<mailto:quickfixn at lists.quickfixn.com>> wrote:
Problem still there
________________________________
From: somnath pal <palsomnath at hotmail.com<mailto:palsomnath at hotmail.com>>
Sent: 15 July 2025 23:49
To: Mailing list for QuickFIX/n <quickfixn at lists.quickfixn.com<mailto:quickfixn at lists.quickfixn.com>>
Subject: Re: {{Quickfixn}} Sending Email Message Problem

Infact I decided to check.
I downloaded the master.
Opened the solution.
Set executor as start project.
srv.Stop();
acceptor.Stop();
acceptor = new ThreadedSocketAcceptor(executorApp, storeFactory, settings, logFactory);

Thanks,
Somnath
________________________________
From: Quickfixn <quickfixn-bounces at lists.quickfixn.com<mailto:quickfixn-bounces at lists.quickfixn.com>> on behalf of somnath pal via Quickfixn <quickfixn at lists.quickfixn.com<mailto:quickfixn at lists.quickfixn.com>>
Sent: 15 July 2025 23:30
To: Mailing list for QuickFIX/n <quickfixn at lists.quickfixn.com<mailto:quickfixn at lists.quickfixn.com>>
Cc: somnath pal <palsomnath at hotmail.com<mailto:palsomnath at hotmail.com>>
Subject: Re: {{Quickfixn}} Sending Email Message Problem

Thanks Grant I will check tomorrow and let you know the result.

Thanks again for all the help.

Somnath
________________________________
From: Quickfixn <quickfixn-bounces at lists.quickfixn.com<mailto:quickfixn-bounces at lists.quickfixn.com>> on behalf of Grant Birchmeier via Quickfixn <quickfixn at lists.quickfixn.com<mailto:quickfixn at lists.quickfixn.com>>
Sent: 15 July 2025 23:27
To: Mailing list for QuickFIX/n <quickfixn at lists.quickfixn.com<mailto:quickfixn at lists.quickfixn.com>>
Cc: Grant Birchmeier <gbirchmeier at connamara.com<mailto:gbirchmeier at connamara.com>>
Subject: Re: {{Quickfixn}} Sending Email Message Problem

The repo is: https://github.com/connamara/quickfixn

If you are using the latest version of the `master` branch in that repo but still seeing the problem, then I think the problem has to be something you are doing in your code.  As I said earlier, I ran a demo acceptor on this branch and called Stop/Start/Stop repeatedly, and saw no issues.

-Grant


On Tue, Jul 15, 2025 at 12:52 PM somnath pal <palsomnath at hotmail.com<mailto:palsomnath at hotmail.com>> wrote:
Hi Grant,

I can understand the volume of software and version management is not easy.

Finally we came to a conclusion and that is great.

I am also confused about your lates repo. Today morning, I downloaded from GitHub but that didn't help. Can you please point me to correct URL?

Thanks,
Somnath
________________________________
From: Quickfixn <quickfixn-bounces at lists.quickfixn.com<mailto:quickfixn-bounces at lists.quickfixn.com>> on behalf of Grant Birchmeier <gbirchmeier at connamara.com<mailto:gbirchmeier at connamara.com>>
Sent: 15 July 2025 21:58
To: Mailing list for QuickFIX/n <quickfixn at lists.quickfixn.com<mailto:quickfixn at lists.quickfixn.com>>
Subject: Re: {{Quickfixn}} Sending Email Message Problem

Somnath,

I apologize, I see now that the issue you are facing is very real.  It was documented in issue #196, and finally fixed with PR #959 earlier this year.  It will be in the next release (1.14), which I hope to have out by the end of August.

When I tried to reproduce your problem, I was using the latest repo source, so of course I didn't replicate the bug, because it was fixed!

To get going, you can clone or download the current github repo and build the dlls yourself.  If you have any questions about building, you can ask them here.

-Grant



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.
_______________________________________________
Quickfixn mailing list
Quickfixn at lists.quickfixn.com<mailto:Quickfixn at lists.quickfixn.com>
http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com


--
[https://lh4.googleusercontent.com/1ZKItKWIoLUepUXvEXgEeZWBlntjas7UxLPLuLLnsApbxAcRepKELA_SwZBe1BWEZ3huC6sJdz2ZzvUYLNgu56Zcm8bo2R_iLzXZVjDmMo67675iop6mEMOg_Y6q8Mtz7ylOW9t8RazXt-tyJtEyhE0]<https://www.connamara.com>

Grant Birchmeier

Director of Engineering, Connamara

gbirchmeier at connamara.com<mailto:gbirchmeier at connamara.com>

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20250715/6fde8453/attachment-0001.htm>


More information about the Quickfixn mailing list