I’m using OAT 3.02 ADL, Remote Mode
I get a lot of RTK exceptions that reset the module when I use TCP sockets. These exceptions has occurred when:
-
Passing messages to the TCP stack with the ed_SendDataExt function and having these messages accumulate by the stack because of bad network state.
-
When 5 or more TCP open sockets get closed by the remote peer at the same time.
This is part of the trace that shows the exception. I boldfaced some messages that I comment after the trace:
…
16497.303 Trace IP 1 TCP, TcpReadyToSend, MaxLen: 436
16497.395 Trace IP 6 [TCP allow Tx] Too much frame
16497.507 Trace IP 6 [TCP allow Tx] Too much frame
16497.550 Trace IP 9 SendData 2 : 0
16497.562 Trace IP 1 TCP, TcpReadyToSend, MaxLen: 386
16497.618 Trace IP 6 [TCP Manage] Timeout : Retransmit frame 1
16497.624 Trace IP 6 [TCP allow Tx] Try to Retransmit a frame
16497.627 Trace IP 6 [TCP allow Tx] Send retransmit frame
16497.629 Trace IP 6 [TCP allow Tx] Too much frame
16497.674 Trace IP 1 [ed_DialupGetGeneralInformations]
16497.730 Trace IP 6 [TCP allow Tx] Too much frame
16497.839 Trace RTK 1 Except RTK …152 1022e94 18
16497.839 Trace RTK 3 ##Stack
16497.839 Trace RTK 3 Unable to find the string of the remote trace in the file (ID = 5603)
16497.839 Trace RTK 3 Unable to find the string of the remote trace in the file (ID = 5604)
16497.839 Trace RTK 3 Unable to find the string of the remote trace in the file (ID = 5605)
16497.839 Trace RTK 3 Unable to find the string of the remote trace in the file (ID = 5605)
16497.839 Trace RTK 3 Unable to find the string of the remote trace in the file (ID = 5605)
16497.839 Trace RTK 3 Unable to find the string of the remote trace in the file (ID = 5605)
16497.839 Trace RTK 3 Unable to find the string of the remote trace in the file (ID = 5605)
16497.841 Trace IP 6 [TCP allow Tx] Too much frame
16497.953 Trace IP 6 [TCP allow Tx] Too much frame
16498.063 Trace IP 6 [TCP allow Tx] Too much frame
16498.175 Trace IP 6 [TCP allow Tx] Too much frame
16498.286 Trace IP 6 [TCP allow Tx] Too much frame
16498.397 Trace IP 6 [TCP allow Tx] Too much frame
16498.509 Trace IP 6 [TCP allow Tx] Too much frame
16498.620 Trace IP 6 [TCP allow Tx] Too much frame
16498.731 Trace IP 6 [TCP allow Tx] Too much frame
16498.843 Trace IP 6 [TCP allow Tx] Too much frame
16498.954 Trace IP 6 [TCP allow Tx] Too much frame
16499.064 Trace IP 6 [TCP allow Tx] Too much frame
16499.176 Trace IP 6 [TCP allow Tx] Too much frame
16499.287 Trace IP 6 [TCP allow Tx] Too much frame
16499.398 Trace IP 6 [TCP allow Tx] Too much frame
16499.510 Trace IP 6 [TCP allow Tx] Too much frame
16499.621 Trace IP 6 [TCP allow Tx] Too much frame
16499.732 Trace IP 6 [TCP Manage] Timeout : Retransmit frame 2
16499.739 Trace IP 6 [TCP allow Tx] Try to Retransmit a frame
16499.745 Trace IP 6 [TCP allow Tx] there is already 2 frames, not able to do retransmit
16499.750 Trace IP 6 [TCP allow Tx] Try to Retransmit a frame
16499.755 Trace IP 6 [TCP allow Tx] there is already 2 frames, not able to do retransmit
…
The first two messages show how the MaxLen parameter has diminished indicating that messages sent by me are being accumulated by the stack.
The next shows the exception. The module is reset but the traces keep on running.
And then I boldfaced a message that is always present sometimes before, sometimes after the exception and it is displayed almost every 100 ms. I think this is causing the exception.
Any ideas ?
Note: Do you think this just a Remote Mode issue ?