{{Quickfixn}} Quick Question

ringbretson at keplp.com ringbretson at keplp.com
Wed Feb 22 09:21:21 PST 2023



Hi:

 

I'm restarting a project to pull trades from ICE using QuickFix 4.4, stunnel
and C#.

So far I haven't been able to get the products to talk to each other and I'm
hoping you can help.  I suspect the issue is in my configuration files.

The QuickFix, stunnel and C# programs are running on the same server.

Can you take a quick look at the three files below and let me know if you
see any issues.

I should also point out that the "logon" portion of "toAdmin" specifies no
encryption with the following command.

value.setField(new EncryptMethod(EncryptMethod.NONE));

value.setField(new PossDupFlag(true));

value.setField(new SenderSubID("0921"));

value.setField(new TargetSubID(" "));

value.setField(new Username("xxxxxxx"));

value.setField(new Password("xxxxxxx"));

value.setField(new StringField(9001, "1"));

value.setField(new StringField(9006, "1"));

value.setField(new StringField(9007, "1"));

value.setField(new StringField(9008, "1"));

value.setField(new StringField(9009, "1"));

value.setField(new StringField(9010, "1"));

value.setField(new StringField(9450, "WebIceInitiator"));

value.setField(new StringField(9451, "Version 1.0"));

value.setField(new StringField(9452, "Ingbretson"));

****************************************************************************
**************************************************

 

*** Stunnel.config ***

debug = info

output = stunnel.log

 

[fix_acceptor_session1_tunnel]

client = yes

accept = 127.0.0.1:84                      {What is this parm?  Acceptor
socket accept ip and port?}

connect = 127.0.0.1:5001               {What is this parm?  Acceptor socket
accept ip and port?}

verifyChain = yes

CAfile = ca-certs.pem

checkHost = kepvm3dt1                 {Acceptor server name?]

 

[fix_initiator_session1_tunnel]

client = yes

accept = 127.0.0.1:83

connect = 63.247.113.201:443

cert = stunnel.pem                           {Certificate contains both
certificate and private key}

 

*** FIX Initiator config ***

[DEFAULT]

ConnectionType=initiator

ReconnectInterval=60

FileStorePath=c:\Temp\WebIce_Initiator

FileLogPath=c:\Temp\WebIce_Initiator

StartTime=00:00:00

EndTime=23:59:59

ResetOnLogon=Y

ResetOnLogout=Y

ResetOnDisconnect=Y

CheckLatency=N

 

[SESSION]

BeginString=FIX.4.4

SenderCompID=8655

SenderSubID=0921

TargetCompID=ICE

HeartBtInt=30

SocketConnectHost=127.0.0.1

SocketConnectPort=83

ValidateFieldsOutOfOrder=N

UseDataDictionary=Y

DataDictionary=C:\Applications\WebIceInitiator_Pub\FIX44.xml

ScreenLogEvents=N

ScreenLogShowIncoming=N

ScreenLogShowOutgoing=N

ScreenLogShowHeartBeats=N

****************************************************************************
**************************************************

 

*** FIX acceptor config ***

[DEFAULT]

ConnectionType=acceptor

SocketAcceptPort=5001

SocketReuseAddress=Y

StartTime=00:00:00

EndTime=20:00:00

FileLogPath=log

FileStorePath=c:\Temp\WebIce_Acceptor

 

[SESSION]

BeginString=FIX.4.4

SenderCompID=FixServer

TargetCompID=CLIENT1

DataDictionary=C:\Applications\WebIceAcceptor_Pub\FIX44.xml

****************************************************************************
**************************************************

 

 



 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20230222/8280ba2d/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 2310 bytes
Desc: not available
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20230222/8280ba2d/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 11700 bytes
Desc: not available
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20230222/8280ba2d/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Roger Ingbretson.vcf
Type: text/x-vcard
Size: 10581 bytes
Desc: not available
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20230222/8280ba2d/attachment-0001.vcf>


More information about the Quickfixn mailing list