Uploaded image for project: 'QuickFIX/J'
  1. QuickFIX/J
  2. QFJ-481

Connection terminated when receiving Logon-response after Logon with ResetSeqNumFlag=Y

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Default
    • Resolution: Not a bug
    • Affects Version/s: Future Releases
    • Fix Version/s: None
    • Component/s: Engine
    • Labels:
      None
    • Environment:
      Ubuntu 9 Server x64

      Description

      This week I downloaded the QuickFIX/J source code from the trunk and built a version of it to test our new FIX GW.

      My test program fails when I try to do send a LOGON with ResetSeqNumFlag=Y. This is written to the log;

      <20091016-08:25:18, FIXT.1.1:ABN->XTRM, event> (Initiated logon request)
      <20091016-08:25:30, FIXT.1.1:ABN->XTRM, incoming> (8=FIXT.1.19=007235=A34=152=20091016-08:25:2649=XTRM56=ABN1128=798=0108=301137=710=135)
      <20091016-08:25:55, FIXT.1.1:ABN->XTRM, event> (Received logon request)
      <20091016-08:25:55, FIXT.1.1:ABN->XTRM, event> (Disconnecting: Received logon response before sending request)

      The problem has been located to the following lines of code in /quickfixj/core/src/main/java/quickfix/Session.java (rev 926):

      if (state.isResetSent() && !state.isResetReceived())

      { disconnect("Received logon response before sending request", true); }

      The FIX GW responds to the LOGON with a normal LOGON response. However the QUICKFIX/J engine terminates the connections because it thinks that a SequenceReset should have been received. When I comment out the lines the test program works fine.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              erinyq Erik Nyquist
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: