[QFJ-16] Logon Timeout defaults to 0 Created: 26/May/06 Updated: 02/Sep/06 Resolved: 26/May/06 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | None |
Affects Version/s: | 1.0.0 Final |
Fix Version/s: | 1.0.1 |
Type: | Bug | Priority: | Major |
Reporter: | Brad Harvey | Assignee: | Steve Bate |
Resolution: | Fixed | Votes: | 0 |
Labels: | None |
Issue Links: |
|
Description |
We were getting many timeouts while waiting for logon confirm when initially starting quickfix/j immediately after sending the logon. As far as I could tell it was defaulting to 0. To work around we set the LogonTimeout session setting to 10 explicitly. |
Comments |
Comment by Brad Harvey [ 26/May/06 ] |
Here's a log: 15:53:07,707 INFO [outgoing] FIX.4.4:CL1_FIX44->ASX: 8=FIX.4.4☺9=81☺35=A☺34=1☺4 9=CL1_FIX44☺52=20060526-05:53:07.607☺56=ASX☺98=0☺108=600☺141=Y☺7953=Y☺10=046☺ 15:53:07,787 INFO [event] FIX.4.4:CL1_FIX44->ASX: Initiated logon request 15:53:08,378 INFO [event] FIX.4.4:CL1_FIX44->ASX: Timed out waiting for logon response 15:53:08,378 INFO [event] FIX.4.4:CL1_FIX44->ASX: Disconnecting |
Comment by Steve Bate [ 26/May/06 ] |
The timeout defaults were not being set in SessionState. I'm added the defaults for login (10 seconds) and logout (2 seconds) and a related unit test. Thanks again for the report. |
Comment by Colin Ruthven [ 01/Jun/06 ] |
Curiously, when testing through my vendor's gateway tunnel (for encryption via internet) the session would drop every 10 minutes or less. It would reconnect and carry on. Then it would drop again, etc. I set the option in the config file and the problem went away. |