Check the forum to ensure the issue hasn’t been reported already
Provide a clear description of the bug
At some point today I keep getting the codebase not indexed notification while trying to chat with cursor about my project. Then I notice the codebase indexing is looping between handshake failure → loading → setting up → handshake failure.
All the chats will start at first and then get stuck at generation and then stop showing Connection failed. If the problem persists, please check your internet connection or VPN
(Request ID: b6ae7a2d-facc-4ae6-94b7-ff754bdbe398)
Here is the error log from Cursor indexing and retrieval:
2025-04-23 19:41:52.480 [info] multiCodebaseIndexingJob dispose
2025-04-23 19:41:52.480 [info] Aborting indexing job.
2025-04-23 19:41:52.480 [info] Indexing job successfully done or aborted.
2025-04-23 19:41:52.581 [info] Using existing keys for an index
2025-04-23 19:41:52.582 [info] InternalRepoInfo constructor with preferredEmbeddingModel 0
2025-04-23 19:41:54.178 [info] Using existing keys for an index
2025-04-23 19:41:54.178 [info] InternalRepoInfo constructor with preferredEmbeddingModel 0
2025-04-23 19:41:54.178 [info] Setting indexing intent to should-index
2025-04-23 19:41:54.178 [info] Using existing keys for an index
2025-04-23 19:41:54.179 [info] InternalRepoInfo constructor with preferredEmbeddingModel 0
2025-04-23 19:41:54.210 [info] Doing a startup handshake.
2025-04-23 19:41:54.351 [info] Finished computing merkle tree in 83.58702900027856 ms.
2025-04-23 19:41:54.352 [info] Doing the initial handshake with hash: 1a66074ddf54fe22d4d49968c6d3c0ded4f5cddf77906f88743b8bce7016af45
2025-04-23 19:41:54.356 [info] Computed simhash vector of length: 256
2025-04-23 19:41:54.356 [info] Path key hash: 5fb463aeef14637efb12e466a197ad6cd4b20efb06264f673389ff1c27a6f8c0
2025-04-23 19:41:54.356 [info] Handshake start
2025-04-23 19:41:56.444 [warning] Retrying handshake with timeout 4000. Error: [internal] self-signed certificate in certificate chain
2025-04-23 19:41:56.444 [info] Handshake start
2025-04-23 19:42:00.549 [warning] Retrying handshake with timeout 8000. Error: [internal] self-signed certificate in certificate chain
2025-04-23 19:42:00.549 [info] Handshake start
2025-04-23 19:42:08.625 [warning] Retrying handshake with timeout 16000. Error: [internal] self-signed certificate in certificate chain
2025-04-23 19:42:08.626 [info] Handshake start
2025-04-23 19:42:24.719 [warning] Retrying handshake with timeout 32000. Error: [internal] self-signed certificate in certificate chain
2025-04-23 19:42:24.719 [info] Handshake start
I saw some other post saying by disable http/2, indexing won’t work, but the same setting has been working for me until today.
Explain how to reproduce the bug (if known)
I am behind corporate network, and disabled http/2. It works fine until today.
UPDATE:
When I open the project on local machine, the indexing works. However, when I ssh into remote server (physical machine in the company instead of any cloud based service), I get the handshake error as shown above. And it only happens since this afternoon.
Attach screenshots or recordings (e.g.,
.jpg
, .png
, .mp4
).

Tell us your operating system and your Cursor version (e.g.,
Windows, 0.x.x
).
Version: 0.49.4 (Universal)
VSCode Version: 1.96.2
Commit: ec408037b24566b11e6132c58bbe6ad27046eb90
Date: 2025-04-22T00:33:06.906Z
Electron: 34.3.4
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.4.0
Tell us if the issue stops you from using Cursor.