Sorry, this is my 3rd question in 24 hours, but here goes…
I am having trouble getting noVNC to connect to my interactive desktop session. When I look at the node running the job, Websockify and TurboVNC are both running, and I have links to the interactive session in the OOD portal. However, when I open the “Launch Desktop” link, noVNC gives me the error “Failed to connect to the server.”
If I look in the Chrome dev tools, I see the following error:
app.v1.js:9501 WebSocket connection to 'wss://ondemand.ccast.ndsu.edu/rnode/node0073.thunder.ccast/17053/websockify' failed: Error during WebSocket handshake: Unexpected response code: 302 open @ app.v1.js:9501 _connect @ app.v1.js:6641 _updateConnectionState @ app.v1.js:6879
I also saw this post, so I double checked my node regex, and that appears to be showing up correctly in the noVNC link. I also made sure that I can SSH from the OOD node to the node where the desktop is running using this same domain name, and that all works.
Can you suggest some troubleshooting steps so that I can pinpoint the error? I tried looking in the
httpd24 logs and the
ondemand-nginx/$USER logs and didn’t see anything obvious; but I don’t know exactly what I should be looking for.
Any help would be much appreciated.