You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://jupyterhub/services/SHARED_SERVICE/lab works fine while https://jupyterhub/services/SHARED_SERVICE/tree doesn't (Help -> Launch Jupyter Notebook File Browser)
It stucks with a blank page and a Jupyter logo.
How to reproduce
In jupyterhub_config.py
define service named SHARED_SERVICE with user share_user
define a role with scope to access SHARED_SERVICE for share_group
define groupshare_group with share_user and normal users
Create linux user share_user (adduser -q --gecos '' share_user)
(Re)Start JupyterHub and
Log in as a normal user (e.g. admin) added to share_group
Open service SHARED_SERVICE from (File ->) Hub Control Panel's Services drop-down menu
Launch Jupyter Notebook File Browser from Help menu of SHARED_SERVICE Lab Tab
Expected behaviour
The new tab with url https://jupyterhub/services/SHARED_SERVICE/tree should show the classic file browser with the file structure of share_user.
Actual behaviour
The new tab opens but does not show the file structure, only a single Jupyter logo on a white (blank) page.
D 17:18:01.415 ServerApp] Checking user admin with scopes ['access:services!service=SHARED_SERVICE', 'read:users:groups!user=admin', 'read:users:name!user=admin'] against {'access:services!service=SHARED_SERVICE', 'access:services'}
D 17:18:01.415 ServerApp] Allowing user admin with scopes {'access:services!service=SHARED_SERVICE'}
D 17:18:01.416 ServerApp] 304 GET /services/SHARED_SERVICE/lab/extensions/@jupyter-notebook/lab-extension/static/776.c7baadfaddfd4518c935.js?v=c7baadfaddfd4518c935 (admin@192.168.33.1) 2.32ms
D 17:18:01.517 ServerApp] HubAuth cache miss: token:04a83242c3224c91b7dfe90fafd84eee:94162264e2e6a4e40a4397b91866b8477815563becace5d31dce2c65bdcefc63
D 17:18:01.522 ServerApp] Paths used for configuration of default_setting_overrides:
/etc/jupyter/labconfig/default_setting_overrides.json
D 17:18:01.523 ServerApp] Paths used for configuration of default_setting_overrides:
/usr/local/etc/jupyter/labconfig/default_setting_overrides.json
D 17:18:01.524 ServerApp] Paths used for configuration of default_setting_overrides:
/usr/etc/jupyter/labconfig/default_setting_overrides.json
D 17:18:01.524 ServerApp] Paths used for configuration of default_setting_overrides:
/home/grader-00yz/.local/etc/jupyter/labconfig/default_setting_overrides.json
D 17:18:01.525 ServerApp] Paths used for configuration of default_setting_overrides:
/home/grader-00yz/.jupyter/labconfig/default_setting_overrides.json
D 17:18:01.527 ServerApp] HubAuth cache miss: token:...
D 17:18:01.527 ServerApp] HubAuth cache miss: token:...
D 17:18:01.533 ServerApp] HubAuth cache miss: token:...
D 17:18:01.533 ServerApp] HubAuth cache miss: token:...
D 17:18:01.533 ServerApp] HubAuth cache miss: token:...
D 17:18:01.674 ServerApp] HubAuth cache miss: token:...
I 17:18:01.964 JupyterHub log:191] 200 GET /hub/api/user (SHARED_SERVICE@127.0.0.1) 422.80ms
D 17:18:01.965 ServerApp] Received request from Hub user {'name': 'SHARED_SERVICE', 'kind': 'service', 'admin': False, 'session_id': None, 'scopes': []}
D 17:18:01.965 ServerApp] Checking user SHARED_SERVICE with scopes [] against {'access:services!service=SHARED_SERVICE', 'access:services'}
W 17:18:01.966 ServerApp] Not allowing user SHARED_SERVICE
D 17:18:01.968 ServerApp] Redirecting to login url: /hub/api/oauth2/authorize?client_id=service-SHARED_SERVICE&redirect_uri=%2Fservices%2FSHARED_SERVICE%2Foauth_callback&response_type=code&state=eyJ1dWlkIjogImY2OWM3ZmZkNDQ4YzQ0NzdhOTMzYjUxNmE5MmYxYjRhIiwgIm5leHRfdXJsIjogIi9zZXJ2aWNlcy8wMFlaL2FwaS9rZXJuZWxzcGVjcz8xNjk2MTgwNjgxNDU0In0
I 17:18:01.972 JupyterHub log:191] 200 GET /hub/api/user (SHARED_SERVICE@127.0.0.1) 429.59ms
W 17:18:01.968 ServerApp] wrote error: 'Forbidden'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/tornado/web.py", line 1784, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "/usr/local/lib/python3.10/dist-packages/tornado/web.py", line 3278, in wrapper
url = self.get_login_url()
File "/usr/local/lib/python3.10/dist-packages/jupyterhub/singleuser/extension.py", line 148, in get_login_url
return original_get_login_url()
File "/usr/local/lib/python3.10/dist-packages/jupyter_server/base/handlers.py", line 753, in get_login_url
raise web.HTTPError(403)
tornado.web.HTTPError: HTTP 403: Forbidden
W 17:18:01.973 ServerApp] 403 GET /services/SHARED_SERVICE/api/kernelspecs?1696180681454 (@152.66.33.1) 457.73ms
The text was updated successfully, but these errors were encountered:
The read:users options may be needed for the specific use of the service (it is a grader service for nbgrader).
However, the services key referring to the appropriate service is important.
Bug description
https://jupyterhub/services/SHARED_SERVICE/lab
works fine whilehttps://jupyterhub/services/SHARED_SERVICE/tree
doesn't (Help -> Launch Jupyter Notebook File Browser)It stucks with a blank page and a Jupyter logo.
How to reproduce
In
jupyterhub_config.py
share_user
share_group
share_group
withshare_user
and normal usersCreate linux user
share_user
(adduser -q --gecos '' share_user
)(Re)Start JupyterHub and
admin
) added toshare_group
Expected behaviour
The new tab with url
https://jupyterhub/services/SHARED_SERVICE/tree
should show the classic file browser with the file structure ofshare_user
.Actual behaviour
The new tab opens but does not show the file structure, only a single Jupyter logo on a white (blank) page.
Your personal set up
Full environment
Configuration
Logs
The text was updated successfully, but these errors were encountered: