# Error in socket processing : client-server

**URL:** https://discourse.paraview.org/t/error-in-socket-processing-client-server/5328
**Category:** ParaView Support
**Created:** [September 13, 2020, 5:23pm UTC](https://discourse.paraview.org/t/error-in-socket-processing-client-server/5328 "2020-09-13T17:23:16Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![sthavishtha](https://discourse.paraview.org/user_avatar/discourse.paraview.org/sthavishtha/32/4166_2.png) [@sthavishtha](https://discourse.paraview.org/u/sthavishtha)
#### Post date: [September 13, 2020, 5:23pm UTC](https://discourse.paraview.org/t/error-in-socket-processing-client-server/5328/1 "2020-09-13T17:23:16Z")

</div>

Hello everyone

I am trying to visualize the files on my cluster using Paraview on the client side (both use Paraview 5.4.0 version). On the client side, I use the binary version of Paraview. It unfortunately gives me a socket connection error, attached. I have tried several ways (discussed in this forum), but to no vain.

On the cluster :  
srun --nodes=1 --time=00:30:00 --pty bash  
mpirun -n 1 pvserver --use-offscreen-rendering -sp=26005 # port = 26005 (available, checked via netstat)

Displays :  
Waiting for client…  
Connection URL: cs://brown-a278.rcac.purdue.edu:26005  
Accepting connection(s): brown-a278.rcac.purdue.edu:26005

On the client side, my server configuration says :  
Server type : client/server  
Host : brown-a278.rcac.purdu.edu (have also tried brown.rcac.purdue.edu, doesn’t work)  
port : 26005

[error.txt](https://discourse.paraview.org/uploads/short-url/dkC2IlVZ2Rd5EW2HIEkuBNwNmP7.txt) (45.0 KB)

Thanks  
Sthavishtha

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [September 14, 2020, 7:26am UTC](https://discourse.paraview.org/t/error-in-socket-processing-client-server/5328/2 "2020-09-14T07:26:59Z")

</div>

Are you absolutely sure that you are using the same version on both sides ?

---

<div class="post-metadata">

### Author: ![patchett2002](https://discourse.paraview.org/user_avatar/discourse.paraview.org/patchett2002/32/235_2.png) [@patchett2002](https://discourse.paraview.org/u/patchett2002)
#### Post date: [September 14, 2020, 2:40pm UTC](https://discourse.paraview.org/t/error-in-socket-processing-client-server/5328/3 "2020-09-14T14:40:41Z")

</div>

This looks like a version mismatch to me as well. It would be really convenient if in future versions of ParaView we had the pvserver dump its version to stdout when getting called. We have this type of issue frequently and we have had to set up a more extravagent system of maintaining diagnostic data from the automated client server connection. It does seem that 90% of the problems are version mismatches we ParaView could do a better job of reporting, or at least dropping clues.

---

<div class="post-metadata">

### Author: ![Ethan\_Stam](https://discourse.paraview.org/user_avatar/discourse.paraview.org/ethan_stam/32/2520_2.png) [@Ethan\_Stam](https://discourse.paraview.org/u/Ethan_Stam)
#### Post date: [September 14, 2020, 2:41pm UTC](https://discourse.paraview.org/t/error-in-socket-processing-client-server/5328/4 "2020-09-14T14:41:29Z")

</div>

This issue seems related: [https://gitlab.kitware.com/paraview/paraview/-/issues/18171](https://gitlab.kitware.com/paraview/paraview/-/issues/18171)

---

<div class="post-metadata">

### Author: ![sthavishtha](https://discourse.paraview.org/user_avatar/discourse.paraview.org/sthavishtha/32/4166_2.png) [@sthavishtha](https://discourse.paraview.org/u/sthavishtha)
#### Post date: [September 14, 2020, 3:42pm UTC](https://discourse.paraview.org/t/error-in-socket-processing-client-server/5328/5 "2020-09-14T15:42:29Z")

</div>

I am not sure if its because of the version mismatch - On the client side, I use Paraview 5.4.0 (binary distribution) while on the server side (cluster), the same version has been installed, see the screenshot below. Maybe, the one on the cluster has been built differently - is there any way for me to check this?

![image](https://discourse.paraview.org/uploads/default/original/2X/5/50adfd80c7335f4ec00fe4212cb5841306dc17fc.png)

I also tried using a pvsc file to see if I can avoid this problem following this [link](https://paraview.paraview.narkive.com/xwnvIq23/fwd-not-being-able-to-connect-to-pvserver#post8). But, that too doesn’t work and I get this error :

```
ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_superbuild/source-paraview/ParaViewCore/ClientServerCore/Core/vtkTCPNetworkAccessManager.cxx, line 413
vtkTCPNetworkAccessManager (0x1740600): 
**********************************************************************
Connection failed during handshake. This can happen for the following reasons:
 1. Connection dropped during the handshake.
 2. vtkSocketCommunicator::GetVersion() returns different values on the
    two connecting processes (Current value: 100).
 3. ParaView handshake strings are different on the two connecting
    processes (Current value: paraview.5.4.renderingbackend.opengl2).
********************************************************************** 

```

As a sidenote, establishing a client-server connection used to formerly work in the server of my former institution, but I no longer have access to that. Hence, I have to use the current server and paraview installed on that only.
