<HTML><HEAD><META http-equiv="Content-Type" content="text/html; charset=utf-8"></HEAD><BODY><div><div>Hi All</div><div><br></div><div>I tried to install paraview web with apache as the front end and followed the information on http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/ubuntu_14_04</div><div><br></div><div>The web browser can open the index.html and when I tried to open localhost:8080/apps/pipeline, the client browser issues a warning "authentication error" and pipeline page closed automatically. The backend opens a "pvpython pv_web_visualizer.py --port ${PORT} --data-dir ${data_dir}", but failed at </div><div>"--authKey ${secret}"</div><div><br></div><div>The OS is Suse 11.2 and I compiled apache 2.4.10 in my home dir. </div><div><br></div><div>httpd-vhost.conf is </div><div><VirtualHost *:8080></div><div> ServerName 192.168.120.8</div><div> ServerAdmin yxu@ssc.net.cn </div><div> DocumentRoot /home/yxu/apache/pvw-test/www</div><div> ErrorLog /home/yxu/apache/pvw-test/logs/pvw-error.log</div><div> LogLevel debug rewrite:trace3</div><div> CustomLog /home/yxu/apache/pvw-test/logs/pvw-custom.log combined</div><div><br></div><div># # Have Apache pass these requests to the launcher</div><div> ProxyPass /paraview http://localhost:8081/paraview</div><div><br></div><div> # Turn on the rewrite engine</div><div> RewriteEngine On</div><div> RewriteMap session-to-port txt:/home/yxu/apache/pvw-test/proxy.txt</div><div> RewriteCond %{QUERY_STRING} ^sessionId=(.*)$ [NC]</div><div> RewriteRule ^/proxy.*$ ws://${session-to-port:%1}/ws [P]</div><div> </div><div># <Directory "<MY-DOCUMENT-ROOT"></div><div> <Directory /home/yxu/apache/pvw-test/www></div><div> Options Indexes FollowSymLinks</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>Order allow,deny</div><div> Allow from all</div><div> AllowOverride None</div><div> Require all granted</div><div> </Directory></div><div></VirtualHost></div><div><br></div><div>the json file is </div><div>{</div><div> "configuration": {</div><div> "log_dir": "/home/yxu/apache/pvw-test/logs",</div><div> "host": "localhost",</div><div> "endpoint": "paraview",</div><div> "sessionURL" : "ws://192.168.120.8:${port}/proxy?sessionId=${id}",</div><div> "timeout": 25,</div><div> "fields": ["file", "host", "port"],</div><div> "port": 8081,</div><div> "proxy_file": "/home/yxu/apache/pvw-test/proxy.txt"</div><div> },</div><div> "resources": [{"port_range": [9001, 9003], "host": "localhost"}],</div><div> "properties": {</div><div> "python_path": "/home/yxu/apache/pvw-test/pv/ParaView-noqt-mesa-v4.1-bin/lib/paraview-4.1/site-packages/",</div><div> "data": "/home/yxu/apache/pvw-test/data",</div><div> "python_exec": "/home/yxu/apache/pvw-test/pv/ParaView-noqt-mesa-v4.1-bin/bin/pvpython"</div><div> },</div><div> "apps": {</div><div> "pipeline": {</div><div> "cmd": ["${python_exec}", "${python_path}/paraview/web/pv_web_visualizer.py", "--port", "${port}", "--data-dir", "${data}", "-f", "--authKey", "${secret}"],</div><div> "ready_line" : "Starting factory"</div><div> },</div><div> "visualizer": {</div><div> "cmd": ["${python_exec}", "${python_path}/paraview/web/pv_web_visualizer.py", "--port", "${port}", "--data-dir", "${data}", "-f", "--authKey", "${secret}"],</div><div> "ready_line" : "Starting factory"</div><div> },</div><div> "loader": {</div><div> "cmd": ["${python_exec}", "${python_path}/paraview/web/pv_web_file_loader.py", "--port", "${port}", "--data-dir", "${data}", "-f", "--authKey", "${secret}"],</div><div> "ready_line" : "Starting factory"</div><div> },</div><div> "data_prober": {</div><div> "cmd": ["${python_exec}", "${python_path}/paraview/web/pv_web_data_prober.py", "--port", "${port}", "--data-dir", "${data}", "-f", "--authKey", "${secret}"],</div><div> "ready_line" : "Starting factory"</div><div> }</div><div> }</div><div>}</div><div><br></div><div>All comments and input are welcome. </div><div><br></div><div>Thanks! </div><div><br></div><div>Ying </div><br><br></div><div id="signature_span">---------------------------------------------------------------------------<br>徐莹<br><br>上海超级计算中心 研发部<br>上海市郭守敬路585号,201203<br>email: yxu@ssc.net.cn<br>tel: 021-61872248<br>---------------------------------------------------------------------------<br></div><!--end signature_span --></BODY></HTML>