I am using tensorboard behind a proxy at www.domain.com/tensorboard and it is making requests to paths such as www.domain.com/font-roboto/... and www.domain.com/tf-interactive-inference-dashboard/...
Can these be changed to have the /tensorboard prefix? FWIW, the --path_prefix option does not add the prefix to these urls.
For bug reports, please include the following:
tensorboard): 1.12.2Please describe the bug as clearly as possible, and if possible provide a minimal example (code, data, and/or command line) to reproduce the issue. Thanks!
I found the webfiles.zip in the python package installation and copied over font-roboto and tf-interactive-inference-dashboard to the root website so that nginx can serve these static files. But there is also a trace_viewer_index.html and I'm not sure if it is ok for nginx to serve that too.
Thanks for the report. The --path_prefix flag was broken in our 1.12 release, the imminent 1.13.0 release contains https://github.com/tensorflow/tensorboard/pull/1623 which I believe will fix this.
You can try this out by uninstalling tensorboard and installing our nightly build tb-nightly instead.
If for some reason that doesn't fix the issue, comment here and we can reopen and investigate.
Can repro on 1.13.0: tensorboard --logdir=x --path_prefix=/foo then
navigate to http://localhost:6006/foo/, and note that the UI is in
sans-serif rather than Roboto (probably doesn鈥檛 repro if you have Roboto
or Roboto-Regular as a system font). The JS routing was indeed fixed in
are a separate issue; the CSS always loads from root:
Hmm, thanks for catching this. Maybe we can just omit the leading / for those urls?
Any progress on this issue? Seem still not resolved in 2.0.1
The issue with font remains in 2.2.0. Also the profile plugin doesn't respect --path_prefix.
Most helpful comment
The issue with font remains in 2.2.0. Also the profile plugin doesn't respect
--path_prefix.