I am following the tutorial at https://kitware.github.io/paraviewweb/docs/docker.html step-by-step, managing to browse to the demo page. But when selecting the Visualizer application, I am greeted with “Server disconnected” underneath the spinning logo after a couple of seconds.
Checking the console show:
WebSocket connection to 'ws://localhost/proxy?sessionId=e5e621fe-13cc-11eb-a18e-0242ac110002&path=ws' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
This should do the trick. I’m not sure what is happening.
Which image are you using? The latest to date can be found here and should start with pvw-*.
@Scott_Wittenburg could you point to the documentation showing the usage of those paraview/pvw-* image. Normally they should behave the same way as they are currently described in the pvw docs that you are following.
Here [1] is some documentation specific to the paraview-pvw-* images Sebastien mentioned, but I agree the parts related to how the session url is configured should be the same.
The images with “demo” in the name are kind of outdated. I think Sebastien is referring to the images with just the paraview version and rendering type in their name. For example the latest egl image for python3 is:
kitware/paraview:pvw-v5.8.0-egl-py3
The documentation in [1] is for those images (no “demo” or “visualizer” in the image name), where you expect to host your web application in a directory on your machine, and the docker container just mounts that directory and runs it. The general idea of that approach is described here [2], under “fully external direct run”.
I was able to set up an instance using the kitware/paraview:pvw-v5.7.1-egl-py3 image.
I encountered another issue on the 5.8.0 version where the connection would timeout, but that was probably due to a misconfiguration on my side.