Hi Utkarsh,<div><br></div><div>I guess we've found the problem. The connection was really getting lost in our local network. After tweaking some servers in our lab, the things are now working.</div><div><br></div><div>
Thanks for your help!</div><div><br></div><div>Renato.<br><br><div class="gmail_quote">On Thu, Sep 6, 2012 at 11:58 AM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think that's you first clue. The fact that even telnet cannot<br>
connect back to your client machine/port indicates that something is<br>
either blocking the connection or it's just getting lost in the<br>
network. Does ping "my.ip.external.address" work from the server host?<br>
<br>
Utkarsh<br>
<br>
On Thu, Sep 6, 2012 at 10:03 AM, Renato Elias <<a href="mailto:rnelias@gmail.com">rnelias@gmail.com</a>> wrote:<br>
> Hi Utkarsh,<br>
<div class="HOEnZb"><div class="h5">><br>
> neither an error message I get from pvserver. It just keep waiting for<br>
> connection until exit due to time out... the client stays there with the<br>
> "waiting for server connection" screen open and nothing happens.<br>
><br>
> I'm not familiar with telnet commands but tried the following:<br>
><br>
> telnet> open my.ip.external.address 11111<br>
> Trying my.ip.external.address...<br>
><br>
> and it just hangs trying to connect.<br>
><br>
> The client in this test is a Macbook running Lion. I've tried with the<br>
> firewall open and closed as well.<br>
><br>
> Any more hints?<br>
><br>
> Renato.<br>
><br>
> On Thu, Sep 6, 2012 at 10:46 AM, Utkarsh Ayachit<br>
> <<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>> wrote:<br>
>><br>
>> Renato,<br>
>><br>
>> Here's what I get the server spewing when I run "pvserver --rc"<br>
>> without any client already running:<br>
>><br>
>> ------------------------------<br>
>> Connecting to client (reverse connection requested)...<br>
>> Connection URL: csrc://miranda:11111<br>
>> ERROR: In<br>
>> /home/utkarsh/Kitware/ParaView3/ParaView/VTK/Common/System/vtkSocket.cxx,<br>
>> line 481<br>
>> vtkClientSocket (0xfbc520): Socket error in call to connect. Connection<br>
>> refused.<br>
>><br>
>> ERROR: In<br>
>> /home/utkarsh/Kitware/ParaView3/ParaView/VTK/Common/System/vtkClientSocket.cxx,<br>
>> line 53<br>
>> vtkClientSocket (0xfbc520): Failed to connect to server miranda:11111<br>
>><br>
>> Warning: In<br>
>> /home/utkarsh/Kitware/ParaView3/ParaView/ParaViewCore/ClientServerCore/Core/vtkTCPNetworkAccessManager.cxx,<br>
>> line 302<br>
>> vtkTCPNetworkAccessManager (0x8cdc50): Connect failed. Retrying for<br>
>> 59.9997 more seconds.<br>
>><br>
>> ERROR: In<br>
>> /home/utkarsh/Kitware/ParaView3/ParaView/VTK/Common/System/vtkSocket.cxx,<br>
>> line 481<br>
>> vtkClientSocket (0xfbc520): Socket error in call to connect. Connection<br>
>> refused.<br>
>><br>
>> ERROR: In<br>
>> /home/utkarsh/Kitware/ParaView3/ParaView/VTK/Common/System/vtkClientSocket.cxx,<br>
>> line 53<br>
>> vtkClientSocket (0xfbc520): Failed to connect to server miranda:11111<br>
>> ------------------------------<br>
>><br>
>> Thus if the socket connection failed, it should start reporting error<br>
>> and attempting again. Since the server totally just freezes, even when<br>
>> no client is waiting for it at the other end, I am getting somehow the<br>
>> BSD socket "connect" call is never returning success or failure.<br>
>><br>
>> Try this: from the server node, try to telnet to you client host/port.<br>
>> Does that work?<br>
>><br>
>> Utkarsh<br>
>><br>
>><br>
>> On Thu, Sep 6, 2012 at 9:34 AM, Renato Elias <<a href="mailto:rnelias@gmail.com">rnelias@gmail.com</a>> wrote:<br>
>> > Hi everybody,<br>
>> ><br>
>> > I'd like to understand what is happening with a client-server connection<br>
>> > I'm<br>
>> > trying to create in PV-3.14.1.<br>
>> ><br>
>> > pvserver is running on a SGI Altix ICE compiled with OpenMPI 1.6 and<br>
>> > Mesa<br>
>> > library for offscreen rendering. Everything run smoothly from the<br>
>> > compilation and installation but when I try to connect with a client<br>
>> > (same<br>
>> > version), they can't get connected. The machine runs Torque batch system<br>
>> > but<br>
>> > I certified that pvserver was running after the client. Tests I've done<br>
>> > to<br>
>> > remove some common problems.<br>
>> ><br>
>> > 1). Client and server in the same network<br>
>> ><br>
>> > case a). Server running in the computing nodes under Torque batch<br>
>> > system.<br>
>> > Nothing happens. pvserver just sits with the following message:<br>
>> ><br>
>> > Connecting to client (reverse connection requested)...<br>
>> > Connection URL: csrc://my.client.local.ip:11111<br>
>> ><br>
>> > case b). Server running in the fron-end interactively (launched from<br>
>> > command<br>
>> > line). It would remove problems due to batch system and NAT not running<br>
>> > in<br>
>> > the computing nodes but the same message posted before appears and<br>
>> > nothing<br>
>> > happens.<br>
>> ><br>
>> > In both cases I also did tests with client's firewall turned off with<br>
>> > similar result (nothing happens)<br>
>> ><br>
>> > 2). Client running remotely.<br>
>> ><br>
>> > Same behavior mentioned before.<br>
>> ><br>
>> > The question is: Is there a "verbose mode reverse connection" that could<br>
>> > help me understand what is happening?<br>
>> ><br>
>> > Any help would be appreciated<br>
>> ><br>
>> > Thanks<br>
>> ><br>
>> > --<br>
>> > Renato N. Elias<br>
>> > =============================================<br>
>> > Professor, at Department of Civil Engineering<br>
>> > COPPE/Federal University of Rio de Janeiro<br>
>> > PO Box 68506, Rio de Janeiro, RJ 21945-970, Brazil<br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>> ><br>
>> > Visit other Kitware open-source projects at<br>
>> > <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>> ><br>
>> > Please keep messages on-topic and check the ParaView Wiki at:<br>
>> > <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
>> ><br>
>> > Follow this link to subscribe/unsubscribe:<br>
>> > <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
>> ><br>
><br>
><br>
><br>
><br>
> --<br>
> Renato N. Elias<br>
> =============================================<br>
> Professor, at Department of Civil Engineering<br>
> COPPE/Federal University of Rio de Janeiro<br>
> PO Box 68506, Rio de Janeiro, RJ 21945-970, Brazil<br>
><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Renato N. Elias<div>=============================================</div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Professor, at </span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Department of Civil Engineering</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">COPPE/Federal University of Rio de Janeiro</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">PO Box 68506, Rio de Janeiro, RJ 21945-970, Brazil</span></div><br>
</div>