|
From: Colin D. <co...@ma...> - 2023-03-02 19:53:27
|
Restart FIX connection is not the same as reset the session. The logs below indicate that the FIX acceptor is not available, not that there’s a mismatch in the session config. What parameters did you mutually agree upon for the begin/end of the session? > On Mar 2, 2023, at 10:46 AM, MelaninaBeauty <mel...@gm...> wrote: > > QFJ Documentation: http://www.quickfixj.org/documentation/ > QFJ Support: http://www.quickfixj.org/support/ > > > Hello All, > > I have a FIX connection with an external vendor. This vendor restarts their FIX connection twice on Sunday. I tried the configuration below, but it fails to initialize the session on Sunday. Can you advise on the correct way to allow a session to start and stop twice every day? > Error in Logs: > Session state is not current; resetting FIXT.1.1:MKTDATA->TWINCOME:SessionA > Pending connection not established after 60784ms. > [QFJ Timer] ERROR quickfixj.errorEvent - FIXT.1.1:MKTDATA->TWINCOME:SessionA: java.net.ConnectException during connection to 123.123.123.123:9823 <http://123.123.123.123:9823/>: java.net.ConnectException: Connection timed out. > Session state is not current; resetting FIXT.1.1:MKTDATA->TWINCOME:Session > [QFJ Timer] ERROR quickfixj.errorEvent - FIXT.1.1:MKTDATA->TWINCOME:SessionB: java.net.ConnectException during connection to 123.123.123.123:9823 <http://123.123.123.123:9823/>: java.net.ConnectException: Connection timed out. > > Configuration: > [DEFAULT] > ConnectionType=initiator > ReconnectInterval=60 > SenderCompID=MKTDATA > > [SESSION] > SessionQualifier=SessionA > BeginString=FIXT.1.1 > TargetCompID=TWINCOME > Weekdays=Sun > TimeZone=America/New_York > StartTime=19:00:00 > EndTime=10:00:00 > HeartBtInt=300 > SocketConnectPort=9823 > SocketConnectHost=123.123.123.123 > DataDictionary=somewhere/FIX41.xml > > [SESSION] > SessionQualifier=SessionB > BeginString=FIXT.1.1 > TargetCompID=TWINCOME > Weekdays=Sun > TimeZone=America/New_York > StartTime=11:00:00 > EndTime=18:05:00 > HeartBtInt=300 > SocketConnectPort=9823 > SocketConnectHost=123.123.123.123 > DataDictionary=somewhere/FIX41.xml > > [SESSION] > BeginString=FIXT.1.1 > TargetCompID=TWINCOME > Weekdays=Mon,Tue,Wed,Thu,Fri,Sat > TimeZone=America/New_York > StartTime=19:00:00 > EndTime=18:05:00 > HeartBtInt=300 > SocketConnectPort=9823 > SocketConnectHost=123.123.123.123 > DataDictionary=somewhere/FIX41.xml > > Thanks. > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users |