Search code examples
quickfixfix-protocolquickfixj

After login sending ResendRequest


My client fix engine connecting to server fix engine using quickfix4j.

Server fix engine running Sunday 1 am to Friday 5 pm .

This is my initiator configuration


    [default]
    FileStorePath=some path
    ConnectionType=initiator
    SocketConnectHost=remoteserver
    StartTime=00:00:00
    EndTime=00:00:00
    HeartBtInt=30
    ReconnectInterval=10
    ResetOnDisconnect=N
    ResetOnLogout=N
    ResetOnLogon=N
    SocketUseSSL=Y
    ForceResync=Y

    [session]
    BeginString=FIX.4.4
    SocketConnectPort=9878
    SenderCompID=TestSender
    TargetCompID=TestTarget
    SendRedundantResendRequests=N
    UseDataDictionary=Y
    DataDictionary=FIX44.xml
    SessionName=TRADING
    ValidateUnorderedGroupFields=N
    ValidateIncomingMessage=N

My session logout at 19:00: EST(That is 00:00:00 UTC). This is correct.

Again client fix engine send login request and get the login response from server. Immediately after login response I see the resendRequest my fix engine is making(35=2).

I observed that my login request 35=A has the sequence number 0 but server result is much higher.

Due to this client fix engine sending ResendRequest.

DO I need to update my configuration to fix this issue?


Solution

  • Your Start/EndTime and Start/EndDay should always match the ones on the server-side.