Remote JupyterHub Access returns 404 - Kernel url encoding error #15055
Labels
bug
Issue identified by VS Code Team member as probable bug
info-needed
Issue requires more information from poster
notebook-remote
Applies to remote Jupyter Servers
Applies To
What happened?
I am trying to connect to a remote Jupyter Hub using Azure AD authentification with a username format "lastname, firstname".
Authentification via the url https://myremoteserver.com/user/lastname%2C%20firsname/apikey seems to work.
But when trying to connect to the kernel I get a 404 kernel not found with the error log provided below.
It seems to try accessing the kernel using the address https://myremoteserver.com/user/lastname,%20firstname/api/kernels?1705935929291 without encoding the comma in the username.
When I try accessing the kernel via web browser using the corrected URL https://myremoteserver.com/user/lastname%2C%20firstname/api/kernels?1705935929291 the API seems to normally.
NB: Doing the connection procedure with a username without a coma (e.g. formated "lastname") works.
VS Code Version
Version: 1.85.1 Commit: 0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2 Date: 2023-12-13T09:47:11.635Z Electron: 25.9.7 ElectronBuildId: 25551756 Chromium: 114.0.5735.289 Node.js: 18.15.0 V8: 11.4.183.29-electron.0 OS: Linux x64 6.5.0-14-generic snap
Jupyter Extension Version
v2023.11.1100101639
Jupyter logs
Coding Language and Runtime Version
No response
Language Extension Version (if applicable)
No response
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
Remote
The text was updated successfully, but these errors were encountered: