Jupyter via jupyterhub-proxy with multi-user sessions - how to structure TRAMP/dired hostname/path to make it work
#233 opened on Mar 31, 2020
Repository metrics
- Stars
- (1,028 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
Hello, we have jupyterhub gateway that authenticates users and spawns jupyter notebooks in separate Kubernetes pods per user, this results in individual user's jupyter using longer URL than simply "/"
for example: https://hub.company.com/user/kuba/lab?
It seems that tramp and the emacs-jupyter assume that jupyter always uses root, and it won't let me specify the "/user/kuba/lab" path anywhere. The api path is right under there, so the full path to the api "socket" would be "/user/kuba/lab/api".
excerpt from readme:
If :session is a TRAMP file name like /jpy:localhost#8888:NAME it is interpreted as corresponding to a connection to a kernel through a Jupyter notebook server located at http://localhost:8888.
Is this expected and intentional, how do I go about fixing this ?
Thanks