You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to develop an Open OnDemand (OOD) app for ParaViewWeb (Visualizer, Divvy, Lite). I was able to create a Singularity image with ParaView 5.12.1 (headless) package and a working OOD app running this image. I was able to successfully submit a job on cluster, and see ParaViewWeb service correctly running. However, when I tried to connect to Visualizer, the "Loading ParaView" logo flashed and disappeared. Nothing happens. Similar issue also happened to Divvy and Lite, presumably somehow the app was not correctly talking to the service.
I tried ssh tunneling from local machine to the node and was able to successfully launch the app in browser by visiting "localhost". So it looks like the service is correctly running. But OOD was not able to talk to it correctly.
Steps to reproduce
This is the line to run the service once job starts (port is correct): singularity exec -B /work,/project,/usr/local/packages,/var/scratch /project/containers/images/paraviewweb-5.12.1.sif pvpython -m paraview.apps.visualizer --host 0.0.0.0 --port ${port} --timeout 0 -d
Detailed behavior
This is the output (debug) once a job starts:
When I tried to connect it in OOD, nothing changed in above output. As I described before, in browser, the "Loading ParaView" logo flashed and disappeared. The page is blank.
When I set up ssh tunneling and visited "localhost", the app was successfully launched. And I see below debug output:
So it looks like in OOD, it was unable to correctly talk to the service.
Expected behavior
OOD should be able to launch the app in browser.
Environment
Visualizer: (Whatever version comes with ParaView 5.12.1 headless egl)
I'm really not sure what could be happening. Any log in the browser dev console? In the network tab of the dev console? That might give us a hint on what could be happening.
I'll be at SuperComputing in Altlanta next week in case you or someone from your team wants to chat.
BTW I just checked and it looks like an issue with ws:
Visualizer.js:1 Mixed Content: The page at 'https://ondemand.qbd.loni.org/XXX/XXX/XXXXX/index.html' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://ondemand.qbd.loni.org/ws'. This request has been blocked; this endpoint must be available over WSS.
Activity
jasonleekungfu commentedon Nov 16, 2024
Any help is appreciated. Thank you very much!
jourdain commentedon Nov 16, 2024
I'm really not sure what could be happening. Any log in the browser dev console? In the network tab of the dev console? That might give us a hint on what could be happening.
I'll be at SuperComputing in Altlanta next week in case you or someone from your team wants to chat.
jasonleekungfu commentedon Nov 17, 2024
Thank you for the prompt response. I will have to try it again and see if I find anything in dev console.
I am at SC as well. What is the best way to connect?
jourdain commentedon Nov 17, 2024
jasonleekungfu commentedon Nov 17, 2024
Great! Will do! Thank you very much!
BTW I just checked and it looks like an issue with ws:
Visualizer.js:1 Mixed Content: The page at 'https://ondemand.qbd.loni.org/XXX/XXX/XXXXX/index.html' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://ondemand.qbd.loni.org/ws'. This request has been blocked; this endpoint must be available over WSS.Any thoughts on this?
jourdain commentedon Nov 17, 2024
https://discourse.paraview.org/t/enabling-wss-for-paraview-visualiser/15692/5
jasonleekungfu commentedon Nov 18, 2024
Oh great! It worked! Thank you very much!
I read through the thread. Well I guess I will find you at your booth anyways. :) Thank you very much!