tomp2p/TomP2P

Tomp2pCumulationTCP [ERROR]

Opened this issue · 2 comments

1.Why peer connect to other peer always report the Tomp2pCumulationTCP [ERROR] - exception in decoding TCP, not started decoding.
2.There are 3 peers connected and added file,when the fourth peer connect to the network, the Tomp2pCumulationTCP [ERROR] - OutOfMemroy : Direct buffer memory is reproted. And sometimes, there are Tomp2pCumulationTCP [ERROR] - exception in decoding TCP, Occurred bofore or after started decoding.

  1. This is most likely due to a "connection reset by peer". Since TomP2P
    terminates connections with a RST, you'll see these exceptions.
    Unfortunately in Java, its not possible to filter out those messages.
  2. How big is the file?

On 08/28/2015 03:18 PM, Agony wrote:

1.Why peer connect to other peer always report the Tomp2pCumulationTCP
[ERROR] - exception in decoding TCP, not started decoding.
2.There are 3 peers connected and added file,when the fourth peer
connect to the network, the Tomp2pCumulationTCP [ERROR] - OutOfMemroy :
Direct buffer memory is reproted. And sometimes, there are
Tomp2pCumulationTCP [ERROR] - exception in decoding TCP, Occurred bofore
or after started decoding.


Reply to this email directly or view it on GitHub
#108.

Do you have a testcase where I can reproduce this?