[Quickfix-developers] Already sent ResendRequest ... Not sending another.
Brought to you by:
orenmnero
|
From: Scott H. <sco...@fo...> - 2006-01-02 15:39:36
|
Has anyone encountered problems with the code that was added between 1.9.4 and 1.10.2 that emits the "Not sending another" message? Oren's CVS comment was "fix for stack over flow with recursive next calls. Do not resend if request already exists with same range. Submitted by Caleb Epstein." Note that I'm using QuickFIX/J, but the C++ code is the same. My session started out normally, but (possibly due to an unrelated bug in QFJ socket input) somehow loses a message (#216250) and should have tried to get the counterparty to resend it. But due to an earlier (successful) ResendRequest, the "Not sending another" code kicks in repeatedly (a very bad failure mode -- app gets no new messages yet session appears functional). I see two fixes: (1) modify nextSequenceReset() to call state.setResendRange(0,0) (2) modify the range check in doTargetTooHigh() Any advice? See my events below. The message length error was emitted by quickfix.netty.FIXMessageData.read(). 20051230-13:19:50: Created session 20051230-13:19:50: connection established: net.gleamynode.netty2.Session@191f801 20051230-13:19:54: Initiated logon request 20051230-13:19:54: Received logon response 20051230-13:19:54: MsgSeqNum too high, expecting 197648 but received 197650 20051230-13:19:55: Sent ResendRequest FROM: 197648 TO: 0 20051230-13:19:55: Received SequenceReset FROM: 197648 TO: 197651 2005-12-30 16:07:09,050 Error in message length 20051230-16:07:09: MsgSeqNum too high, expecting 216250 but received 216251 20051230-16:07:09: Already sent ResendRequest FROM: 197648 TO: 0. Not sending another. 20051230-16:07:10: MsgSeqNum too high, expecting 216250 but received 216252 20051230-16:07:10: Already sent ResendRequest FROM: 197648 TO: 0. Not sending another. 20051230-16:07:11: MsgSeqNum too high, expecting 216250 but received 216253 20051230-16:07:11: Already sent ResendRequest FROM: 197648 TO: 0. Not sending another. 20051230-16:07:11: MsgSeqNum too high, expecting 216250 but received 216254 20051230-16:07:11: Already sent ResendRequest FROM: 197648 TO: 0. Not sending another. |