{{Quickfixn}} Session does not reconnect

Francis Gingras francis at tradeintegration.com
Mon Feb 22 09:17:30 PST 2016


Hi,

I connect to a counterparty that sometimes drops the connection on the first login attempt of the day. Whenever that happens, quickfix/n 1.5.0 does not reconnect automatically. Is the reconnection routine (ReconnectInterval) broken or is this a scenario where QF does nothing by design?

0160221-22:35:09.297 : Created session
20160221-22:35:09.302 : Connecting to 127.0.0.1 on port 55000
20160221-22:35:09.303 : Connection succeeded
20160221-22:35:09.453 : Session reset: ResetSeqNumFlag
20160221-22:35:09.455 : Initiated logon request
20160221-22:35:19.309 : Session FIX.4.4:ME->THEM:ORDER disconnecting: System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host
   at QuickFix.SocketInitiatorThread.ReadSome(Byte[] buffer, Int32 timeoutMilliseconds)
   at QuickFix.SocketInitiatorThread.Read()

My settings file:

[DEFAULT]
ConnectionType=initiator
BeginString=FIX.4.4
ReconnectInterval=30
FileStorePath=C:\Trading\THEM\Fix\Store
FileLogPath=C:\Trading\THEM\Fix
HeartBtInt=30
LogonTimeout=61
TimeZone=Eastern Standard Time
IgnorePossDupResendRequests=Y
StartTime=17:30:00
EndTime=17:30:00
StartDay=sun
EndDay=fri
UseDataDictionary=Y
DataDictionary=C:\Trading\THEM\FIX44.xml
ValidateUserDefinedFields=N
ValidateFieldsHaveValues=N
ValidateFieldsOutOfOrder=N
ResetOnLogout=N
ResetOnDisconnect=N
CheckLatency=N
RequiresOrigSendingTime=N
HttpAcceptPort=8071
PersistMessages=Y
[SESSION]
SenderCompID=ME
TargetCompID=THEM
SessionQualifier=ORDER
SocketConnectHost=127.0.0.1
SocketConnectPort=55000

Best regards,

Francis Gingras
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20160222/bdbefffc/attachment.htm>


More information about the Quickfixn mailing list