Hello, All!
We use a modified version of OSC’s TensorBoard batch connect app (GitHub - OSC/bc_osc_tensorboard: Batch Connect TensorBoard). Since updating to OnDemand 3.0, the interactive file picker for selecting a log directory no longer functions as expected.
The error displayed in the file picker is "TypeError: Failed to fetch".
The internet browser’s development console logs the error "Mixed Content: The page at https://ondemand.hpcc.msu.edu/pun/sys/dashboard/batch_connect/sys/bc_icer_tensorboard/session_contexts/new' was loaded over HTTPS, but requested an insecure resource http://ondemand.hpcc.msu.edu/pun/sys/dashboard/files/api/v1/fs/https:/ondemand.hpcc.msu.edu/pun/sys/dashboard/files/fs/mnt/home/fordste5'. This request has been blocked; the content must be served over HTTPS."
It seems that for some reason the URL for accessing the dashboard files app is now using HTTP instead of HTTPS and the URL is also malformed. Has anybody else had a similar issue with this TensorBoard batch connect app after updating to OnDemand 3.0?
I would expect the solution to this problem to lie in modifying the JavaScript within form_v0.4.1.js, but the code is minified and difficult to parse. Maybe there is a non-minified version of this code available somewhere that I could use to further debug this issue?
Thanks!
Steve