Hi Raúl,

Tried that  and this is what I am seeing

08:08:15:763402 ReConnectRequest(ver=0, zxid=1675037913392, timeout=808989489, 
session=0x3330373600010000, readonly=False, client=95.154.222.85:49690)
08:08:25:826077 ReConnectRequest(ver=0, zxid=1679332880688, timeout=808989489, 
session=0x3330373600010000, readonly=False, client=95.154.222.85:60743)
08:08:35:877508 ReConnectRequest(ver=0, zxid=1683627847984, timeout=808989489, 
session=0x3330373600010000, readonly=False, client=95.154.222.85:57305)
08:08:45:916522 ReConnectRequest(ver=0, zxid=1687922815280, timeout=808989489, 
session=0x3330373600010000, readonly=False, client=95.154.222.85:53599)
08:08:55:977237 ReConnectRequest(ver=0, zxid=1692217782576, timeout=808989489, 
session=0x3330373600010000, readonly=False, client=95.154.222.85:50212)

Thanks

Daniel
-----Original Message-----
From: Raúl Gutiérrez Segalés [mailto:[email protected]] 
Sent: 27 March 2016 06:52
To: [email protected]
Subject: Re: java.io.IOException: Unreasonable length

Hi,

On 26 March 2016 at 20:06, Daniel Niasoff <[email protected]> wrote:

> Hi,
>
> I am trying to use Zookeeper to receive logs from a proxy.
>
> But all I get in the log lines are
>
> 2016-03-27 03:05:17,155 [myid:] - WARN  [NIOServerCxn.Factory:
> 0.0.0.0/0.0.0.0:2181:NIOServerCnxn@362] - Exception causing close of 
> session 0x0 due to java.io.IOException: Unreasonable length = 65536000
> 2016-03-27 03:05:27,234 [myid:] - WARN  [NIOServerCxn.Factory:
> 0.0.0.0/0.0.0.0:2181:NIOServerCnxn@362] - Exception causing close of 
> session 0x0 due to java.io.IOException: Unreasonable length = 65536000
> 2016-03-27 03:05:37,313 [myid:] - WARN  [NIOServerCxn.Factory:
> 0.0.0.0/0.0.0.0:2181:NIOServerCnxn@362] - Exception causing close of 
> session 0x0 due to java.io.IOException: Unreasonable length = 65536000
> 2016-03-27 03:05:47,377 [myid:] - WARN  [NIOServerCxn.Factory:
> 0.0.0.0/0.0.0.0:2181:NIOServerCnxn@362] - Exception causing close of 
> session 0x0 due to java.io.IOException: Unreasonable length = 65536000
> 2016-03-27 03:05:58,448 [myid:] - WARN  [NIOServerCxn.Factory:
> 0.0.0.0/0.0.0.0:2181:NIOServerCnxn@362] - Exception causing close of 
> session 0x0 due to java.io.IOException: Unreasonable length = 65536000
> 2016-03-27 03:06:08,490 [myid:] - WARN  [NIOServerCxn.Factory:
> 0.0.0.0/0.0.0.0:2181:NIOServerCnxn@362] - Exception causing close of 
> session 0x0 due to java.io.IOException: Unreasonable length = 65536000
>
> What can be causing this.
>
> I have had this setup working in the past.
>
> Thanks
>

Hmm, 65mb reqs sounds unlikely so they could be malformed packets. Maybe try 
sniffing requests with zktraffic [0]? i.e.:

$ sudo pip install zktraffic
$ sudo zk-dump --iface eth0 --include-pings --unpaired


-rgs

[0] https://github.com/twitter/zktraffic

Reply via email to