'Read exception Socket closed during message assembly in TcpNetConnection

Below error is coming while testing on telnet server for tcp protocol in java

Read exception {{ip_address:port}}:ada115aa-4426-415f-b09b-1d333a47ec3f IOException:Socket closed during message assembly in TcpNetConnection class

I have configured one telnet server in java which is working fine in local and dev server with echo messages like string, int and etc

But, Looks like and according to me

When anyone send encoded data in telnet then it's not working

Encoded data sample

0000 02 00 00 00 45 00 00 36 a9 19 40 00 80 06 00 00 0010 c0 a8 01 90 c0 a8 01 90 05 39 ed 7a bb 5a 78 ca 0020 2c 60 16 1e 50 18 27 f9 ff d5 00 00 6d 69 6c 61 0030 6e 20 67 61 64 6f 79 61 0d 0a

Can any one help for the same ?

comment encoded data picture



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source