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

Messages Log Contains Another Session's Messages

    Details

    • Type: Bug
    • Status: Open
    • Priority: Default
    • Resolution: Unresolved
    • Affects Version/s: 1.5.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:
      Linux Server

      Description

      I had two quick fix sessions configured: CLIENT and CLIENT2. Our CLIENT2 session connected while no one connected to the CLIENT session. You can see this from the event logs:

      ::::::::::::::
      FIX.4.2-LIME-CLIENT2.event.log
      ::::::::::::::
      20150219-08:20:41: Session FIX.4.2:LIME->CLIENT schedule is daily, 05:00:00-UTC - 00:59:00-UTC
      20150219-08:20:41: Created session: FIX.4.2:LIME->CLIENT

      ::::::::::::::
      FIX.4.2-LIME-CLIENT2.event.log
      ::::::::::::::
      20150219-08:20:41: Session FIX.4.2:LIME->CLIENT2 schedule is daily, 05:00:00-UTC - 00:59:00-UTC
      20150219-08:20:41: Created session: FIX.4.2:LIME->CLIENT2
      20150219-12:03:04: Accepting session FIX.4.2:LIME->CLIENT2 from /10.22.75.167:52406
      20150219-12:03:04: Acceptor heartbeat set to 45 seconds
      20150219-12:03:04: Received logon
      20150219-12:03:04: Responding to Logon request
      20150219-12:03:04: Received ResendRequest FROM: 1 TO: infinity
      ...

      However, all the messages in CLIENT2's message log begin appearing in CLIENT's messages log:

      ::::::::::::::
      FIX.4.2-LIME-CLIENT.messages.log
      ::::::::::::::
      8=FIX.4.2|9=103|35=A|34=1|49=CLIENT2|52=20150219-12:03:04.175|56=LIME|98=0|108=45|553=USER2|554=DROPCOPY|10=165|
      8=FIX.4.2|9=71|35=A|34=5998|49=LIME|52=20150219-12:03:04.185|56=CLIENT2|98=0|108=45|10=117|
      8=FIX.4.2|9=65|35=2|34=2|49=CLIENT2|52=20150219-12:03:04.697|56=LIME|7=1|16=0|10=032|

      ::::::::::::::
      FIX.4.2-LIME-CLIENT2.messages.log
      ::::::::::::::
      8=FIX.4.2|9=103|35=A|34=1|49=CLIENT2|52=20150219-12:03:04.175|56=LIME|98=0|108=45|553=USER2|554=DROPCOPY|10=165|
      8=FIX.4.2|9=71|35=A|34=5998|49=LIME|52=20150219-12:03:04.185|56=CLIENT2|98=0|108=45|10=117|
      8=FIX.4.2|9=65|35=2|34=2|49=CLIENT2|52=20150219-12:03:04.697|56=LIME|7=1|16=0|10=032|

      This only begin happening today. Here is the configuration:
      [DEFAULT]
      ConnectionType=acceptor
      ReconnectInterval=60
      SenderCompID=LIME
      FileStorePath=fixstore-[4]-2015-02-19/
      FileLogPath=fixlogs-[4]-2015-02-19/
      ValidateFieldsOutOfOrder=N
      ValidateFieldsHaveValues=N
      ValidateIncomingMessage=N
      AllowUnknownMsgFields=Y
      UseDataDictionary=Y
      StartTime=05:00:00
      EndTime=00:59:00
      BeginString=FIX.4.2
      SocketAcceptPort=9003
      SocketReuseAddress=Y
      ValidateUserDefinedFields=N
      PersistMessages=Y
      CheckLatency= Y

      [SESSION]
      TargetCompID=CLIENT2
      CheckPassword=Y
      Password=PASS

      [SESSION]
      TargetCompID=CLIENT
      CheckPassword=Y
      Password=PASS

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rwebb Rupert Webb
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: