I have deployed jupyterhub with docker-compose setup described https://github.com/jupyterhub/jupyterhub-deploy-docker.
On two servers where I used PAM authentication, I have no problem. On a new server, I needed to use keycloak for authentication with
GenericOAuthenticator. On this new server also authentication works fine, but after authentication I get 404 Error on spawning of the single-user image. I have tried multiple single images. In all cases, I get the following log for my single-user image.
[I 00:37:01.039 NotebookApp] JupyterLab application directory is /opt/conda/share/jupyter/lab [I 00:37:01.041 NotebookApp] Serving notebooks from local directory: /home/pyiron [I 00:37:01.042 NotebookApp] Jupyter Notebook 6.1.4 is running at: [I 00:37:01.042 NotebookApp] http://5137103405f0:8888/?token=9c4321f5e60c9ebe56e54d4eee89351ad3d5c432a1abe9d1 [I 00:37:01.042 NotebookApp] or http://127.0.0.1:8888/?token=9c4321f5e60c9ebe56e54d4eee89351ad3d5c432a1abe9d1 [I 00:37:01.042 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [C 00:37:01.044 NotebookApp] To access the notebook, open this file in a browser: file:///home/pyiron/.local/share/jupyter/runtime/nbserver-6-open.html Or copy and paste one of these URLs: http://5137103405f0:8888/?token=9c4321f5e60c9ebe56e54d4eee89351ad3d5c432a1abe9d1 or http://127.0.0.1:8888/?token=9c4321f5e60c9ebe56e54d4eee89351ad3d5c432a1abe9d1 [I 00:37:01.046 NotebookApp] 302 GET /user/muhammad/ (172.17.0.5) 0.63ms [I 00:37:01.366 NotebookApp] 302 GET /user/muhammad/ (172.17.0.5) 0.50ms [W 00:37:01.587 NotebookApp] 404 GET /user/muhammad (172.17.0.5) 18.40ms
Has anyone any idea, what the reason for such an error could be?