# Problem about paraviewweb configuration

**URL:** <https://discourse.paraview.org/t/problem-about-paraviewweb-configuration/436>\
**Category:** Web Support\
**Created:** [August 16, 2018, 5:35am UTC](https://discourse.paraview.org/t/problem-about-paraviewweb-configuration/436 "2018-08-16T05:35:40Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![yancheng](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/b38774/32.png) [@yancheng](https://discourse.paraview.org/u/yancheng)\
**Post date:** [August 16, 2018, 5:35am UTC](https://discourse.paraview.org/t/problem-about-paraviewweb-configuration/436/1 "2018-08-16T05:35:40Z")

</div>

Hello,  
I’m trying to configure the paraviewweb enviroment on Ubuntu 18.04.  
Single user mode is very simple and succeed.  
Multiple user mode has note been success until now~  
I mainly follow this instruction: [http://kitware.github.io/paraviewweb/docs/ubuntu\_14\_04.html](http://kitware.github.io/paraviewweb/docs/ubuntu_14_04.html)  
I have test many version of paraview, result as follows:  
First, all version of paraview desktop bin file can be open, but is black and empty

 ![image](https://discourse.paraview.org/uploads/default/original/1X/b725f9036503d63c1fdb5fb6867090de224bd5c9.jpg)  
Second, version 5.2, 5.4, 5.5.1 can go to the final step, one paraview window can prompt, but the webpage is empty.  
 ![image](https://discourse.paraview.org/uploads/default/original/1X/61c426984cb3cc6c270b597563b1a0880d786e6a.jpg)  
Third, version 5.3 come across problem when running ./start.sh, problem information is about “can note find vtkCommonCorePython”.  
So where is my problem, thank you all~

---

<div class="post-metadata">

**Author:** ![yancheng](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/b38774/32.png) [@yancheng](https://discourse.paraview.org/u/yancheng)\
**Post date:** [August 16, 2018, 8:43am UTC](https://discourse.paraview.org/t/problem-about-paraviewweb-configuration/436/2 "2018-08-16T08:43:29Z")

</div>

Again, I install Ubuntu 18.04 on a new Workstation.  
Configure paraviewweb using version 5.2.  
I modify the index.html as follows:

 ![image](https://discourse.paraview.org/uploads/default/original/1X/8a4a65ae2148929ae3d51095ffc8bd8cfcb2fdf8.jpg)  
Then I input in the chrome browser as follows:  
[http://192.168.2.153/visualizer/?data=can.ex2](http://192.168.2.153/visualizer/?data=can.ex2)  
Then the webpage is still empty, but the prompted paraview window can load the data:  
 ![image](https://discourse.paraview.org/uploads/default/original/1X/bfb0839ded1881484e7fa637369b0f893de04cc7.jpg)

So I really don’t know where is the problem? Need your help, thank you~

---

<div class="post-metadata">

**Author:** ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)\
**Post date:** [August 16, 2018, 1:42pm UTC](https://discourse.paraview.org/t/problem-about-paraviewweb-configuration/436/3 "2018-08-16T13:42:44Z")

</div>

It seems that your launcher configuration works as the ParaView process properly start, but it seems that the client side either error out or does not fully load.

First of all, the edit that you’ve done on the main page are not necessary (getUrlParameter) as that feature is now embedded inside Visualizer when you call `Visualiser.connectWithArgsAsConfig({ … }).

1. How did you get ParaView? Did you built it (repo or superbuild) or used a prebuilt version from our web site?

2. How did you get Visualizer? Did you built it or used the one inside the bundle of ParaView (from our binaries). And which version if built?

3. What does the line `sessionURL` looks like in your launcher configuration?

And hopefully with the answer with those 3 questions, I should be able to help you.

---

<div class="post-metadata">

**Author:** ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)\
**Post date:** [August 16, 2018, 1:44pm UTC](https://discourse.paraview.org/t/problem-about-paraviewweb-configuration/436/4 "2018-08-16T13:44:46Z")

</div>

BTW, we have docker images that can be used which already have the multi-user setup. [See](http://kitware.github.io/paraviewweb/docs/ec2.html) for more details.

But to properly leverage your GPU, you will need an NVidia GPU.

---

<div class="post-metadata">

**Author:** ![yancheng](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/b38774/32.png) [@yancheng](https://discourse.paraview.org/u/yancheng)\
**Post date:** [August 16, 2018, 1:49pm UTC](https://discourse.paraview.org/t/problem-about-paraviewweb-configuration/436/5 "2018-08-16T13:49:14Z")

</div>

1. I download the binary version 5.2.0 from your website
2. I used the one inside the bundle of paraview 5.2.0
3. sessionRUL like this

“sessionURL” : “ws://192.168.2.153:80/proxy?sessionId=${id}&path=ws”,  
or  
“sessionURL” : “ws://www.paraview.com:80/proxy?sessionId=${id}&path=ws”,

both not work

---

<div class="post-metadata">

**Author:** ![yancheng](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/b38774/32.png) [@yancheng](https://discourse.paraview.org/u/yancheng)\
**Post date:** [August 16, 2018, 1:52pm UTC](https://discourse.paraview.org/t/problem-about-paraviewweb-configuration/436/6 "2018-08-16T13:52:30Z")

</div>

BTW, I find that in win10 configuration doc, there is more than one line:  
“content”: “\<paraview-root\>/share/paraview-5.2/web/visualizer/www”,  
so, I also add this line to the configuration file on Ubuntu, but still not work

---

<div class="post-metadata">

**Author:** ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)\
**Post date:** [August 16, 2018, 1:54pm UTC](https://discourse.paraview.org/t/problem-about-paraviewweb-configuration/436/7 "2018-08-16T13:54:12Z")

</div>

Can you open the development tab of your browser to see if any error show up?

I’m guessing the apache module for WebSocket tunneling have been properly installed and the rewrite rule is correct?

Also does the proxy.txt written by the launcher accessible by the apache user?

---

<div class="post-metadata">

**Author:** ![yancheng](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/b38774/32.png) [@yancheng](https://discourse.paraview.org/u/yancheng)\
**Post date:** [August 16, 2018, 1:54pm UTC](https://discourse.paraview.org/t/problem-about-paraviewweb-configuration/436/8 "2018-08-16T13:54:27Z")

</div>

Do you mean that if I want to configure paraviewweb for multi-user mode, I can directly use the EC2 system? And it’s more simple for configuration ?

---

<div class="post-metadata">

**Author:** ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)\
**Post date:** [August 16, 2018, 2:02pm UTC](https://discourse.paraview.org/t/problem-about-paraviewweb-configuration/436/9 "2018-08-16T14:02:16Z")

</div>

I’m just saying that if you are not familiar with setting up all those processes, users and network configuration, the EC2 guide reduce the amount of work you need to do on your machine as the full setup has been made inside a Docker image.

But in that setup, you won’t have access to the launcher config so loading a file at startup won’t be easy unless you build your own docker image where you override that launcher configuration file using the same base one as ours. It is fairly easy to do as long as you are familiar with Docker.

But I feel you are pretty close to get your current setup working.

BTW, did you patch the code to make the Visualizer compatible with ParaView like described [here](http://kitware.github.io/visualizer/docs/compatibility.html#ParaView-5-5-2-Bundle-issue)?

---

<div class="post-metadata">

**Author:** ![yancheng](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/b38774/32.png) [@yancheng](https://discourse.paraview.org/u/yancheng)\
**Post date:** [August 16, 2018, 2:04pm UTC](https://discourse.paraview.org/t/problem-about-paraviewweb-configuration/436/10 "2018-08-16T14:04:34Z")

</div>

I try once again in browser, the screenshot is as follows:

 ![image](https://discourse.paraview.org/uploads/default/original/1X/e97e339ec8c9e828f6884caee4db3f215c0300f2.jpg)  
In the right console window, I restart apache2, left console windows running start.sh  
when I input the url, one paraview window prompt, and in the development tab of my firefox browser, a error is shown: firefox can not connect to the url of server.

---

<div class="post-metadata">

**Author:** ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)\
**Post date:** [August 16, 2018, 2:04pm UTC](https://discourse.paraview.org/t/problem-about-paraviewweb-configuration/436/11 "2018-08-16T14:04:50Z")

</div>

BTW with the latest ParaView, it is expected that the image/window you see remain black. That does not mean the actual rendering properly happen.

It is just that the Offscreen system works a differently/better.

---

<div class="post-metadata">

**Author:** ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)\
**Post date:** [August 16, 2018, 2:08pm UTC](https://discourse.paraview.org/t/problem-about-paraviewweb-configuration/436/12 "2018-08-16T14:08:11Z")

</div>

Good that means that Apache is not forwarding the WebSocket connection.

Can you show the result of `ls -al /full-path-to/proxy.txt`?

---

<div class="post-metadata">

**Author:** ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)\
**Post date:** [August 16, 2018, 2:09pm UTC](https://discourse.paraview.org/t/problem-about-paraviewweb-configuration/436/13 "2018-08-16T14:09:55Z")

</div>

Also what is your Apache config? (Want to validate the path to proxy.txt)

---

<div class="post-metadata">

**Author:** ![yancheng](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/b38774/32.png) [@yancheng](https://discourse.paraview.org/u/yancheng)\
**Post date:** [August 16, 2018, 2:10pm UTC](https://discourse.paraview.org/t/problem-about-paraviewweb-configuration/436/14 "2018-08-16T14:10:35Z")

</div>

![image](https://discourse.paraview.org/uploads/default/original/1X/8fc2ca3fc687e7db9d2d595bd85d7fc83d12d705.jpg)

---

<div class="post-metadata">

**Author:** ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)\
**Post date:** [August 16, 2018, 2:11pm UTC](https://discourse.paraview.org/t/problem-about-paraviewweb-configuration/436/15 "2018-08-16T14:11:38Z")

</div>

Then it is expected that the Apache process can not read that file…

You skipped the security part in the documentation.

---

<div class="post-metadata">

**Author:** ![yancheng](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/b38774/32.png) [@yancheng](https://discourse.paraview.org/u/yancheng)\
**Post date:** [August 16, 2018, 2:11pm UTC](https://discourse.paraview.org/t/problem-about-paraviewweb-configuration/436/16 "2018-08-16T14:11:49Z")

</div>

my directory structure is the same as the doc instruction.

 ![image](https://discourse.paraview.org/uploads/default/original/1X/ab205dd07f4dfdff704c0d5b113ffc44e65ec268.jpg)

---

<div class="post-metadata">

**Author:** ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)\
**Post date:** [August 16, 2018, 2:13pm UTC](https://discourse.paraview.org/t/problem-about-paraviewweb-configuration/436/17 "2018-08-16T14:13:53Z")

</div>

You have that structure under your home directory, not at the root (/) or /opt.

Now Apache need to be able to go through all those directory as a Daemon user… You need to start playing with groups and users while adjusting your directory/files rights…

---

<div class="post-metadata">

**Author:** ![yancheng](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/b38774/32.png) [@yancheng](https://discourse.paraview.org/u/yancheng)\
**Post date:** [August 16, 2018, 2:16pm UTC](https://discourse.paraview.org/t/problem-about-paraviewweb-configuration/436/18 "2018-08-16T14:16:49Z")

</div>

you mean that I skip this section ? I should follow this section completely so that it can works ?

 ![image](https://discourse.paraview.org/uploads/default/original/1X/63e9ab6bc932b268ddfa45449667df36bab9e6bc.png)

---

<div class="post-metadata">

**Author:** ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)\
**Post date:** [August 16, 2018, 2:22pm UTC](https://discourse.paraview.org/t/problem-about-paraviewweb-configuration/436/19 "2018-08-16T14:22:00Z")

</div>

Yes although you can tweak it by doing that with your user as long as you understand what you are doing.

The goal is to allow the Apache process to read that proxy.txt file while the user that run the launcher should be able to write it and run ParaView while using your GPU while not being a power user…

---

<div class="post-metadata">

**Author:** ![yancheng](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/b38774/32.png) [@yancheng](https://discourse.paraview.org/u/yancheng)\
**Post date:** [August 16, 2018, 2:25pm UTC](https://discourse.paraview.org/t/problem-about-paraviewweb-configuration/436/20 "2018-08-16T14:25:53Z")

</div>

ok, I add a pvw-user in root dir  
 ![image](https://discourse.paraview.org/uploads/default/original/1X/2cf5201ee8e3e48faf586c328d6b66688c64120b.jpg)  
And then I modify the directory stucture and all the path in configuration file, it is expected to work?

[Next page](https://discourse.paraview.org/t/problem-about-paraviewweb-configuration/436.md?page=2)
