I’m encountering an issue when trying to launch Cursor in WSL — it fails during the VSCode Server setup with the error:
Download checksum: undefined
I found a similar issue described here:
That post suggests installing the anysphere.remote-wsl extension as a potential workaround. I tried installing it, but unfortunately, it didn’t resolve the problem in my case.
Hi! Could you share the output logs for “Remote - WSL” when on the Anysphere extension? It’s likely a network issue with the download, but the logs would confirm. Attaching a screenshot
@AuroraMaster – have you already tried restarting your WSL distribution (or restarting your computer?)? Sometimes the network forwarding flakes, in which case a reboot is needed. Otherwise, this could be a firewall issue – Cursor (from Windows) needs to be able to reach a server running within the WSL environment.
I tested again with my WSL project and containers running inside Docker on WSL. Initially, launching them in Cursor didn’t work for several minutes. However, after leaving it alone for about 10 minutes, it eventually started working.
Interestingly, once it started working, subsequent attempts to close and reopen the project resulted in a very fast startup.
Later, after putting my computer to sleep and waking it up (WSL was left running), the startup time became slow again — it took several minutes just like the first time.
When the link is lost, is there a large amount of disk io? It is known that the wsl memory setting is insufficient. Setting swap and mapping through network disk instead of using virofs for mapping will occupy a large amount of io and cause blocking during compilation and other operations. It is recommended to set a larger memory, turn off swap, turn on CPU virtualization, limit memory usage in the windows configuration file .wslconfig, and turn on kernel virtualization-level disk mapping virofs instead of using the default smb for file access operations.