Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Default
-
Resolution: Not a bug
-
Affects Version/s: 1.3.1
-
Fix Version/s: None
-
Component/s: Engine
-
Labels:None
-
Environment:JDK 1.6, Windows, Java
Description
Using a quickfix initiator, logging on to another FIX gateway (for the first time), where the logon is rejected for some reason, while the target gateway sends a logout message with 58=The Reason, this is not passed to the fromAdmin method. The connection is simply dropped without any way for the client application to display the reason.
While the onLogout event is called, this of course does not contain the message and therefore no reason can be extracted. Only looking at the fix message logs and examining the fix message can one tell why the logon was rejected.
If a session is previously established, and the target gateway sends a logout message, in this case the message is received on the fromAdmin and the client can display the reason.
Can you be more specific about the scenario where this occurs? Generally, an incoming logout message should always be provided to the fromAdmin callback. Are you sure the counterparty wasn't just dropping the connection?