{{Quickfixn}} Unable to set up initiator configuration...

Thomas Tomiczek t.tomiczek at nettecture.com
Fri Mar 9 10:44:18 PST 2012


Sure, here we go:

[DEFAULT]
CONNECTIONTYPE=initiator
STARTTIME=00:00:00
ENDTIME=00:00:00
FILESTOREPATH=store
FILELOGPATH=log
RESETONLOGON=Y
RESETONLOGOUT=Y
RESETONDISCONNECT=Y
LOGOUTTIMEOUT=5
RECONNECTINTERVAL=2
HEARTBTINT=30

[SESSION]
BEGINSTRING=FIX.4.2
SENDERCOMPID=NINJADEMO5
TARGETCOMPID=TT_ORDER
SOCKETCONNECTHOST=10.10.10.10
SOCKETCONNECTPORT=9999
USEDATADICTIONARY=N

[SESSION]
BEGINSTRING=FIX.4.2
SENDERCOMPID=NINJADEMO5
TARGETCOMPID=TT_PRICE
SOCKETCONNECTHOST=10.10.10.10
SOCKETCONNECTPORT=9998
USEDATADICTIONARY=N

The error is:

{"Configuration failed: Session 'FIX.4.2:NINJADEMO5->TT_ORDER' not found"}

Again, this is in the NEW for the SocketInitiator.

The code now looks like this:

            FixUp upFix = new FixUp();
            Console.WriteLine (upSettings.ToString());
            IInitiator initiator = new QuickFix.Transport.SocketInitiator(upFix, storeFactory, upSettings, logFactory);
            initiator.Start ();

So, this is not a wrong password or so ;(

IP Addresses and ports have been changed ;)

Trying to

From: quickfixn-bounces at lists.quickfixn.com [mailto:quickfixn-bounces at lists.quickfixn.com] On Behalf Of Mike Gatny
Sent: 09 March 2012 16:18
To: Mailing list for QuickFIX/n
Subject: Re: {{Quickfixn}} Unable to set up initiator configuration...

Thomas,

I tried again with v1.1.0 and I could not reproduce the error.  Can you add the following line of code before you create the SocketInitiator, and post the result?
System.Console.WriteLine(upSettings.ToString());

--
Mike Gatny
Connamara Systems, LLC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20120309/4d796454/attachment-0001.htm>


More information about the Quickfixn mailing list