TensorBoard batch connect application broken after update to 3.0

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

I’m not sure what would have caused this. I’ll have to open an issue to look into this more.

The following issue was created to check into this:

Hello Travis,

Thank you for creating that GitHub issue. I saw Jeff’s comment there referring to the GitHub - OSC/bc_js_filepicker: A file picker for Batch Connect applications repository. After taking the latest v3.0.2 form.js file from that repository and adding it to our TensorBoard app, I no longer have this issue.

Best,
Steve

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.