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

Logout reason "Incorrect BeginString" on UnsupportedVersion exception is ambiguous

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Default
    • Resolution: Duplicate
    • Affects Version/s: 1.3.3
    • Fix Version/s: 1.5.1
    • Component/s: Engine
    • Labels:
      None

      Description

      We had the situation any FIX sessions were immediately logged out with the reason "Incorrect BeginString". But the session was configured to use "FIX.4.4" and the incoming message came with "FIX.4.4" so we wondered why this happened.

      Finally, we found that the configured data dictionary had the wrong FIX version tag which was difficult to find.

      Code analysis results:

      • The logout reason "Incorrect BeginString" is sent if the exception UnsupportedVersion is thrown.
      • This exception is sent on two quite different occasions:
        • Incoming BeginString does not match the session configuration.
        • On validate, configured data dictionary does not match the session configuration.
      • In both cases, the same undifferentiated exception is thrown.

      Possible improvements:

      • Provide differentiating reason text to the UnsupportedVersion exception.

        Attachments

          Activity

            People

            • Assignee:
              jthoennes Jörg Thönnes
              Reporter:
              jthoennes Jörg Thönnes
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: