Failed handshake with codebase indexing

Getting this output in the logs when updating codebase index and it loops. its stuck on setting up indexing…, I already tried disabling http2 via the cursor settings

2025-03-17 11:35:56.290 [info] Handshake start

2025-03-17 11:35:58.626 [warning] Retrying handshake with timeout 4000. Error: [internal] internal error

2025-03-17 11:35:58.626 [info] Handshake start

2025-03-17 11:36:02.965 [warning] Retrying handshake with timeout 8000. Error: [internal] internal error

2025-03-17 11:36:02.965 [info] Handshake start

2025-03-17 11:36:08.312 [info] Creating Indexing Repo client: https://repo42.cursor.sh

2025-03-17 11:36:08.312 [info] Creating repo client with backend url: https://api2.cursor.sh

2025-03-17 11:36:11.313 [warning] Retrying handshake with timeout 16000. Error: [internal] internal error

2025-03-17 11:36:11.313 [info] Handshake start

Same here.

2025-03-17 21:46:00.108 [info] Handshake start

2025-03-17 21:46:25.164 [info] multiCodebaseIndexingJob dispose

2025-03-17 21:46:25.164 [info] Aborting indexing job.

2025-03-17 21:46:25.166 [info] Indexing job successfully done or aborted.

2025-03-17 21:46:30.237 [info] Creating Indexing Repo client: https://repo42.cursor.sh

2025-03-17 21:46:30.237 [info] Creating repo client with backend url: https://repo42.cursor.sh

2025-03-17 21:46:30.237 [error] Git command failed: git config --get remote.origin.url Command failed: git config --get remote.origin.url

2025-03-17 21:46:30.237 [error] Error getting repo info: Command failed: git config --get remote.origin.url

2025-03-17 21:46:30.237 [error] Error: Command failed: git config --get remote.origin.url

at genericNodeError (node:internal/errors:984:15)

at wrappedFn (node:internal/errors:538:14)

at ChildProcess.exithandler (node:child_process:422:12)

at ChildProcess.emit (node:events:518:28)

at maybeClose (node:internal/child_process:1104:16)

at Socket. (node:internal/child_process:456:11)

at Socket.emit (node:events:518:28)

at Pipe. (node:net:343:12)

2025-03-17 21:46:30.380 [info] InternalRepoInfo constructor with preferredEmbeddingModel 0

2025-03-17 21:46:30.448 [info] Doing a startup handshake.

2025-03-17 21:46:30.672 [info] Finished computing merkle tree in 171.13320899999962 ms.

2025-03-17 21:46:30.673 [info] Doing the initial handshake with hash: bdb8da405644b5e7d49a0495ce63f660fabbf3a6ac673d81b01a7b08b611b00b

2025-03-17 21:46:30.675 [info] Handshake start

2025-03-17 21:46:31.922 [info] Creating Indexing Repo client: https://repo42.cursor.sh

2025-03-17 21:46:31.922 [info] Creating repo client with backend url: https://repo42.cursor.sh

2025-03-17 21:46:31.922 [info] multiCodebaseIndexingJob dispose

2025-03-17 21:46:31.922 [info] Aborting indexing job.

2025-03-17 21:46:31.922 [info] InternalRepoInfo constructor with preferredEmbeddingModel 0

2025-03-17 21:46:31.923 [info] Indexing job successfully done or aborted.

2025-03-17 21:46:31.924 [info] Doing a startup handshake.

2025-03-17 21:46:31.961 [info] Finished computing merkle tree in 26.607750000000124 ms.

2025-03-17 21:46:31.962 [info] Doing the initial handshake with hash: bdb8da405644b5e7d49a0495ce63f660fabbf3a6ac673d81b01a7b08b611b00b

2025-03-17 21:46:31.962 [info] Handshake start

2025-03-17 21:46:34.321 [warning] Retrying handshake with timeout 4000. Error: [unavailable] HTTP 502

2025-03-17 21:46:34.321 [info] Handshake start

2025-03-17 21:46:38.507 [warning] Retrying handshake with timeout 8000. Error: [unavailable] HTTP 502

2025-03-17 21:46:38.507 [info] Handshake start

2025-03-17 21:46:46.696 [warning] Retrying handshake with timeout 16000. Error: [unavailable] HTTP 502

2025-03-17 21:46:46.696 [info] Handshake start

2025-03-17 21:47:02.884 [warning] Retrying handshake with timeout 32000. Error: [unavailable] HTTP 502

2025-03-17 21:47:02.885 [info] Handshake start

2025-03-17 21:47:31.929 [info] multiCodebaseIndexingJob dispose

2025-03-17 21:47:31.929 [info] Aborting indexing job.

2025-03-17 21:47:31.929 [info] Doing a startup handshake.

2025-03-17 21:47:31.929 [info] Indexing job successfully done or aborted.

2025-03-17 21:47:32.016 [info] Finished computing merkle tree in 62.5637080000015 ms.

2025-03-17 21:47:32.016 [info] Doing the initial handshake with hash: bdb8da405644b5e7d49a0495ce63f660fabbf3a6ac673d81b01a7b08b611b00b

2025-03-17 21:47:32.017 [info] Handshake start

2025-03-17 21:47:34.211 [warning] Retrying handshake with timeout 4000. Error: [unavailable] HTTP 502

2025-03-17 21:47:34.211 [info] Handshake start

2025-03-17 21:47:38.415 [warning] Retrying handshake with timeout 8000. Error: [unavailable] HTTP 502

2025-03-17 21:47:38.415 [info] Handshake start

It happened after i updated to latest version.

it resolved on its own after 1hr

Thats very likely, you should mark your case as solved. I imagine cursors API was busy with so many people upgrading to newever version and adding projects.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.