[QFJ-205] Heartbeat Timeouts in 1.2.0 Created: 03/Jul/07 Updated: 04/Jul/07 Resolved: 04/Jul/07 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | Engine |
Affects Version/s: | 1.2.0 |
Fix Version/s: | 1.2.1 |
Type: | Bug | Priority: | Default |
Reporter: | Thomas Hügel | Assignee: | Steve Bate |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Environment: |
1.2.0, linux |
Attachments: | threaddump.log |
Description |
Hello, after exchanging the 1.1.0 libraries with the 1.2.0 ones all of my connected FIX Session counterparties complain "stale connection" or "hearbeat timeout". The session does not disconnect, but seems somehow to have a problem. The session now look like: inbound: 8=FIX.4.2|9=65|35=0|34=1426|49=xxx|52=20070703-17:39:15|56=xxx|369=1396|10=137| When i changed back to the old libraries, the problem disappears. Best Regards |
Comments |
Comment by Steve Bate [ 03/Jul/07 ] |
Can you provide a thread dump to show what's happening after the missed heartbeat? It sounds like it might be a thread synchronization issue. Synchronization changed a lot in 1.2 so that might be related to the different behavior. |
Comment by Steve Bate [ 04/Jul/07 ] |
Thanks Thomas. I found the problem. One of the heartbeat values was not being set properly in the SessionState (only for initiators). Thanks again for reporting the problem so quickly. |