Closed
Description
Hello,
I'm creating jupyterhub on AKS (Azure Kubernetes Service), with AAD (Azure Active Directory). Everything works properly until redirect to user notebook. I get 404 error. There ins't any error on login and singleuser pod initialization. As auth plugin I use oauthenticator.azuread.AzureAdOAuthenticator
. I extended hub and singleuser images with PyJWT.
On hub pod I only see a redirect to notebook:
[I 2019-11-28 11:27:08.779 JupyterHub log:158] 302 GET /hub/user/rojek,%20rafa%C5%82/ -> /user/rojek,%20rafa%C5%82/?redirects=1 (rojek, rafał@89.171.167.46) 24.36ms
On notebook pod I get 404 errors:
[W 2019-11-28 11:48:46.505 SingleUserLabApp configurable:168] Config option `open_browser` not recognized
by `SingleUserLabApp`. Did you mean `browser`?
[I 2019-11-28 11:48:46.831 SingleUserLabApp extension:59] JupyterLab extension loaded from /opt/conda/lib/python3.6/site-packages/jupyterlab
[I 2019-11-28 11:48:46.831 SingleUserLabApp extension:60] JupyterLab application directory is /opt/conda/share/jupyter/lab
[W 2019-11-28 11:48:46.839 SingleUserLabApp labapp:215] JupyterLab server extension not enabled, manually loading...
[I 2019-11-28 11:48:46.840 SingleUserLabApp extension:59] JupyterLab extension loaded from /opt/conda/lib/python3.6/site-packages/jupyterlab
[I 2019-11-28 11:48:46.840 SingleUserLabApp extension:60] JupyterLab application directory is /opt/conda/share/jupyter/lab
[I 2019-11-28 11:48:46.844 SingleUserLabApp singleuser:405] Starting jupyterhub-singleuser server version 0.9.2
[I 2019-11-28 11:48:46.852 SingleUserLabApp notebookapp:1685] Serving notebooks from local directory: /home/jovyan
[I 2019-11-28 11:48:46.852 SingleUserLabApp notebookapp:1685] The Jupyter Notebook is running at:
[I 2019-11-28 11:48:46.852 SingleUserLabApp notebookapp:1685] http://(jupyter-rojek-2c-20rafa-c5-82 or 127.0.0.1):8888/user/rojek%2C%20rafa%C5%82/?token=********
[I 2019-11-28 11:48:46.852 SingleUserLabApp notebookapp:1686] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 2019-11-28 11:48:46.859 SingleUserLabApp notebookapp:1726]
Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://(jupyter-rojek-2c-20rafa-c5-82 or 127.0.0.1):8888/user/rojek%2C%20rafa%C5%82/?token=********
[I 2019-11-28 11:48:49.377 SingleUserLabApp log:158] 302 GET /user/rojek%2C%20rafa%C5%82/ -> /user/rojek%2C%20rafa%C5%82/lab? (@10.244.1.107) 1.16ms
[W 2019-11-28 11:48:49.574 SingleUserLabApp log:158] 404 GET /user/rojek,%20rafa%C5%82/?redirects=1 (@89.171.167.46) 41.37ms
[W 2019-11-28 11:48:49.651 SingleUserLabApp log:158] 404 GET /user/rojek,%20rafa%C5%82/static/components/jquery-ui/themes/smoothness/jquery-ui.min.css?v=9b2c8d3489227115310662a343fce11c (@89.171.167.46) 2.00ms
[W 2019-11-28 11:48:49.654 SingleUserLabApp log:158] 404 GET /user/rojek,%20rafa%C5%82/static/components/jquery-typeahead/dist/jquery.typeahead.min.css?v=7afb461de36accb1aa133a1710f5bc56 (@89.171.167.46) 1.47ms
[W 2019-11-28 11:48:49.702 SingleUserLabApp log:158] 404 GET /user/rojek,%20rafa%C5%82/static/style/style.min.css?v=c8939f92700460241fdda8650d977cae (@89.171.167.46) 1.37ms
[W 2019-11-28 11:48:49.705 SingleUserLabApp log:158] 404 GET /user/rojek,%20rafa%C5%82/custom/custom.css (@89.171.167.46) 1.62ms
[W 2019-11-28 11:48:49.726 SingleUserLabApp log:158] 404 GET /user/rojek,%20rafa%C5%82/static/components/es6-promise/promise.min.js?v=f004a16cb856e0ff11781d01ec5ca8fe (@89.171.167.46) 1.57ms
[W 2019-11-28 11:48:49.729 SingleUserLabApp log:158] 404 GET /user/rojek,%20rafa%C5%82/static/components/proptypes/index.js?v=c40890eb04df9811fcc4d47e53a29604 (@89.171.167.46) 1.54ms
[W 2019-11-28 11:48:49.731 SingleUserLabApp log:158] 404 GET /user/rojek,%20rafa%C5%82/static/components/preact-compat/index.js?v=f865e990e65ad27e3a2601d8adb48db1 (@89.171.167.46) 1.64ms
[W 2019-11-28 11:48:49.733 SingleUserLabApp log:158] 404 GET /user/rojek,%20rafa%C5%82/static/components/preact/index.js?v=00a2fac73c670ce39ac53d26640eb542 (@89.171.167.46) 1.58ms
[W 2019-11-28 11:48:49.746 SingleUserLabApp log:158] 404 GET /user/rojek,%20rafa%C5%82/static/components/requirejs/require.js?v=6da8be361b9ee26c5e721e76c6d4afce (@89.171.167.46) 2.22ms
[W 2019-11-28 11:48:49.785 SingleUserLabApp log:158] 404 GET /user/rojek,%20rafa%C5%82/static/components/proptypes/index.js?v=c40890eb04df9811fcc4d47e53a29604 (@89.171.167.46) 2.83ms
[W 2019-11-28 11:48:49.832 SingleUserLabApp log:158] 404 GET /user/rojek,%20rafa%C5%82/static/components/preact-compat/index.js?v=f865e990e65ad27e3a2601d8adb48db1 (@89.171.167.46) 2.36ms
[W 2019-11-28 11:48:49.880 SingleUserLabApp log:158] 404 GET /user/rojek,%20rafa%C5%82/static/components/requirejs/require.js?v=6da8be361b9ee26c5e721e76c6d4afce (@89.171.167.46) 2.80ms
Metadata
Metadata
Assignees
Labels
No labels