I’ve recently moved my development to the WSL (Windows Subsystem for Linux), and installed the official WSL extension for Cursor. Now, when I select the ‘Connect to WSL’ from the bottom left button (the ‘Connect to Remote Window’ button), the app restarts and runs from WSL (Ubuntu).
But when I tried to put a prompt to the Agent, I’ve noticed this line: Note: Codebase is not indexed yet. Results are much better when indexed. Currently indexing...
The settings page also shows the same (provided in the image). After showing this on the Settings Page for some time, it shows Handshake failed option on instead of the Setting up indexing ... part.
Steps to Reproduce
I’ve tried reopening the project, restarting the IDE, and even restarting my Windows, but it still doesn’t work.
Hi @Siam, these logs indicate that there is a network error. Could you try running the network diagnostics in the Cursor settings, and try changing the HTTP Compatibility Mode to HTTP/1.1?
Does your network environment require a proxy? If so, these will need to be configured inside WSL (not just windows). We’ll source the .bashrc / .bash_profile when starting the server process, so you can put the configuration in there.
After changing these files, please kill the remote server with the command “WSL: Kill Remote Server and Reload Window”, so the new config will take effect: