-
Notifications
You must be signed in to change notification settings - Fork 655
Description
Describe the bug
Our client (initiator) connects to us via SSL and and sends us a huge influx of messages, during this influx of messages we see that 2 messages are printed concatenated as a single message in messages.log, earlier we thought that this is just a issue where messages are printed as concatenated but we saw that only one message was processed and other was ignored, an instance from message.log:
20250627-07:00:52.28820250627-07:00:52.288: : 8=FIXT.1.1�9=397�35=J�34=18500�49=XXXX�52=20250627-07:00:52.229......8=FIXT.1.1�9=384�35=J�34=18501�49=XXXX�52=20250627-07:00:52.229�56=XXXX�6=13.008�15=XXX�22=2..
I have trimmed messages as these are client specific.
Here we can see two issues:
- Date is concatenated 20250627-07:00:52.28820250627-07:00:52.288
- Messages with sequence id 18500, 18501 are concatenated.
These are the event logs:
20250627-07:00:58.060: MsgSeqNum too high, expecting 18500 but received 18501
because of which huge number of messages are replayed, as messages are pushed from client which are then cached.
The main problem is that we are not able to identify why 2 messages are getting clubbed.
on similar lines issue was reported where a message was duplicated but client sent messages correctly in order:
20250730-09:01:45.449: 8=FIXT.1.1�9=392�35=J�34=90813�49=XXXX10=016� 20250730-09:01:45.449: 8=FIXT.1.1�9=392�35=J�34=90813�49=XXXX1010=016�
This caused a MsgSeqNumTooLow which triggered a logout.
We are suspecting it's either Apache mina or FixMessageDecoder that is causing this issue.
I was trying to find reference on any other ticket mentioning same issue, but couldn't find anything. Any help is deeply appreciated as this has caused huge problems.
To Reproduce
Don't know how to reproduce :(
Expected behaviour
Expected behaviour is that each message should have been processed separately, no message should have been missed.
system information:
- OS: Linux
- Java version JDK8
- QFJ Version1.5.2