Here are extracts from our log:
python3[186449]: [I 2022-12-06 10:24:10.545 SingleUserLabApp log:186] 302 GET /user/student401/ -> /user/student401/lab? (@127.0.0.1) 1.13ms
python3[186270]: [I 2022-12-06 10:24:10.546 JupyterHub base:963] User student401 took 3.150 seconds to start
[...]
python3[186270]: [I 2022-12-06 10:24:10.552 JupyterHub users:749] Server student401 is ready
python3[186270]: [I 2022-12-06 10:24:10.553 JupyterHub log:186] 200 GET /hub/api/users/student401/server/progress (student401@82.66.171.3) 1879.29ms
python3[186270]: [I 2022-12-06 10:24:10.614 JupyterHub log:186] 302 GET /hub/spawn-pending/student401 -> /user/student401/ (student401@82.66.171.3) 4.85ms
python3[186449]: [W 2022-12-06 10:24:10.624 SingleUserLabApp log:186] 403 GET /user/student401/terminals/websocket/1 (@82.66.171.3) 34.09ms
python3[186449]: [I 2022-12-06 10:24:10.658 SingleUserLabApp log:186] 302 GET /user/student401/ -> /user/student401/lab? (@82.66.171.3) 1.00ms
[...]
python3[186449]: [W 2022-12-06 10:24:15.167 LabApp] Could not determine jupyterlab build status without nodejs
python3[186449]: [I 2022-12-06 10:24:15.175 SingleUserLabApp log:186] 200 GET /user/student401/lab/api/build?1670322254347 (student401@82.66.171.3) 803.70ms
python3[186449]: [I 2022-12-06 10:24:15.183 SingleUserLabApp log:186] 200 GET /user/student401/lab/api/settings/@jupyterlab/application-extension:context-menu?1670322254880 (student401@82.66.171.3) 15.00ms
python3[186449]: [I 2022-12-06 10:24:15.227 SingleUserLabApp log:186] 200 GET /user/student401/lab/api/settings/@jupyterlab/shortcuts-extension:shortcuts?1670322255155 (student401@82.66.171.3) 18.82ms
python3[186449]: [W 2022-12-06 10:24:15.645 SingleUserLabApp web:1796] 500 PUT /user/student401/lab/api/workspaces/auto-0?1670322255615 (82.66.171.3): [Errno 13] Permission denied: '/opt/jupyterhub/etc/jupyter/lab/workspaces'
python3[186449]: [W 2022-12-06 10:24:15.646 LabApp] wrote error: "[Errno 13] Permission denied: '/opt/jupyterhub/etc/jupyter/lab/workspaces'"
python3[186449]: [E 2022-12-06 10:24:15.647 SingleUserLabApp log:178] {
python3[186449]: "X-Forwarded-Host": "notebooks3.hpedev.io",
python3[186449]: "X-Forwarded-Proto": "http",
python3[186449]: "X-Forwarded-Port": "80",
python3[186449]: "Referer": "http://notebooks3.hpedev.io/user/student401/lab/api/workspaces/auto-0",
python3[186449]: "X-Real-Ip": "82.66.171.3",
python3[186449]: "Host": "notebooks3.hpedev.io",
python3[186449]: "X-Forwarded-For": "82.66.171.3,::ffff:16.31.84.1",
python3[186449]: "Cache-Control": "no-cache",
python3[186449]: "Pragma": "no-cache",
python3[186449]: "Sec-Gpc": "1",
python3[186449]: "Dnt": "1",
python3[186449]: "Sec-Fetch-Site": "same-origin",
python3[186449]: "Sec-Fetch-Mode": "cors",
python3[186449]: "Sec-Fetch-Dest": "empty",
python3[186449]: "Cookie": "_xsrf=[secret]; jupyterhub-user-student401=[secret]; jupyterhub-session-id=[secret]",
python3[186449]: "Content-Length": "405",
python3[186449]: "Origin": "https://notebooks3.hpedev.io",
python3[186449]: "X-Xsrftoken": "2|b24c52ef|524c31b63e883ef8830e2be0be0aa2eb|1669226799",
python3[186449]: "Authorization": "token [secret]",
python3[186449]: "Content-Type": "text/plain;charset=UTF-8",
python3[186449]: "Accept-Encoding": "gzip, deflate, br",
python3[186449]: "Accept-Language": "en-US,fr;q=0.7,en;q=0.3",
python3[186449]: "Accept": "*/*",
python3[186449]: "User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0",
python3[186449]: "Connection": "close"
python3[186449]: }
python3[186449]: [E 2022-12-06 10:24:15.647 SingleUserLabApp log:186] 500 PUT /user/student401/lab/api/workspaces/auto-0?1670322255615 (student401@82.66.171.3) 4.02ms
python3[186449]: [I 2022-12-06 10:24:15.816 SingleUserLabApp log:186] 200 GET /user/student401/api/contents?content=1&1670322255736 (student401@82.66.171.3) 8.93ms
python3[186449]: [W 2022-12-06 10:24:16.303 SingleUserLabApp web:1796] 500 PUT /user/student401/lab/api/workspaces/auto-0?1670322256273 (82.66.171.3): [Errno 13] Permission denied: '/opt/jupyterhub/etc/jupyter/lab/workspaces'
python3[186449]: [W 2022-12-06 10:24:16.303 LabApp] wrote error: "[Errno 13] Permission denied: '/opt/jupyterhub/etc/jupyter/lab/workspaces'"
python3[186449]: [E 2022-12-06 10:24:16.305 SingleUserLabApp log:178] {
python3[186449]: "X-Forwarded-Host": "notebooks3.hpedev.io",
python3[186449]: "X-Forwarded-Proto": "http",
python3[186449]: "X-Forwarded-Port": "80",
python3[186449]: "Referer": "http://notebooks3.hpedev.io/user/student401/lab/api/workspaces/auto-0",
python3[186449]: "X-Real-Ip": "82.66.171.3",
python3[186449]: "Host": "notebooks3.hpedev.io",
python3[186449]: "X-Forwarded-For": "82.66.171.3,::ffff:16.31.84.1",
python3[186449]: "Cache-Control": "no-cache",
python3[186449]: "Pragma": "no-cache",
python3[186449]: "Sec-Gpc": "1",
python3[186449]: "Dnt": "1",
python3[186449]: "Sec-Fetch-Site": "same-origin",
python3[186449]: "Sec-Fetch-Mode": "cors",
python3[186449]: "Sec-Fetch-Dest": "empty",
python3[186449]: "Cookie": "_xsrf=[secret]; jupyterhub-user-student401=[secret]; jupyterhub-session-id=[secret]",
python3[186449]: "Content-Length": "450",
python3[186449]: "Origin": "https://notebooks3.hpedev.io",
python3[186449]: "X-Xsrftoken": "2|b24c52ef|524c31b63e883ef8830e2be0be0aa2eb|1669226799",
python3[186449]: "Authorization": "token [secret]",
python3[186449]: "Content-Type": "text/plain;charset=UTF-8",
python3[186449]: "Accept-Encoding": "gzip, deflate, br",
python3[186449]: "Accept-Language": "en-US,fr;q=0.7,en;q=0.3",
python3[186449]: "Accept": "*/*",
python3[186449]: "User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0",
python3[186449]: "Connection": "close"
python3[186449]: }
python3[186449]: [E 2022-12-06 10:24:16.305 SingleUserLabApp log:186] 500 PUT /user/student401/lab/api/workspaces/auto-0?1670322256273 (student401@82.66.171.3) 3.68ms
python3[186449]: [I 2022-12-06 10:24:17.059 SingleUserLabApp log:186] 200 GET /user/student401/api/nbconvert?1670322254579 (student401@82.66.171.3) 2324.50ms
And it seems indeed that the other conf files (we generate one under $HOME/.jupyter called jupyter_notebook_config.py containing:
c = get_config() # noqa
c.NotebookApp.default_url = 'WKSHP-API101/0-ReadMeFirst.ipynb'
doesn’t open automatically the notebook mentioned (this is what we ultimately try to achieve).
(Path exists)