You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got the following error when trying to connect to jupyverse from VSCode
Connection failure. Verify the server is running and reachable. (invalid json response body at http://127.0.0.1:8000/login reason: Unexpected token < in JSON at position 0).
Reproduce
Step 1: Install jupyverse
pip install jupyverse[auth,jupyterlab]==0.4.2
Step2: Start jupyverse
$ jupyverse
[2024-03-31 20:49:55,408 INFO] Running in development mode
[2024-03-31 20:49:55,420 INFO] Starting application
[2024-03-31 20:49:56,247 INFO]
[2024-03-31 20:49:56,247 INFO] To access the server, copy and paste this URL:
[2024-03-31 20:49:56,248 INFO] http://127.0.0.1:8000/?token=7b91e9c1fa1244768a041a6b175c53b9
[2024-03-31 20:49:56,248 INFO]
[2024-03-31 20:49:56,257 INFO] Started server process [35886]
[2024-03-31 20:49:56,257 INFO] Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
[2024-03-31 20:49:56,257 INFO] Application started
Connection failure. Verify the server is running and reachable. (invalid json response body at http://127.0.0.1:8000/login reason: Unexpected token < in JSON at position 0).
Expected behavior
No error
Context
Operating System and version: NixOS in WSL
Browser and version: VSCode's Jupyter extension ms-toolsai.jupyterv2024.2.0
21:00:19.971 [error] Jupyter Lab Helper:getKernelSpecs failure: Error: Poll (@jupyterlab/services:KernelSpecManager#specs) is disposed.
at v.dispose (~/.vscode-server/extensions/ms-toolsai.jupyter-2024.2.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:10935)
at ni.dispose (~/.vscode-server/extensions/ms-toolsai.jupyter-2024.2.0-linux-x64/dist/node_modules/@jupyterlab/services.js:11:29299)
at r.dispose (~/.vscode-server/extensions/ms-toolsai.jupyter-2024.2.0-linux-x64/dist/extension.node.js:198:12579)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Promise.all (index 0)
at sD.listKernelsFromConnection (~/.vscode-server/extensions/ms-toolsai.jupyter-2024.2.0-linux-x64/dist/extension.node.js:308:20060)
at ~/.vscode-server/extensions/ms-toolsai.jupyter-2024.2.0-linux-x64/dist/extension.node.js:308:17959
21:00:20.003 [warn] Password for http://127.0.0.1:8000/ was invalid.
The text was updated successfully, but these errors were encountered:
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋
Description
I got the following error when trying to connect to jupyverse from VSCode
Reproduce
Step 1: Install jupyverse
Step2: Start jupyverse
Step 3:
In VSCode, try to connect to http://127.0.0.1:8000/?token=7b91e9c1fa1244768a041a6b175c53b9, according to
https://code.visualstudio.com/docs/datascience/notebooks-web#_connect-to-a-remote-jupyter-server
Result
Expected behavior
No error
Context
ms-toolsai.jupyter
v2024.2.0
jupyverse
0.4.2
Troubleshoot Output
Command Line Output
Client Output
The text was updated successfully, but these errors were encountered: