Spawner default url is not working anymore

Can you try an up to date docker-stacks image, as suggested earlier? That will help narrow down the problem.

Hello there, @manics. I guess we’re not using a docker-stacks image here. My instance’s hub configuration is not being updated. That could be why default_url does not open during the launch. I compared the two configurations, and they are distinct. And I found this in the instance logs.

[I 2023-07-03 09:12:40.708 SingleUserNotebookApp notebookapp:1613] Authentication of /metrics is OFF, since other authentication is disabled.
[W 2023-07-03 09:12:41.725 LabApp] 'jinja_template_vars' was found in both NotebookApp and ServerApp. This is likely a recent change. This config will only be set in NotebookApp. Please check if you should also config these traits in ServerApp for your purpose.
[W 2023-07-03 09:12:41.725 LabApp] 'jinja_template_vars' was found in both NotebookApp and ServerApp. This is likely a recent change. This config will only be set in NotebookApp. Please check if you should also config these traits in ServerApp for your purpose.
[I 2023-07-03 09:12:41.728 LabApp] JupyterLab extension loaded from /usr/local/lib/python3.10/dist-packages/jupyterlab
[I 2023-07-03 09:12:41.729 LabApp] JupyterLab application directory is /usr/local/share/jupyter/lab
[I 2023-07-03 09:12:41.866 SingleUserNotebookApp __init__:36] [Jupytext Server Extension] Deriving a JupytextContentsManager from LargeFileManager
[I 2023-07-03 09:12:42.763 SingleUserNotebookApp mixins:576] Starting jupyterhub-singleuser server version 1.5.0
[W 2023-07-03 09:12:42.819 SingleUserNotebookApp _version:70] jupyterhub version 3.0.0 != jupyterhub-singleuser version 1.5.0. This could cause failure to authenticate and result in redirect loops!
[I 2023-07-03 09:12:42.819 SingleUserNotebookApp notebookapp:2349] Serving notebooks from local directory: /home/jovyan
[I 2023-07-03 09:12:42.819 SingleUserNotebookApp notebookapp:2349] Jupyter Notebook 6.5.4 is running at:
[I 2023-07-03 09:12:42.819 SingleUserNotebookApp notebookapp:2349] http://jupyter-suresh-40onem-2ecom:8888/user/suresh@onem.com/
[I 2023-07-03 09:12:42.819 SingleUserNotebookApp notebookapp:2350] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[I 2023-07-03 09:12:42.822 SingleUserNotebookApp mixins:556] Updating Hub with activity every 300 seconds

Do we need to update the singleuser image to 3.0.0?

Yes, you should upgrade singleuser image as well to have a consistent behavior. As you said, that might be your issue!

After upgrading the single user package on my sandbox image the config is now working.

Thank you for your support and time @mahendrapaipuri @manics.

1 Like