I am running a web application on one of my nodes and accessing as follows:
https://OOD_SERVER/rnode/MY_NODE/8080
The application is not working as it is trying to access a web socket:
wss://OOD_SERVER/client
Is there something I can do in Open OnDemand to get this working (as it’s not my web application)? And, I’m not even sure what this URL should be to access MY_NODE.
It appears the web application is not using relative url’s. The HTML that was returned in that in initial request contains a url “/client” instead of “client”.
In this case you need to:
Use /node/ instead of /rnode/
Configure the web application to know about the base path of the application /node/MY_NODE/8080 so that when the web application produces a URL in an HTML template it can prepend this base path to the URL. This configuration is usually application or framework specific.