Accessing an external URL within a paraview app #687
Unanswered
smkacur
asked this question in
Trame/ParaView
Replies: 1 comment
-
I guess, here are the options:
My pick would be to either trigger a build with SSL (1) in our superbuild or use spack within docker (3). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Seb,
I have a trame application that visualizes some VTKs using paraview and also uses plotly to visualize some weather data. I would like to hook the application into an API in order to retrieve the weather data in near real-time.
I have a module that I use to call the api and then I import those functions into my trame application. I tested a version of the plotly app by itself to confirm that the api calls function properly and that the data plots. However, when I try to run those same calls within the paraveiw app they fail because pvpython doesn't come with SSL and the API is https. I am reaching out as I would like your advice on how to move forward.
Would it make more sense to install OpenSSL when building the image? Or should I use wslink to to make the external API available to my application without requiring SSL? I do not know much about web sockets so if the latter solution makes more sense then any pointing in the right direction would be extremely helpful.
I saw this issue here: #334 which aims to serve the trame app over https so I guess making the url available to my application would follow similar logic?
Some additional context: I am not using the cookie-cutter template but I am building the application with the multi-user image and building the server directory with the shell script.
Beta Was this translation helpful? Give feedback.
All reactions