<div dir="ltr"><div><div><div><div>Hello Sebastien<br><br></div>Thank you for the very quick reply.<br><br></div>I am following this document: <a href="http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/#!/guide/ubuntu_14_04">http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/#!/guide/ubuntu_14_04</a><br>
<br></div>I am using paraview version 4.1.0.<br><br></div>I get the same result if I go directly to port 8080. I am running in debug mode but I am not seeing anything at all helpful. Firebug shows me:<br><br><div selected class="">
<pre><code class="">{"id": "103b792a-f6ee-11e3-b1d5-14feb5ee4ae2", "host": "<a href="http://paraview.domain.ca">paraview.domain.ca</a>", "port": 9103, "sessionManagerURL"</code><code class="">: <br>
"<a href="http://paraview.domain.ca:8080/paraview/">http://paraview.domain.ca:8080/paraview/</a>", "sessionURL": <br>"ws://<a href="http://paraview.domain.ca/proxy?sessionId">paraview.domain.ca/proxy?sessionId</a></code><code class="">=103b792a-f6ee-11e3-b1d5-14feb5ee4ae2"}</code></pre>
</div>Followed by:<br><br><span class=""><div class=""><span class="">Firefox
 can't establish a connection to the server at 
ws://<a href="http://paraview.mcmaster.ca/proxy?sessionId=103b792a-f6ee-11e3-b1d5-14feb5ee4ae2">paraview.mcmaster.ca/proxy?sessionId=103b792a-f6ee-11e3-b1d5-14feb5ee4ae2</a>.<br><br></span></div><div class=""><span class="">My Apache config is as follows:<br>
<br><VirtualHost *:80><br>      ServerAlias   <a href="http://paraview.domain.ca">paraview.domain.ca</a><br>      ServerAdmin  <a href="mailto:webmaster@domain.ca">webmaster@domain.ca</a><br>      DocumentRoot /data/pvw/www<br>
<br>      ErrorLog /data/logs/error.log<br>      CustomLog /data/logs/access.log combined<br><br>      # Handle launcher forwarding<br>      ProxyPass /paraview <a href="http://dragonfly.domain.ca:8080/paraview">http://dragonfly.domain.ca:8080/paraview</a><br>
     <br>      # Handle WebSocket forwarding<br>      RewriteEngine On<br>      RewriteMap  session-to-port  txt:/data/proxy.txt<br>      RewriteCond %{QUERY_STRING}  ^sessionId=(.*)$               [NC]<br>      RewriteRule ^/proxy.*$       ws://${session-to-port:%1}/ws  [P]<br>
<br>        <Directory "/data/pvw/www"><br>        Options Indexes FollowSymLinks<br>        Order allow,deny<br>        Allow from all<br>        AllowOverride all<br>        Require all granted<br>        </Directory><br>
<br></VirtualHost><br><br></span></div><div class=""><span class="">And the launcher.py config file:<br></span><br></div></span>{"configuration":<br>        {"content":<br>                "/data/pvw/www",<br>
                "log_dir": "/data/pvw/logs",<br>                "host": "192.168.1.110",<br>                "endpoint": "paraview",<br>                "sessionURL": "ws://<a href="http://paraview.domain.ca:8080/">paraview.domain.ca:8080/</a>",<br>
                "timeout": 5,<br>                "upload_dir": "/data/pvw/data",<br>                "fields": ["file", "host", "port", "updir"], "port": 8080,<br>
                "proxy_file": "/data/pvw/conf/proxy.conf"},<br>                "apps": {"data_prober": {"cmd": ["${python_exec}",<br>                "${python_path}/paraview/web/pv_web_data_prober.py", "--port", "${port}", "--data-dir", "${data}"]},<br>
                "pipeline": {"cmd": ["${python_exec}",<br>                "${python_path}/paraview/web/pv_web_visualizer.py",<br>                "--port", "${port}", "--data-dir", "${data}"]},<br>
                "loader": {"cmd": ["${python_exec}",<br>                "${python_path}/paraview/web/pv_web_file_loader.py",<br>                "--port", "${port}",  "--data-dir", "${data}"] }<br>
},<br>        "properties":<br>                {"python_path": "/data/pvw/paraview/lib/paraview-4.1/site-packages/",<br>                "data": "/data/pvw/data",<br>                "python_exec": "/data/pvw/paraview/bin/pvpython"<br>
                },<br>        "resources":<br>                [{"port_range": [9001, 9003], "host": "192.168.1.110"}], "sessionData": {"updir": "/Home"}<br>
                }<br><br><div class="gmail_extra"><br></div><div class="gmail_extra">One thing I've noticed is that different config files show either ${data} or ${dataDIR} but I do not see these variables defined anywhere.<br>
<br></div><div class="gmail_extra">But other than that, I'm stumped.<br><br></div><div class="gmail_extra">Thanks, once more, for your help.<br><br></div><div class="gmail_extra">Sean.<br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Jun 17, 2014 at 3:35 PM, Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I'm not sure to understand that error either.</div><div><br>
</div><div>Which setup did you followed? Which version of ParaView are you using? (release/master)</div><div><br></div><div>
Did you try with a direct connection without apache in the middle? Does that work?</div><div><br></div><div>If so what is your apache setup and launcher.py configuration file?</div><div><br></div><div>Any guidance on your setup may help.</div>

<div><br></div><div>Seb</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Tue, Jun 17, 2014 at 12:21 PM, CLSA Mcmaster <span dir="ltr"><<a href="mailto:clsamcmaster@gmail.com" target="_blank">clsamcmaster@gmail.com</a>></span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div>Hello<br><br></div>I feel I am very close to getting this but I need some help.<br>
<br></div>
I am using Paraview with Python and an Apache front end with proxying. My logs show as follows:<br>
<br>[Tue Jun 17 14:18:34.353847 2014] [proxy:debug] [pid 5840] proxy_util.c(2035): AH00943: http: has released connection for (<a href="http://dragonfly.domain.ca" target="_blank">dragonfly.domain.ca</a>)<br>[Tue Jun 17 14:18:34.353905 2014] [deflate:debug] [pid 5840] mod_deflate.c(764): [client <a href="http://192.168.1.9:45352" target="_blank">192.168.1.9:45352</a>] AH01384: Zlib: Compressed 246 to 151 : URL /paraview/, referer: <a href="http://paraview.domain.ca/apps/FileViewer/" target="_blank">http://paraview.domain.ca/apps/FileViewer/</a><br>


[Tue Jun 17 14:18:34.366482 2014] [authz_core:debug] [pid 5843] mod_authz_core.c(828): [client <a href="http://192.168.1.9:45354" target="_blank">192.168.1.9:45354</a>] AH01628: authorization result: granted (no directives)<br>

[Tue Jun 17 14:18:34.366557 2014] [proxy:debug] [pid 5843] mod_proxy.c(1104): [client <a href="http://192.168.1.9:45354" target="_blank">192.168.1.9:45354</a>] AH01143: Running scheme ws handler (attempt 0)<br>
[Tue Jun 17 14:18:34.366566 2014] [proxy_ajp:debug] [pid 5843] mod_proxy_ajp.c(708): [client <a href="http://192.168.1.9:45354" target="_blank">192.168.1.9:45354</a>] AH00894: declining URL ws://<a href="http://192.168.1.110:9103/ws?sessionId=c83abd36-f64b-11e3-b1d5-14feb5ee4ae2" target="_blank">192.168.1.110:9103/ws?sessionId=c83abd36-f64b-11e3-b1d5-14feb5ee4ae2</a><br>


[Tue Jun 17 14:18:34.366577 2014] [proxy_http:debug] [pid 5843] mod_proxy_http.c(1892): [client <a href="http://192.168.1.9:45354" target="_blank">192.168.1.9:45354</a>] AH01113: HTTP: declining URL ws://<a href="http://192.168.1.110:9103/ws?sessionId=c83abd36-f64b-11e3-b1d5-14feb5ee4ae2" target="_blank">192.168.1.110:9103/ws?sessionId=c83abd36-f64b-11e3-b1d5-14feb5ee4ae2</a><br>


[Tue Jun 17 14:18:34.366583 2014] [proxy_wstunnel:debug] [pid 5843] mod_proxy_wstunnel.c(331): [client <a href="http://192.168.1.9:45354" target="_blank">192.168.1.9:45354</a>] AH02451: serving URL ws://<a href="http://192.168.1.110:9103/ws?sessionId=c83abd36-f64b-11e3-b1d5-14feb5ee4ae2" target="_blank">192.168.1.110:9103/ws?sessionId=c83abd36-f64b-11e3-b1d5-14feb5ee4ae2</a><br>


[Tue Jun 17 14:18:34.366590 2014] [proxy:debug] [pid 5843] proxy_util.c(2020): AH00942: WS: has acquired connection for (*)<br>[Tue Jun 17 14:18:34.366596 2014] [proxy:debug] [pid 5843] proxy_util.c(2072): [client <a href="http://192.168.1.9:45354" target="_blank">192.168.1.9:45354</a>] AH00944: connecting ws://<a href="http://192.168.1.110:9103/ws?sessionId=c83abd36-f64b-11e3-b1d5-14feb5ee4ae2" target="_blank">192.168.1.110:9103/ws?sessionId=c83abd36-f64b-11e3-b1d5-14feb5ee4ae2</a> to <a href="http://192.168.1.110:9103" target="_blank">192.168.1.110:9103</a><br>


[Tue Jun 17 14:18:34.366665 2014] [proxy:debug] [pid 5843] proxy_util.c(2206): [client <a href="http://192.168.1.9:45354" target="_blank">192.168.1.9:45354</a>] AH00947: connected /ws?sessionId=c83abd36-f64b-11e3-b1d5-14feb5ee4ae2 to <a href="http://192.168.1.110:9103" target="_blank">192.168.1.110:9103</a><br>


[Tue Jun 17 14:18:34.366800 2014] [proxy:debug] [pid 5843] proxy_util.c(2610): AH00962: WS: connection complete to <a href="http://192.168.1.110:9103" target="_blank">192.168.1.110:9103</a> (192.168.1.110)<br>[Tue Jun 17 14:18:34.<a href="tel:574643%202014" value="+15746432014" target="_blank">574643 2014</a>] [proxy_wstunnel:debug] [pid 5843] mod_proxy_wstunnel.c(253): [client <a href="http://192.168.1.9:45354" target="_blank">192.168.1.9:45354</a>] AH02445: woke from poll(), i=1<br>


[Tue Jun 17 14:18:34.<a href="tel:574681%202014" value="+15746812014" target="_blank">574681 2014</a>] [proxy_wstunnel:debug] [pid 5843] mod_proxy_wstunnel.c(262): [client <a href="http://192.168.1.9:45354" target="_blank">192.168.1.9:45354</a>] AH02446: sock was readable<br>

[Tue Jun 17 14:18:34.<a href="tel:574725%202014" value="+15747252014" target="_blank">574725 2014</a>] [proxy_wstunnel:debug] [pid 5843] mod_proxy_wstunnel.c(129): (104)Connection reset by peer: [client <a href="http://192.168.1.9:45354" target="_blank">192.168.1.9:45354</a>] AH02442: error on sock - ap_get_brigade<br>


[Tue Jun 17 14:18:34.<a href="tel:574751%202014" value="+15747512014" target="_blank">574751 2014</a>] [proxy:debug] [pid 5843] proxy_util.c(2035): AH00943: WS: has released connection for (*)<br><br></div>As you can see, I am getting a reset by peer but I'm not sure of the cause. Any help or clues would be greatly appreciated.<br>


<div><div><br></div></div></div>
<br></div></div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <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: <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://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div></div>