Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link issue on JupyterHub #41

Open
GuilhermeZimeo opened this issue Jan 30, 2020 · 2 comments
Open

Link issue on JupyterHub #41

GuilhermeZimeo opened this issue Jan 30, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@GuilhermeZimeo
Copy link

Hello,

I've been testing the nvdashboard on my JupyterHub application, and there might be an issue with the links to the GPU dashboards.

image

If I access the GPU dashboards from the menu on the left, everything works as expected. However, by using the "nvdashboard" icon on the Launcher menu (right panel on the screenshot above), I am then redicted to the following page:

image

By clicking on any of the links presented above, I will face following error message:
404 : Not Found
Jupyter has lots of moons, but this is not one...

After playing a bit with the url paths, I was able to correctly access the expected dashboard. The links above are redirecting to the main jupyterhub page, which ignores the current logged in user url path. For example:

JupyterHub main path: my-jhub-app.com
JupyterHub logged in user path: my-jhub-app.com/user/my-username/

Nvdashboard Launcher (working): my-jhub-app.com/user/my-username/nvdashboard/

GPU-memory redirects to this link (broken): my-jhub-app.com/GPU-memory
GPU-memory expected link (working): my-jhub-app.com/user/my-username/nvdashboard/GPU-memory

Thus, essentially, one would need to keep the nvdashboard launcher link and append the dashboard name (e.g. GPU-memory). This solution seems to solve the link to all GPU dashboards.

@jacobtomlinson jacobtomlinson added the bug Something isn't working label Jan 30, 2020
@jacobtomlinson
Copy link
Member

Thanks for raising this! It sounds like we need to either set the links to be relative instead of absolute or to somehow tell Bokeh about the prefix.

@GuilhermeZimeo Is this something you feel like you could contribute to the project?

@calvinytong
Copy link

+1, it'd be great to get a fix for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants