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:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@197]
- Accepted socket connection from /10.0.2.2:53159
INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@868] -
Client attempting to establish new session at /10.0.2.2:53159
INFO  [SyncThread:0:ZooKeeperServer@617] - Established session
0x14dd817fa700010 with negotiated timeout 20000 for client /10.0.2.2:53159
WARN  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@357] -
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
org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:208)
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

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