Archived

This forum has been archived. Please start a new discussion on GitHub.

BadMagicException and Crash, Is TCP lost data?

Hi,All

I Have 3 ICE(ice 3.4.1 windows server 2008) Apps in a same computer, App1 invoke App2 and App2 transmit to App3.

But some time late, maybe 1 day, maybe 2 days, App3 will crash. the LOG as below:

LOG of App1:

......


LOG of App2:

......

23:29:12.717 T17560 ICELOG: (Protocol) received request
message type = 0 (request)
compression status = 0 (not compressed; do not compress response, if any)
message size = 272237
request id = 94012
identity = Interface1
facet =
operation = Function1
mode = 0 (normal)
context =

23:29:12.723 T17560 INTERFACE Interface1::Function1 BEGIN

23:29:12.729 T17560 ICELOG: (Protocol) sending request
message type = 0 (request)
compression status = 0 (not compressed; do not compress response, if any)
message size = 272237
request id = 1917
identity = Interface1
facet =
operation = Function1
mode = 0 (normal)
context =

23:29:12.734 T20188 ERROR PulginLgger.h `anonymous-namespace'::MyLoggerI::warning(38) ICELOG: connection exception:
TcpTransceiver.cpp:408: Ice::ConnectionLostException: connection lost
local address = 172.16.129.26:10611
remote address = 172.16.129.26:10006

23:29:12.734 T20188 ICELOG: (Network) closing tcp connection
local address = 172.16.129.26:10611
remote address = 172.16.129.26:10006

23:29:12.735 T17560 ERROR caught unhandled Ice exception:TcpTransceiver.cpp:408: Ice::ConnectionLostException: connection lost

23:29:12.735 T17560 INTERFACE Interface1::Function1 END

23:29:12.736 T17560 ICELOG: (Protocol) sending reply
message type = 2 (reply)
compression status = 0 (not compressed; do not compress response, if any)
message size = 30
request id = 94012
reply status = 0 (ok)

......



LOG of App3:

......

23:29:12.732 T19924 ICELOG: (Protocol) received request
message type = 0 (request)
compression status = 0 (not compressed; do not compress response, if any)
message size = 272237
request id = 1917
identity = Interface1
facet =
operation = Function1
mode = 0 (normal)
context =

23:29:12.733 T4248 ERROR PulginLgger.h `anonymous-namespace'::MyLoggerI::warning(38) ICELOG: connection exception:
ConnectionI.cpp:1250: Ice::BadMagicException:
unknown magic number: 0x69, 0x39, 0x4e, 0x11
local address = 172.16.129.26:10006
remote address = 172.16.129.26:10611

23:29:12.733 T4248 ICELOG: (Network) closing tcp connection
local address = 172.16.129.26:10006
remote address = 172.16.129.26:10611

23:29:12.739 T19924 INTERFACE Interface1::Function1 BEGIN

23:29:13.370 T19924 ERROR Time Parameter Invalid . nSecond:-1707513529,sMillisecond:-16125 . CRASH!

Comments

  • is tcp lost packet?

    or data error?
  • bye-bye, ICE

    I will give up ICE completely, for it is unstable. I will choose some others. bye-bye ICE, bye-bye ZeroC.