[Paraview] WebSocket Connection lost in ParaviewWeb

Sebastien Jourdain sebastien.jourdain at kitware.com
Mon Jan 20 13:56:53 EST 2014


The web socket forwarding should be handle by Apache at that point and it
seems to be done by Jetty?
In your jetty configuration, the session URL might not be valid when using
Apache as a front-end.

Moreover, which Apache setup did you used? 2.4+ like for the EC2 Amazon
documentation or the old one with the Python module?

Seb


On Mon, Jan 20, 2014 at 9:24 AM, Arya Mazaheri <aryanet at gmail.com> wrote:

> Hi there,
> I've installed ParaviewWeb from source and configured apache to work with
> jetty. I think I've done every configuration according to the tutorials.
> But everytime I try to open DataProber application I face with the
> following error in Jetty console output:
>
> Jan 20, 2014 7:50:18 PM
>> com.kitware.paraviewweb.websocket.WebSocketForwarder onOpen
>> INFO: null
>> java.util.concurrent.ExecutionException: java.net.ConnectException:
>> Connection refused
>>     at
>> org.eclipse.jetty.websocket.WebSocketClient$WebSocketFuture.get(WebSocketClient.java:569)
>>     at
>> org.eclipse.jetty.websocket.WebSocketClient$WebSocketFuture.get(WebSocketClient.java:372)
>>     at
>> com.kitware.paraviewweb.websocket.WebSocketForwarder.onOpen(WebSocketForwarder.java:54)
>>     at
>> org.eclipse.jetty.websocket.WebSocketConnectionRFC6455.onWebSocketOpen(WebSocketConnectionRFC6455.java:425)
>>     at
>> org.eclipse.jetty.websocket.WebSocketServletConnectionRFC6455.handshake(WebSocketServletConnectionRFC6455.java:60)
>>     at
>> org.eclipse.jetty.websocket.WebSocketFactory.upgrade(WebSocketFactory.java:309)
>>     at
>> org.eclipse.jetty.websocket.WebSocketFactory.acceptWebSocket(WebSocketFactory.java:382)
>>     at
>> org.eclipse.jetty.websocket.WebSocketHandler.handle(WebSocketHandler.java:43)
>>     at
>> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
>>     at org.eclipse.jetty.server.Server.handle(Server.java:365)
>>     at
>> org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:485)
>>     at
>> org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:926)
>>     at
>> org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:988)
>>     at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635)
>>     at
>> org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
>>     at
>> org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
>>     at
>> org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)
>>     at
>> org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
>>     at
>> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
>>     at
>> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
>>     at java.lang.Thread.run(Thread.java:701)
>> Caused by: java.net.ConnectException: Connection refused
>>     at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>>     at
>> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:597)
>>     at
>> org.eclipse.jetty.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:628)
>>     at
>> org.eclipse.jetty.io.nio.SelectorManager$1.run(SelectorManager.java:290)
>>     ... 3 more
>>
>
> In the firebug, I see the following error:
> Connection lost - retrying (1) ..
>
> Any ideas?
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140120/e83c9241/attachment.html>


More information about the ParaView mailing list