question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

404 on some images and fonts behind proxy

See original GitHub issue

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 version (from pip package, also printed out when running tensorboard): 1.12.2
  • TensorFlow version if different from TensorBoard: 1.12.0
  • OS Platform and version (e.g., Linux Ubuntu 16.04): Ubuntu 18.04
  • Python version (e.g. 2.7, 3.5): 3.6.7
  • For browser-related issues:
    • Browser type and version (e.g. Chrome 64.0.3282.140)
    • Screenshot if it’s a visual issue

Please 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!

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:1
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
cliffwoolleycommented, Feb 12, 2021

This impacts jupyter_tensorboard integration as well.

I worked around it for jupyter_tensorboard in https://github.com/cliffwoolley/jupyter_tensorboard/commit/b351bb49ce91ae5922dd898452f6d6b7903b68a8 by making a static route for the /font-roboto/ URL prefix to whatever the first TensorBoard instance might be. But I think if we just could patch up the /font-roboto references to be instead ./font-roboto when inlining roboto.html to index.html. I tried ptaching it that way by hand, and the right thing seems to happen.

https://github.com/lspvic/jupyter_tensorboard/pull/63 includes my workaround in the meanwhile.

2reactions
adamplcommented, Jun 17, 2020

The issue with font remains in 2.2.0. Also the profile plugin doesn’t respect --path_prefix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

how to fix 404 warnings for images during karma unit testing
EDIT2 : If you don't use or want to use another server you can define a local proxy but as Karma doesn't provide...
Read more >
Apache http_proxy random 404 - Server Fault
I configured an Apache2 on Ubuntu Server 16.04 as an http reverse proxy to an external web server. There's something very curious here, ......
Read more >
404 when access resource using /etc.clientlib proxy
Solved: I am getting a 404 error when trying to reference an image resource under a clientlib folder. According to the documentation, this...
Read more >
404 Unable to identify proxy for host: <virtual host name> and url
If the API proxy is not configured to accept the requests for the specific virtual host, then we can get a 404 Not...
Read more >
HRM Bud.js not working in Sage+Bedrock. 404 at proxy and ...
Hi, First of all, thanks for the great work done in root. I'm wordking with Laravel Homestead to develop in local a bedrock+sage...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found