{{Quickfixn}} Session does not reconnect

Rob Speros rsperos at yahoo.com
Mon Feb 22 09:23:14 PST 2016


Hello Francis , 

Quick answer - 

I would check to make sure SenderCompID and TargetCompIDs line up.And also it is possible that your outbound sequence number is too low - example : you're sending 34=1 butthey are expecting higher.Both of those scenarios, I think, could cause the FIX engine to ignore your logon request.
Rgds,Rob



      From: Francis Gingras <francis at tradeintegration.com>
 To: quickfixn <quickfixn at lists.quickfixn.com> 
 Sent: Monday, February 22, 2016 11:17 AM
 Subject: {{Quickfixn}} Session does not reconnect
   
Session does not reconnectHi,

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


  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20160222/1df75ba8/attachment-0002.htm>


More information about the Quickfixn mailing list