zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincenzo D'Amore" <v.dam...@gmail.com>
Subject VPN Zookeeper client connection
Date Tue, 09 Jun 2015 12:30:59 GMT
Hi all,

I'm unable to upload a file into a zookeeper instance running behind a VPN.

As far as I understood, after the first connection to client port 2181,
there is a second connection from client to server to a random port which
is dynamically assigned by zookeeper server.

INFO  [NIOServerCxn.Factory:]
- Accepted socket connection from /
INFO [NIOServerCxn.Factory:] -
Client attempting to establish new session at /
INFO  [SyncThread:0:ZooKeeperServer@617] - Established session
0x14dd817fa700010 with negotiated timeout 20000 for client /
WARN  [NIOServerCxn.Factory:] -
caught end of stream exception
EndOfStreamException: Unable to read additional data from client sessionid
0x14dd817fa700010, likely client has closed socket
at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:228)
at java.lang.Thread.run(Thread.java:745)

53159 port is unreachable from outside, because it is random and cannot be
mapped to VPN access rules.

Is there a way to workaround this problem?
May I define a static port or a port range for the second connection?

Vincenzo D'Amore
email: v.damore@gmail.com
skype: free.dev
mobile: +39 349 8513251

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message