Cant create new launcer entry using jupyter-server-proxy

To add to what @consideRatio already gave some pointers on debugging, your are putting c.ServerProxy.servers config in wrong place. The config content you posted is for JupyterHub. Assuming that config is placed in a file called jupyterhub_config.py, you give to JupyterHub as CLI arg as jupyterhub -f jupyterhub_config.py.

Now the single user JupyterLab servers will not read and should not read any config from this file by default. This must go into a file say /etc/jupyter/jupyter_server_config.py on the host where your single user server is running. Then the single user JupyterLab server can pick up this config and register the custom server endpoints.

You can place all JupyterLab related config in any config folders returned by jupyter --paths command on the single user server. For example, JupyterHub deployed on k8s return following:

$ jupyter --paths
config:
    /home/jovyan/.jupyter
    /home/jovyan/.local/etc/jupyter
    /usr/local/etc/jupyter
    /etc/jupyter
data:
    /home/jovyan/.local/share/jupyter
    /usr/local/share/jupyter
    /usr/share/jupyter
runtime:
    /home/jovyan/.local/share/jupyter/runtime
2 Likes