Sending OrderSingle Message Failed and looking for help #875
Unanswered
x-leviathan
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Without event logs from the time of the occurrence it is very hard to help you I'm afraid. From the information you provided it sounds a little like one connection went down. Or are session A and B sending to the same host? I don't know how your application is composed. Where are the messages before you hand them over to QFJ? One advice I always give in such scenarios: before restarting the service, take a thread dump. That way one could tell if there really is a deadlock. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Version & Config: quickfixj 2.3.1 with config
HeartBtInt=30
;EnabledProtocols=TLSv1.2
;ProxyType=HTTP
;SocketUseSSL=Y
Background: One of our sessions (Session A) failed to send an OrderSingle message to the target, while at the same time, Session B was able to successfully send an OrderSingle message to the target. We conducted some analysis and suspected that there might be a deadlock inside
Session.sendToTarget(Message, SessionID)
or SSL errors, but we have been unable to identify the cause. Below are some specific details. Could the community assist us on the issue?quickfix.Session#sendRaw
method, at Line 2630, theapplication.toApp(message, sessionID)
is called. It is apparent that the program did not reach this line, so I suspect there might be a deadlock occurring in the sendRaw method?(35=0, 34=705, 49=ME, 56=CPTY)
, and immediately received a fromAdmin message(35=0, 34=706, 49=CPTY, 56=ME)
. However, at 13:21:40, there was only a toAdmin message(35=0, 34=706, 49=ME, 56=CPTY)
, with no corresponding fromAdmin message. In contrast, for Session B, the heartbeat messages consistently show fromAdmin and toAdmin logs every 30 seconds, both before and after the restart.SslFilter: 628 ...
,SslFilter: 496 ...
,SslHandler: 345 ...
,SslFilter: 792 ...
,ProtocolCodecFilter: 233 ...
,FIXMessageDecoder: 142 ...
, etc. However, after the toAdmin message at 13:21:40, only one entry,SslFilter: 628 ...
was logged. It seems like SSL errors?Beta Was this translation helpful? Give feedback.
All reactions