[Paraview] Client-Server Handshake failed

Ryan Abernathey ryan.abernathey at gmail.com
Tue Jul 17 13:28:47 EDT 2012


Hello,

I am trying to establish a connection between my workstation (Mac OS
10.7.4, Paraview via binary installer version 3.14.1 64-bit) and a remote
server. On the server side, I built an mpi-enabled paraview from scratch,
following the instructions on the wiki, but using the intel compiler
(2012.0.032) and the SGI MPI library (mpi-sgi/mpt.2.04.10789). This was no
small task, but as far as I can tell, the build was completely successful.
The server version is 3.14.1-1217-g611f58e.

The essence of the problem is a "Client/server version hash mismatch"
error, which paraview suggests is due to mismatched versions. However, my
client and server versions the same. Below is a detailed description of the
problem. I have invested a lot of time in this so far and now very
frustrated to be stuck. I sincerely appreciate any help you can offer.

Best Regards,
Ryan Abernathey



DETAILS

The server nodes are behind a front-end node, so I have to use ssh
tunneling. Following the wiki instructions (
http://paraview.org/Wiki/Reverse_connection_and_port_forwarding#A_Forward_Connection_Over_an_ssh_Tunnel)
I am able to establish an ssh tunnel for a forward connection. I have
verified that the client on my local host is able to open a connection to
the server. The steps I take are:
1) Run an interactive PBS job to to get a compute node.
2) Knowing the host name of the compute node, I establish an ssh tunnel
from my workstation like this:
[LOCAL_WORKSTATION]$ ssh -v -L 11111:COMPUTE_NODE:22222 FRONT_END_HOST -N
3) Then I start the paraview server on the host
[COMPUTE_NODE]$ mpiexec pvserver --server-port=22222
4) Finally, I connect to the server from my workstation using the paraview
client GUI. The settings are Server Type: Client / Server; Host: localhost;
Port: 11111.

Since I used a verbose SSH tunnel, I can verify that the tunnel is working:
debug1: Connection to port 11111 forwarding to COMPUTE_NODE port 22222
requested.
debug1: channel 2: new [direct-tcpip]
debug1: channel 2: free: direct-tcpip: listening port 11111 for r211i0n0
port 22222, connect from 127.0.0.1 port 58973, nchannels 3
(I have to admit that I don't understand what the last line means.)

This is where the errors start. On the server side, I see:
Waiting for client...
Connection URL: cs://COMPUTE_NODE:22222
Accepting connection(s): COMPUTE_NODE:22222
ERROR: In
/u/rpaberna/paraview/src/ParaView/VTK/Parallel/Core/vtkSocketCommunicator.cxx,
line 506
vtkSocketCommunicator (0x1b2d2d0): Client/server version hash mismatch.


On the client side, I see:
ERROR: In
/Source/ParaView/release/ParaView/VTK/Parallel/vtkSocketCommunicator.cxx,
line 615
vtkSocketCommunicator (0x115f85830): Client/server version hash mismatch.


ERROR: In
/Source/ParaView/release/ParaView/ParaViewCore/ClientServerCore/vtkTCPNetworkAccessManager.cxx,
line 321
vtkTCPNetworkAccessManager (0x10c655f20): Failed to connect to
localhost:11111. Client-Server Handshake failed. Please verify that the
client and server versions are compatible with each other


ERROR: In
/Source/ParaView/release/ParaView/ParaViewCore/ServerManager/vtkSMSessionClient.cxx,
line 257
vtkSMSessionClient (0x11650da80): Some error in socket processing.


The connection fails.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120717/233c7085/attachment-0001.htm>


More information about the ParaView mailing list