Failed to start server on vs code on marimo 0.14.*
Last version working : 0.13.15 Error output : "Error : info {}"
setup : Conda environment with uv pip
Thanks for filing. We're doing a deep dive on improving our VS Code experience, we can look into this (@manzt).
Are you using the VSCode extension?
Thanks for filing. We're doing a deep dive on improving our VS Code experience, we can look into this (@manzt).
Are you using the VSCode extension?
Yes. I am on latest vscode and marimo extension versions. I don't think it is related to vscode extension in particular, I am not able to start marimo server on 0.14 version anywhere (powershell, cmd, changing cd, updating watchdog,.. all don't work.
Is there an error message in the terminal you can share? Ideally the entire log you see
Here is the logs:
marimo 0.14.17
powershell: server is started normally.
vscode output channel : (native notebook: stuck on loading, no cells | edit mode: failed
2025-06-24 15:35:53.617 [info] [server-manager]: Server started at port 2818 2025-06-24 15:35:58.293 [info] Using interpreter: c:\Users\7amzawy\miniforge3\envs\sci\python.exe 2025-06-24 15:35:58.294 [info] Executing: c:\Users\7amzawy\miniforge3\envs\sci\python.exe ["-m","marimo","--version"] 2025-06-24 15:36:24.758 [error] Could not fetch http://localhost:2818/. Is http://localhost:2818/ healthy? 2025-06-24 15:36:24.759 [error] [server-manager] Unexpected error starting server {"error":{}} 2025-06-24 15:36:24.759 [error] [server-manager] Unexpected error starting server {"error":{},"state":"started"}
Marimo 0.14.15 and 0.14.16: powershell: win32 Error related to sockets I can't reproduce now ( I am not able to install any of therse versions now) vscode output channel: same error as above
2025-06-24 15:35:53.617 [info] [server-manager]: Server started at port 2818 2025-06-24 15:35:58.293 [info] Using interpreter: c:\Users\7amzawy\miniforge3\envs\sci\python.exe 2025-06-24 15:35:58.294 [info] Executing: c:\Users\7amzawy\miniforge3\envs\sci\python.exe ["-m","marimo","--version"] 2025-06-24 15:36:24.758 [error] Could not fetch http://localhost:2818/. Is http://localhost:2818/ healthy? 2025-06-24 15:36:24.759 [error] [server-manager] Unexpected error starting server {"error":{}} 2025-06-24 15:36:24.759 [error] [server-manager] Unexpected error starting server {"error":{},"state":"started"}
I'm able to reproduce on macos.
Got the same error on cursor:
Version: 1.1.6
VSCode Version: 1.96.2
Commit: 5b19bac7a947f54e4caa3eb7e4c5fbf832389850
Date: 2025-06-25T02:14:24.784Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0
I can confirm rolling back to v0.13.15 fixes the issue. All v0.14.0 are breaking atm.
With "marimo.enableToken": false (default) we get
Could not find marimo-server-token
with "marimo.enableToken": true we get:
Failed to start marimo server: Error: An existing marimo server created outside of vscode is running at this url: http://localhost:2818/
in both cases the marimo server starts and I can connect with the browser. it just seems the vscode plugin is unable to coordinate to fetch the token or connect to the server
@glesperance @KareemShalabi this should be fixed by 0.14.9. Please let us know if you're still running into issues!