Codebase Indexing Issue

Hi! My codebases, no matter where they are on my computer, won’t get indexed. This behavior persists on nightly and stable, and after multiple appcleaner uninstalls/reinstalls, AND with most extensions disabled.

The specific error I’m getting is a “ConnectError: [internal] internal error”.

Logs:

2024-01-08 05:22:55.630 [info] Not indexing because user does not want to index this workspace.
2024-01-08 05:22:59.999 [info] Setting indexing intent to should-index
2024-01-08 05:23:00.000 [info] Creating merkle client.
2024-01-08 05:23:00.000 [info] Done creating merkle client.
2024-01-08 05:23:00.000 [info] Doing a startup handshake.
2024-01-08 05:23:00.002 [info] Finished initializing merkle tree in 2.0015000104904175 ms.
2024-01-08 05:23:00.002 [info] Doing the initial handshake with hash: 
2024-01-08 05:23:00.404 [info] Handshake result:
2024-01-08 05:23:00.404 [info] Starting fast remote sync.
2024-01-08 05:23:00.405 [info] Total num embeddable files: 0
2024-01-08 05:23:00.405 [info] Root hash: 
2024-01-08 05:23:00.405 [info] Starting repository upload from scratch.
2024-01-08 05:23:00.405 [info] Uploading 0 files.
2024-01-08 05:23:08.053 [info] Indexing job successfully done or aborted.
2024-01-08 05:23:08.054 [info] Setting indexing intent to should-index
2024-01-08 05:23:08.054 [info] Creating merkle client.
2024-01-08 05:23:08.054 [info] Done creating merkle client.
2024-01-08 05:23:08.054 [info] Doing a startup handshake.
2024-01-08 05:23:08.056 [info] Finished initializing merkle tree in 1.8183749914169312 ms.
2024-01-08 05:23:08.056 [info] Doing the initial handshake with hash: 
2024-01-08 05:23:08.146 [info] Handshake result:
2024-01-08 05:23:08.146 [info] Starting fast remote sync.
2024-01-08 05:23:08.147 [info] Total num embeddable files: 0
2024-01-08 05:23:08.147 [info] Root hash: 
2024-01-08 05:23:08.148 [info] Finished indexing repository.
2024-01-08 05:23:08.148 [info] Indexing job successfully done or aborted.
2024-01-08 05:23:15.965 [info] Setting indexing intent to should-index
2024-01-08 05:23:15.965 [info] Creating merkle client.
2024-01-08 05:23:15.965 [info] Done creating merkle client.
2024-01-08 05:23:15.965 [info] Doing a startup handshake.
2024-01-08 05:23:15.967 [info] Finished initializing merkle tree in 1.9686250686645508 ms.
2024-01-08 05:23:15.968 [info] Doing the initial handshake with hash: 
2024-01-08 05:23:16.110 [info] Handshake result:
2024-01-08 05:23:16.110 [info] Starting fast remote sync.
2024-01-08 05:23:16.111 [info] Total num embeddable files: 0
2024-01-08 05:23:16.111 [info] Root hash: 
2024-01-08 05:23:16.111 [info] Finished indexing repository.
2024-01-08 05:23:16.112 [info] Indexing job successfully done or aborted.
2024-01-08 05:23:16.945 [info] Setting indexing intent to should-index
2024-01-08 05:23:16.946 [info] Creating merkle client.
2024-01-08 05:23:16.946 [info] Done creating merkle client.
2024-01-08 05:23:16.946 [info] Doing a startup handshake.
2024-01-08 05:23:16.947 [info] Finished initializing merkle tree in 1.1722500324249268 ms.
2024-01-08 05:23:16.947 [info] Doing the initial handshake with hash: 
2024-01-08 05:23:17.041 [info] Handshake result:
2024-01-08 05:23:17.042 [info] Starting fast remote sync.
2024-01-08 05:23:17.042 [info] Total num embeddable files: 0
2024-01-08 05:23:17.042 [info] Root hash: 
2024-01-08 05:23:17.042 [info] Finished indexing repository.
2024-01-08 05:23:17.042 [info] Indexing job successfully done or aborted.
2024-01-08 05:23:17.338 [info] Setting indexing intent to should-index
2024-01-08 05:23:17.339 [info] Creating merkle client.
2024-01-08 05:23:17.339 [info] Done creating merkle client.
2024-01-08 05:23:17.339 [info] Doing a startup handshake.
2024-01-08 05:23:17.342 [info] Finished initializing merkle tree in 3.3952499628067017 ms.
2024-01-08 05:23:17.342 [info] Doing the initial handshake with hash: 
2024-01-08 05:23:17.433 [info] Handshake result:
2024-01-08 05:23:17.433 [info] Starting fast remote sync.
2024-01-08 05:23:17.434 [info] Total num embeddable files: 0
2024-01-08 05:23:17.435 [info] Root hash: 
2024-01-08 05:23:17.435 [info] Finished indexing repository.
2024-01-08 05:23:17.435 [info] Indexing job successfully done or aborted.
2024-01-08 05:23:17.501 [info] Setting indexing intent to should-index
2024-01-08 05:23:17.501 [info] Creating merkle client.
2024-01-08 05:23:17.501 [info] Done creating merkle client.
2024-01-08 05:23:17.502 [info] Doing a startup handshake.
2024-01-08 05:23:17.504 [info] Finished initializing merkle tree in 3.129709005355835 ms.
2024-01-08 05:23:17.505 [info] Doing the initial handshake with hash: 
2024-01-08 05:23:17.596 [info] Handshake result:
2024-01-08 05:23:17.596 [info] Starting fast remote sync.
2024-01-08 05:23:17.597 [info] Total num embeddable files: 0
2024-01-08 05:23:17.598 [info] Root hash: 
2024-01-08 05:23:17.598 [info] Finished indexing repository.
2024-01-08 05:23:17.598 [info] Indexing job successfully done or aborted.
2024-01-08 05:23:17.666 [info] Setting indexing intent to should-index
2024-01-08 05:23:17.666 [info] Creating merkle client.
2024-01-08 05:23:17.666 [info] Done creating merkle client.
2024-01-08 05:23:17.666 [info] Doing a startup handshake.
2024-01-08 05:23:17.668 [info] Finished initializing merkle tree in 2.187999963760376 ms.
2024-01-08 05:23:17.668 [info] Doing the initial handshake with hash: 
2024-01-08 05:23:17.758 [info] Handshake result:
2024-01-08 05:23:17.759 [info] Starting fast remote sync.
2024-01-08 05:23:17.759 [info] Total num embeddable files: 0
2024-01-08 05:23:17.759 [info] Root hash: 
2024-01-08 05:23:17.759 [info] Finished indexing repository.
2024-01-08 05:23:17.759 [info] Indexing job successfully done or aborted.
2024-01-08 05:23:17.833 [info] Setting indexing intent to should-index
2024-01-08 05:23:17.833 [info] Creating merkle client.
2024-01-08 05:23:17.833 [info] Done creating merkle client.
2024-01-08 05:23:17.833 [info] Doing a startup handshake.
2024-01-08 05:23:17.836 [info] Finished initializing merkle tree in 2.6637920141220093 ms.
2024-01-08 05:23:17.836 [info] Doing the initial handshake with hash: 
2024-01-08 05:23:17.927 [info] Handshake result:
2024-01-08 05:23:17.927 [info] Starting fast remote sync.
2024-01-08 05:23:17.928 [info] Total num embeddable files: 0
2024-01-08 05:23:17.928 [info] Root hash: 
2024-01-08 05:23:17.928 [info] Finished indexing repository.
2024-01-08 05:23:17.928 [info] Indexing job successfully done or aborted.
2024-01-08 05:23:17.952 [info] Setting indexing intent to should-index
2024-01-08 05:23:17.953 [info] Creating merkle client.
2024-01-08 05:23:17.953 [info] Done creating merkle client.
2024-01-08 05:23:17.953 [info] Doing a startup handshake.
2024-01-08 05:23:17.956 [info] Finished initializing merkle tree in 2.8617089986801147 ms.
2024-01-08 05:23:17.956 [info] Doing the initial handshake with hash: 
2024-01-08 05:23:18.043 [info] Handshake result:
2024-01-08 05:23:18.043 [info] Starting fast remote sync.
2024-01-08 05:23:18.043 [info] Total num embeddable files: 0
2024-01-08 05:23:18.044 [info] Root hash: 
2024-01-08 05:23:18.044 [info] Finished indexing repository.
2024-01-08 05:23:18.044 [info] Indexing job successfully done or aborted.
2024-01-08 05:24:07.863 [info] Setting indexing intent to should-index
2024-01-08 05:24:07.865 [info] Creating merkle client.
2024-01-08 05:24:07.865 [info] Done creating merkle client.
2024-01-08 05:24:07.865 [info] Doing a startup handshake.
2024-01-08 05:24:07.866 [info] Finished initializing merkle tree in 1.861625075340271 ms.
2024-01-08 05:24:07.867 [info] Doing the initial handshake with hash: 
2024-01-08 05:24:07.958 [info] Handshake result:
2024-01-08 05:24:07.958 [info] Starting fast remote sync.
2024-01-08 05:24:07.959 [info] Total num embeddable files: 0
2024-01-08 05:24:07.959 [info] Root hash: 
2024-01-08 05:24:07.959 [info] Finished indexing repository.
2024-01-08 05:24:07.959 [info] Indexing job successfully done or aborted.
2024-01-08 05:24:09.823 [info] Setting indexing intent to should-index
2024-01-08 05:24:09.824 [info] Creating merkle client.
2024-01-08 05:24:09.824 [info] Done creating merkle client.
2024-01-08 05:24:09.824 [info] Doing a startup handshake.
2024-01-08 05:24:09.825 [info] Finished initializing merkle tree in 1.3193329572677612 ms.
2024-01-08 05:24:09.826 [info] Doing the initial handshake with hash: 
2024-01-08 05:24:09.918 [info] Handshake result:
2024-01-08 05:24:09.918 [info] Starting fast remote sync.
2024-01-08 05:24:09.919 [info] Total num embeddable files: 0
2024-01-08 05:24:09.919 [info] Root hash: 
2024-01-08 05:24:09.919 [info] Finished indexing repository.
2024-01-08 05:24:09.923 [info] Indexing job successfully done or aborted.
2024-01-08 05:24:11.204 [info] Setting indexing intent to should-index
2024-01-08 05:24:11.204 [info] Creating merkle client.
2024-01-08 05:24:11.204 [info] Done creating merkle client.
2024-01-08 05:24:11.204 [info] Doing a startup handshake.
2024-01-08 05:24:11.205 [info] Finished initializing merkle tree in 1.2122910022735596 ms.
2024-01-08 05:24:11.205 [info] Doing the initial handshake with hash: 
2024-01-08 05:24:11.306 [info] Handshake result:
2024-01-08 05:24:11.306 [info] Starting fast remote sync.
2024-01-08 05:24:11.306 [info] Total num embeddable files: 0
2024-01-08 05:24:11.306 [info] Root hash: 
2024-01-08 05:24:11.306 [info] Starting repository upload from scratch.
2024-01-08 05:24:11.307 [info] Uploading 0 files.
2024-01-08 05:25:15.022 [error] Failed to upload files.
2024-01-08 05:25:15.051 [error] ConnectError: [internal] internal error
    at s (/Applications/Cursor Nightly.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:1368611)
    at r (/Applications/Cursor Nightly.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:1369046)
    at next (/Applications/Cursor Nightly.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:1375856)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at /Applications/Cursor Nightly.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:760523
    at /Applications/Cursor Nightly.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:760333
    at Object.unary (/Applications/Cursor Nightly.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:1374247)
    at Object.ensureIndexCreated (/Applications/Cursor Nightly.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:1362659)
    at e.RepoClientMultiplexer.ensureIndexCreatedWithRetry (/Applications/Cursor Nightly.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:759461)
    at m.syncFileListToServer (/Applications/Cursor Nightly.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:781743)
    at m.startRepoUpload (/Applications/Cursor Nightly.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:770901)
    at m.startFastRemoteSync (/Applications/Cursor Nightly.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:772073)
    at m.startIndexingRepository (/Applications/Cursor Nightly.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:775581)
2024-01-08 05:25:15.051 [info] Indexing job successfully done or aborted.

Happens on basically every repo. Also the first error, which isn’t there anymore but I think is still affecting the particular repo, is 2024-01-08 03:41:51.118 [error] accessToken is undefined. User is not logged in. We shouldn't do any indexing.

Any help would be super appreciated! have had this issue for at least a month

Are you logged into the Cursor app with your Cursor account? Maybe a logout and login in the Cursor Settings Popup could fix it.

I am!

It did not. Latest set of logs after trying:

I don’t believe I see any logs in your second response. Would love to help debug this!

oh shoot, sorry!!

It was cut off for some reason last time. Unsure why. How else can I give you guys debug information? It’s been driving me wild. Also, it resets a lot (the logs) so unsure what exaxtly would be helpful. I’ve used appcleaner to reinstall, signed in/out/in on an active session, and it still persists. M1 pro Macbook Pro.

2024-01-12 17:35:49.211 [info] Creating merkle client.
2024-01-12 17:35:49.211 [info] Done creating merkle client.
2024-01-12 17:35:49.211 [info] Doing a startup handshake.
2024-01-12 17:35:49.211 [info] Finished initializing merkle tree in 5.776541978120804 ms.
2024-01-12 17:35:49.211 [info] Doing the initial handshake with hash: 
2024-01-12 17:35:55.529 [info] Indexing job successfully done or aborted.
2024-01-12 17:36:07.396 [info] Creating merkle client.
2024-01-12 17:36:07.396 [info] Done creating merkle client.
2024-01-12 17:36:07.396 [info] Doing a startup handshake.
2024-01-12 17:36:07.396 [info] Finished initializing merkle tree in 24.157665997743607 ms.
2024-01-12 17:36:07.396 [info] Doing the initial handshake with hash: 
2024-01-12 17:36:07.428 [warning] Error reading high level folder description. Ignoring. Error: ENOENT: no such file or directory, open '/Users/darin/Library/Application Support/Cursor Nightly/User/workspaceStorage/5a08606b6ca9e1a784bdcda361510867/anysphere.cursor-retrieval/high_level_folder_description.txt'
2024-01-12 17:36:07.567 [warning] Error computing full high level folder description. Ignoring. [unavailable] getaddrinfo ENOTFOUND staging.cursor.sh
2024-01-12 17:38:13.479 [error] Handshake failed:
2024-01-12 17:38:13.480 [error] Error: timeout in handshake with retry
    at e.RepoClientMultiplexer.handshakeWithRetry (/Applications/Cursor Nightly.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:759292)
    at m.getServerStatus (/Applications/Cursor Nightly.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:773274)
    at m.startIndexingRepository (/Applications/Cursor Nightly.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:775434)
2024-01-12 17:38:13.481 [error] Handshake failed.
2024-01-12 17:38:13.481 [info] Indexing job successfully done or aborted.
2024-01-12 19:04:12.498 [info] Creating merkle client.
2024-01-12 19:04:12.524 [info] Done creating merkle client.
2024-01-12 19:04:12.524 [info] Doing a startup handshake.
2024-01-12 19:04:12.689 [info] Finished initializing merkle tree in 190.2750419974327 ms.
2024-01-12 19:04:12.796 [info] Doing the initial handshake with hash: 
2024-01-12 19:40:21.646 [info] Creating merkle client.
2024-01-12 19:40:21.759 [info] Done creating merkle client.
2024-01-12 19:40:21.761 [info] Doing a startup handshake.
2024-01-12 19:40:21.761 [info] Indexing job successfully done or aborted.
2024-01-12 19:40:21.890 [info] Finished initializing merkle tree in 244.437833994627 ms.
2024-01-12 19:40:21.984 [info] Doing the initial handshake with hash: 
2024-01-12 20:41:21.661 [info] Creating merkle client.
2024-01-12 20:41:21.697 [info] Done creating merkle client.
2024-01-12 20:41:21.697 [info] Doing a startup handshake.
2024-01-12 20:41:21.697 [info] Indexing job successfully done or aborted.
2024-01-12 20:41:21.807 [info] Finished initializing merkle tree in 146.0241670012474 ms.
2024-01-12 20:41:21.813 [info] Doing the initial handshake with hash: 
2024-01-12 21:39:48.277 [info] Creating merkle client.
2024-01-12 21:39:48.278 [info] Done creating merkle client.
2024-01-12 21:39:48.278 [info] Doing a startup handshake.
2024-01-12 21:39:48.278 [info] Indexing job successfully done or aborted.
2024-01-12 21:39:48.407 [info] Finished initializing merkle tree in 129.67566698789597 ms.
2024-01-12 21:39:48.412 [info] Doing the initial handshake with hash: 
2024-01-12 21:41:36.702 [info] Handshake result:
2024-01-12 21:41:36.702 [info] Starting fast remote sync.
2024-01-12 21:41:36.703 [info] Total num embeddable files: 0
2024-01-12 21:41:36.704 [info] Root hash: 
2024-01-12 21:41:36.704 [info] Finished indexing repository.
2024-01-12 21:41:36.704 [info] Indexing job successfully done or aborted.
2024-01-12 21:49:48.635 [info] Creating merkle client.
2024-01-12 21:49:48.636 [info] Done creating merkle client.
2024-01-12 21:49:48.636 [info] Doing a startup handshake.
2024-01-12 21:49:48.645 [info] Finished initializing merkle tree in 10.430000007152557 ms.
2024-01-12 21:49:48.646 [info] Doing the initial handshake with hash: 
2024-01-12 21:49:48.838 [info] Handshake result:
2024-01-12 21:49:48.838 [info] Starting fast remote sync.
2024-01-12 21:49:48.842 [info] Total num embeddable files: 0
2024-01-12 21:49:48.843 [info] Root hash: 
2024-01-12 21:49:48.843 [info] Finished indexing repository.
2024-01-12 21:49:48.844 [info] Indexing job successfully done or aborted.
2024-01-12 22:10:28.445 [info] Creating merkle client.
2024-01-12 22:10:28.541 [info] Done creating merkle client.
2024-01-12 22:10:28.541 [info] Doing a startup handshake.
2024-01-12 22:10:28.654 [info] Finished initializing merkle tree in 208.79029098153114 ms.
2024-01-12 22:10:28.654 [info] Doing the initial handshake with hash: 
2024-01-12 22:10:29.100 [info] Handshake result:
2024-01-12 22:10:29.100 [info] Starting fast remote sync.
2024-01-12 22:10:29.100 [info] Total num embeddable files: 0
2024-01-12 22:10:29.100 [info] Root hash: 
2024-01-12 22:10:29.100 [info] Finished indexing repository.
2024-01-12 22:10:29.100 [info] Indexing job successfully done or aborted.
2024-01-12 22:26:55.436 [info] Creating merkle client.
2024-01-12 22:26:55.437 [info] Done creating merkle client.
2024-01-12 22:26:55.437 [info] Doing a startup handshake.

2024-01-13 13:13:35.615 [info] Doing the initial handshake with hash: 
2024-01-13 13:13:35.665 [info] Handshake result:
2024-01-13 13:13:35.665 [info] Starting fast remote sync.
2024-01-13 13:13:35.667 [info] Total num embeddable files: 0
2024-01-13 13:13:35.668 [info] Root hash: 
2024-01-13 13:13:35.668 [info] Starting repository upload from scratch.
2024-01-13 13:13:35.668 [info] Uploading 0 files.

please let me know what else I can give you guys!! It worked literally one time for me so far—on the first project after a clean reinstall, it actually could pull up files. All the other with codebase searches haven’t worked since that one. Deleted, resynced indices. Can’t reference docs either.

It’s for local projects (haven’t tested SSH), persists even in brand new projects, (including new AI projects), and I think the culprit is probably an uncaught exception somewhere in the indexing code? (helpful, i know)

the total num embeddable files is always zero. ive allowed full disk access as well. just… so unsure what this is about or what could be causing it. and if i remember correctly, the issue has persisted across a full system reinstall (with a time machine restore) as well.

Maybe these logs help as well?

2024-01-14 01:04:09.769 [error] Error: Command failed: git config --get remote.origin.url

    at ChildProcess.exithandler (node:child_process:430:12)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1091:16)
    at Socket.<anonymous> (node:internal/child_process:449:11)
    at Socket.emit (node:events:513:28)
    at Pipe.<anonymous> (node:net:322:12)
2024-01-14 01:04:09.769 [info] Creating merkle client.
2024-01-14 01:04:09.769 [info] Done creating merkle client.
2024-01-14 01:04:09.769 [info] Doing a startup handshake.
2024-01-14 01:04:09.769 [info] Finished initializing merkle tree in 1.4020839929580688 ms.
2024-01-14 01:04:09.769 [info] Doing the initial handshake with hash: 
2024-01-14 01:04:10.001 [info] Handshake result:
2024-01-14 01:04:10.001 [info] Starting fast remote sync.
2024-01-14 01:04:10.002 [info] Total num embeddable files: 0
2024-01-14 01:04:10.002 [info] Root hash: 
2024-01-14 01:04:10.002 [info] Finished indexing repository.
2024-01-14 01:04:10.002 [info] Indexing job successfully done or aborted.
2024-01-14 01:04:33.872 [info] Search by message took 13.795832991600037ms for query ""
2024-01-14 01:04:33.872 [info] Search by sha took 12.843208968639374ms for query ""
2024-01-14 01:04:34.604 [info] Search by message took 13.967250049114227ms for query "codebase"
2024-01-14 01:04:34.604 [info] Search by sha took 11.618499994277954ms for query "codebase"
2024-01-14 01:05:11.469 [error] Error: Command failed: git config --get remote.origin.url

    at ChildProcess.exithandler (node:child_process:430:12)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1091:16)
    at Socket.<anonymous> (node:internal/child_process:449:11)
    at Socket.emit (node:events:513:28)
    at Pipe.<anonymous> (node:net:322:12)
2024-01-14 01:05:11.469 [info] Creating merkle client.
2024-01-14 01:05:11.469 [info] Done creating merkle client.
2024-01-14 01:05:11.469 [info] Doing a startup handshake.
2024-01-14 01:05:11.469 [info] Finished initializing merkle tree in 1.136167049407959 ms.
2024-01-14 01:05:11.478 [info] Doing the initial handshake with hash: 
2024-01-14 01:05:11.771 [info] Handshake result:
2024-01-14 01:05:11.771 [info] Starting fast remote sync.
2024-01-14 01:05:11.772 [info] Total num embeddable files: 0
2024-01-14 01:05:11.774 [info] Root hash: 
2024-01-14 01:05:11.774 [info] Finished indexing repository.
2024-01-14 01:05:11.774 [info] Indexing job successfully done or aborted.
2024-01-14 01:05:33.954 [info] Search by message took 10.679082989692688ms for query ""
2024-01-14 01:05:33.955 [info] Search by sha took 10.51800000667572ms for query ""
2024-01-14 01:05:35.908 [info] Search by message took 11.242083013057709ms for query "fi"
2024-01-14 01:05:35.908 [info] Search by sha took 9.959333002567291ms for query "fi"
2024-01-14 01:06:21.589 [error] Error: Command failed: git config --get remote.origin.url

    at ChildProcess.exithandler (node:child_process:430:12)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1091:16)
    at Socket.<anonymous> (node:internal/child_process:449:11)
    at Socket.emit (node:events:513:28)
    at Pipe.<anonymous> (node:net:322:12)
...omitted...

Creating merkle client.
2024-01-14 04:28:34.726 [info] Done creating merkle client.
2024-01-14 04:28:34.726 [info] Doing a startup handshake.
2024-01-14 04:28:34.934 [info] Finished initializing merkle tree in 304.7055000066757 ms.
2024-01-14 04:28:34.988 [info] Doing the initial handshake with hash: 
2024-01-14 04:28:35.298 [info] Handshake result:
2024-01-14 04:28:35.298 [info] Starting fast remote sync.
2024-01-14 04:28:35.300 [info] Total num embeddable files: 0
2024-01-14 04:28:35.301 [info] Root hash: 
2024-01-14 04:28:35.301 [info] Finished indexing repository.
2024-01-14 04:28:35.301 [info] Indexing job successfully done or aborted.
2024-01-14 04:38:34.621 [info] Creating merkle client.
2024-01-14 04:38:34.625 [info] Done creating merkle client.
2024-01-14 04:38:34.625 [info] Doing a startup handshake.
2024-01-14 04:38:34.630 [info] Finished initializing merkle tree in 8.332167029380798 ms.
2024-01-14 04:38:34.630 [info] Doing the initial handshake with hash: 
2024-01-14 04:38:34.787 [info] Handshake result:
2024-01-14 04:38:34.787 [info] Starting fast remote sync.
2024-01-14 04:38:34.788 [info] Total num embeddable files: 0
2024-01-14 04:38:34.788 [info] Root hash: 
2024-01-14 04:38:34.789 [info] Finished indexing repository.
2024-01-14 04:38:34.789 [info] Indexing job successfully done or aborted.
2024-01-14 04:48:34.621 [info] Creating merkle client.
2024-01-14 04:48:34.623 [info] Done creating merkle client.
2024-01-14 04:48:34.623 [info] Doing a startup handshake.
2024-01-14 04:48:34.626 [info] Finished initializing merkle tree in 5.083500027656555 ms.
2024-01-14 04:48:34.626 [info] Doing the initial handshake with hash: 
2024-01-14 04:48:34.776 [info] Handshake result:
2024-01-14 04:48:34.776 [info] Starting fast remote sync.
2024-01-14 04:48:34.776 [info] Total num embeddable files: 0
2024-01-14 04:48:34.777 [info] Root hash: 
2024-01-14 04:48:34.777 [info] Finished indexing repository.
2024-01-14 04:48:34.777 [info] Indexing job successfully done or aborted.
2024-01-14 04:58:34.621 [info] Creating merkle client.
2024-01-14 04:58:34.622 [info] Done creating merkle client.
2024-01-14 04:58:34.622 [info] Doing a startup handshake.
2024-01-14 04:58:34.629 [info] Finished initializing merkle tree in 8.243083000183105 ms.
2024-01-14 04:58:34.630 [info] Doing the initial handshake with hash: 
2024-01-14 04:58:34.845 [info] Handshake result:
2024-01-14 04:58:34.845 [info] Starting fast remote sync.
2024-01-14 04:58:34.862 [info] Total num embeddable files: 0
2024-01-14 04:58:34.882 [info] Root hash: 
2024-01-14 04:58:34.882 [info] Finished indexing repository.
2024-01-14 04:58:34.882 [info] Indexing job successfully done or aborted.
2024-01-14 05:08:34.665 [info] Creating merkle client.
2024-01-14 05:08:34.667 [info] Done creating merkle client.
2024-01-14 05:08:34.667 [info] Doing a startup handshake.
2024-01-14 05:08:34.672 [info] Finished initializing merkle tree in 6.942207992076874 ms.
2024-01-14 05:08:34.672 [info] Doing the initial handshake with hash: 
2024-01-14 05:08:34.820 [info] Handshake result:
2024-01-14 05:08:34.820 [info] Starting fast remote sync.
2024-01-14 05:08:34.821 [info] Total num embeddable files: 0
2024-01-14 05:08:34.822 [info] Root hash: 
2024-01-14 05:08:34.822 [info] Finished indexing repository.
2024-01-14 05:08:34.822 [info] Indexing job successfully done or aborted.
2024-01-14 05:18:34.676 [info] Creating merkle client.
2024-01-14 05:18:34.677 [info] Done creating merkle client.
2024-01-14 05:18:34.677 [info] Doing a startup handshake.
2024-01-14 05:18:34.681 [info] Finished initializing merkle tree in 5.400833010673523 ms.
2024-01-14 05:18:34.683 [info] Doing the initial handshake with hash: 
2024-01-14 05:18:34.834 [info] Handshake result:
2024-01-14 05:18:34.834 [info] Starting fast remote sync.
2024-01-14 05:18:34.835 [info] Total num embeddable files: 0
2024-01-14 05:18:34.835 [info] Root hash: 
2024-01-14 05:18:34.835 [info] Finished indexing repository.
2024-01-14 05:18:34.835 [info] Indexing job successfully done or aborted.
2024-01-14 05:28:34.680 [info] Creating merkle client.
2024-01-14 05:28:34.681 [info] Done creating merkle client.
2024-01-14 05:28:34.681 [info] Doing a startup handshake.
2024-01-14 05:28:34.688 [info] Finished initializing merkle tree in 8.096625030040741 ms.
2024-01-14 05:28:34.688 [info] Doing the initial handshake with hash: 
2024-01-14 05:28:34.897 [info] Handshake result:
2024-01-14 05:28:34.897 [info] Starting fast remote sync.
2024-01-14 05:28:34.916 [info] Total num embeddable files: 0
2024-01-14 05:28:34.937 [info] Root hash: 
2024-01-14 05:28:34.938 [info] Finished indexing repository.
2024-01-14 05:28:34.938 [info] Indexing job successfully done or aborted.
2024-01-14 05:45:23.984 [info] Creating merkle client.
2024-01-14 05:45:23.992 [info] Done creating merkle client.
2024-01-14 05:45:23.993 [info] Doing a startup handshake.
2024-01-14 05:45:23.996 [info] Finished initializing merkle tree in 19.25104194879532 ms.
2024-01-14 05:45:24.054 [info] Doing the initial handshake with hash: 
2024-01-14 05:45:24.542 [info] Handshake result:
2024-01-14 05:45:24.542 [info] Starting fast remote sync.
2024-01-14 05:45:24.542 [info] Total num embeddable files: 0
2024-01-14 05:45:24.542 [info] Root hash: 
2024-01-14 05:45:24.543 [info] Finished indexing repository.
2024-01-14 05:45:24.543 [info] Indexing job successfully done or aborted.
2024-01-14 06:03:27.019 [info] Creating merkle client.
2024-01-14 06:03:27.025 [info] Done creating merkle client.
2024-01-14 06:03:27.025 [info] Doing a startup handshake.
2024-01-14 06:03:27.404 [info] Finished initializing merkle tree in 389.659500002861 ms.
2024-01-14 06:03:27.456 [info] Doing the initial handshake with hash: 
2024-01-14 06:03:27.663 [info] Handshake result:
2024-01-14 06:03:27.663 [info] Starting fast remote sync.
2024-01-14 06:03:27.663 [info] Total num embeddable files: 0
2024-01-14 06:03:27.663 [info] Root hash: 
2024-01-14 06:03:27.663 [info] Finished indexing repository.
2024-01-14 06:03:27.664 [info] Indexing job successfully done or aborted.
2024-01-14 06:19:14.086 [info] Creating merkle client.
2024-01-14 06:19:14.086 [info] Done creating merkle client.
2024-01-14 06:19:14.086 [info] Doing a startup handshake.
2024-01-14 06:19:14.113 [info] Finished initializing merkle tree in 27.64695805311203 ms.
2024-01-14 06:19:14.171 [info] Doing the initial handshake with hash: 
2024-01-14 06:19:14.464 [info] Handshake result:
2024-01-14 06:19:14.464 [info] Starting fast remote sync.
2024-01-14 06:19:14.466 [info] Total num embeddable files: 0
2024-01-14 06:19:14.466 [info] Root hash: 
2024-01-14 06:19:14.466 [info] Finished indexing repository.
2024-01-14 06:19:14.466 [info] Indexing job successfully done or aborted.

..omitted... (32k char limit)
2024-01-15 07:31:57.220 [info] Indexing job successfully done or aborted.
2024-01-15 07:32:06.974 [error] ConnectError: [unavailable] HTTP 504
    at /Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:1372746
    at n (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:1372879)
    at next (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:1375620)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at /Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:788943
    at Object.unary (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:1374247)
    at Object.reportDistribution (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:1362659)
2024-01-15 08:10:24.200 [info] Creating merkle client.
2024-01-15 08:10:24.304 [info] Done creating merkle client.
2024-01-15 08:10:24.304 [info] Doing a startup handshake.
2024-01-15 08:10:24.510 [info] Finished initializing merkle tree in 310.3402079939842 ms.
2024-01-15 08:10:24.580 [info] Doing the initial handshake with hash: 
2024-01-15 08:10:25.245 [info] Handshake result:
2024-01-15 08:10:25.245 [info] Starting fast remote sync.
2024-01-15 08:10:25.249 [info] Total num embeddable files: 0
2024-01-15 08:10:25.249 [info] Root hash: 
2024-01-15 08:10:25.249 [info] Finished indexing repository.
2024-01-15 08:10:25.249 [info] Indexing job successfully done or aborted.
2024-01-15 08:21:29.005 [info] Creating merkle client.
2024-01-15 08:21:29.006 [info] Done creating merkle client.
2024-01-15 08:21:29.006 [info] Doing a startup handshake.
2024-01-15 08:21:29.010 [info] Finished initializing merkle tree in 4.20408296585083 ms.
2024-01-15 08:21:29.010 [info] Doing the initial handshake with hash: 
2024-01-15 08:21:31.187 [info] Handshake result:
2024-01-15 08:21:31.187 [info] Starting fast remote sync.
2024-01-15 08:21:31.187 [info] Total num embeddable files: 0
2024-01-15 08:21:31.187 [info] Root hash: 
2024-01-15 08:21:31.188 [info] Finished indexing repository.
2024-01-15 08:21:31.188 [info] Indexing job successfully done or aborted.
2024-01-15 08:32:00.671 [info] Creating merkle client.
2024-01-15 08:32:00.671 [info] Done creating merkle client.
2024-01-15 08:32:00.671 [info] Doing a startup handshake.
2024-01-15 08:32:00.673 [info] Finished initializing merkle tree in 2.37908399105072 ms.
2024-01-15 08:32:00.674 [info] Doing the initial handshake with hash: 
2024-01-15 08:32:02.852 [info] Handshake result:
2024-01-15 08:32:02.852 [info] Starting fast remote sync.
2024-01-15 08:32:02.866 [info] Total num embeddable files: 0
2024-01-15 08:32:02.866 [info] Root hash: 
2024-01-15 08:32:02.867 [info] Finished indexing repository.
2024-01-15 08:32:02.867 [info] Indexing job successfully done or aborted.
2024-01-15 08:42:18.248 [info] Creating merkle client.
2024-01-15 08:42:18.249 [info] Done creating merkle client.
2024-01-15 08:42:18.249 [info] Doing a startup handshake.
2024-01-15 08:42:18.430 [info] Finished initializing merkle tree in 181.83958399295807 ms.
2024-01-15 08:42:18.481 [info] Doing the initial handshake with hash: 
2024-01-15 09:12:01.451 [info] Creating merkle client.
2024-01-15 09:12:01.451 [info] Done creating merkle client.
2024-01-15 09:12:01.451 [info] Doing a startup handshake.
2024-01-15 09:12:01.451 [info] Indexing job successfully done or aborted.
2024-01-15 09:12:01.572 [info] Finished initializing merkle tree in 121.74949997663498 ms.
2024-01-15 09:12:01.580 [info] Doing the initial handshake with hash: 
2024-01-15 09:33:45.437 [info] Creating merkle client.
2024-01-15 09:33:45.437 [info] Done creating merkle client.
2024-01-15 09:33:45.437 [info] Doing a startup handshake.
2024-01-15 09:33:45.437 [info] Indexing job successfully done or aborted.
2024-01-15 09:33:45.443 [info] Finished initializing merkle tree in 6.3114999532699585 ms.
2024-01-15 09:33:45.526 [info] Doing the initial handshake with hash: 
2024-01-15 10:15:33.261 [info] Creating merkle client.
2024-01-15 10:15:33.261 [info] Done creating merkle client.
2024-01-15 10:15:33.262 [info] Doing a startup handshake.
2024-01-15 10:15:33.262 [info] Indexing job successfully done or aborted.
2024-01-15 10:15:33.486 [info] Finished initializing merkle tree in 225.21520799398422 ms.
2024-01-15 10:15:33.621 [info] Doing the initial handshake with hash: 
2024-01-15 10:17:35.347 [info] ----------------------------------------------------
2024-01-15 10:17:35.348 [info] Getting Diff - Done Streaming / Not Streaming
2024-01-15 10:17:35.348 [info] Previous Code
     if 

2024-01-15 10:17:35.348 [info] New Code
     if "Other Male" in key or "Other Female" in key:
        key = key.split(" ")[-1]

2024-01-15 10:17:35.349 [info] ----------------------------------------------------
2024-01-15 10:17:35.349 [info] Getting Diff - Still Streaming
2024-01-15 10:17:35.349 [info] Previous Code
     if 

2024-01-15 10:17:35.349 [info] New Code
     if "Other Male" in key or "Other Female" in key:
        key = key.split(" ")[-1]
2024-01-15 10:17:59.731 [info] ----------------------------------------------------
2024-01-15 10:17:59.732 [info] Getting Diff - Done Streaming / Not Streaming
2024-01-15 10:17:59.732 [info] Previous Code
         

2024-01-15 10:17:59.732 [info] New Code
         key = "Other Male" if "Other Male" in key else "Other Female"
        key = f"{key} {ind - 3}"

2024-01-15 10:17:59.732 [info] ----------------------------------------------------
2024-01-15 10:17:59.732 [info] Getting Diff - Still Streaming
2024-01-15 10:17:59.732 [info] Previous Code
         

2024-01-15 10:17:59.732 [info] New Code
         key = "Other Male" if "Other Male" in key else "Other Female"
        key = f"{key} {ind - 3}"
2024-01-15 10:19:17.321 [info] ----------------------------------------------------
2024-01-15 10:19:17.322 [info] Getting Diff - Done Streaming / Not Streaming
2024-01-15 10:19:17.322 [info] Previous Code
         

2024-01-15 10:19:17.322 [info] New Code
         "Other Female 2": "#d5a6bd",  # Magenta 2
        "Other Female 3": "#a64d79",  # Magenta 3

2024-01-15 10:19:17.322 [info] ----------------------------------------------------
2024-01-15 10:19:17.322 [info] Getting Diff - Still Streaming
2024-01-15 10:19:17.322 [info] Previous Code
         

2024-01-15 10:19:17.322 [info] New Code
         "Other Female 2": "#d5a6bd",  # Magenta 2
        "Other Female 3": "#a64d79",  # Magenta 3
2024-01-15 10:19:45.585 [error] Handshake failed:
2024-01-15 10:19:45.587 [error] Error: timeout in handshake with retry
    at e.RepoClientMultiplexer.handshakeWithRetry (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:759292)
    at m.getServerStatus (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:773274)
    at m.startIndexingRepository (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:775434)
2024-01-15 10:19:45.587 [error] Handshake failed.
2024-01-15 10:19:45.587 [info] Indexing job successfully done or aborted.
2024-01-15 10:20:55.703 [error] ConnectError: [aborted] read ECONNRESET
    at Function.from (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:1356959)
    at M (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:1331646)
    at Promise.reject (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:1343155)
    at ClientHttp2Stream.<anonymous> (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:1341520)
    at ClientHttp2Stream.emit (node:events:513:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
2024-01-15 10:20:56.213 [error] ConnectError: [unavailable] getaddrinfo ENOTFOUND api3.cursor.sh
    at Function.from (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:1356959)
    at M (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:1331646)
    at ClientHttp2Session.a (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:1339961)
    at ClientHttp2Session.emit (node:events:513:28)
    at emitClose (node:internal/http2/core:1085:10)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
2024-01-15 10:20:57.220 [error] ConnectError: [unavailable] getaddrinfo ENOTFOUND api3.cursor.sh
    at Function.from (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:1356959)
    at M (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:1331646)
    at ClientHttp2Session.a (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:1339961)
    at ClientHttp2Session.emit (node:events:513:28)
    at emitClose (node:internal/http2/core:1085:10)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
2024-01-15 10:20:58.355 [error] ConnectError: [unavailable] getaddrinfo ENOTFOUND api3.cursor.sh
    at Function.from (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:1356959)
    at M (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:1331646)
    at ClientHttp2Session.a (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:1339961)
    at ClientHttp2Session.emit (node:events:513:28)
    at emitClose (node:internal/http2/core:1085:10)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
2024-01-15 10:20:59.608 [error] ConnectError: [unavailable] getaddrinfo ENOTFOUND api3.cursor.sh
    at Function.from (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:1356959)
    at M (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:1331646)
    at ClientHttp2Session.a (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:1339961)
    at ClientHttp2Session.emit (node:events:513:28)
    at emitClose (node:internal/http2/core:1085:10)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
2024-01-15 10:49:57.610 [info] Creating merkle client.
2024-01-15 10:49:57.711 [info] Done creating merkle client.
2024-01-15 10:49:57.711 [info] Doing a startup handshake.
2024-01-15 10:49:57.914 [info] Finished initializing merkle tree in 304.9495419859886 ms.
2024-01-15 10:49:57.991 [info] Doing the initial handshake with hash: 
2024-01-15 11:03:34.868 [info] Creating merkle client.
2024-01-15 11:03:34.871 [info] Done creating merkle client.
2024-01-15 11:03:34.871 [info] Doing a startup handshake.
2024-01-15 11:03:34.871 [info] Indexing job successfully done or aborted.
2024-01-15 11:03:34.889 [info] Finished initializing merkle tree in 21.443583011627197 ms.
2024-01-15 11:03:34.889 [info] Doing the initial handshake with hash: 
2024-01-15 11:27:33.642 [info] Creating merkle client.
2024-01-15 11:27:33.744 [info] Done creating merkle client.
2024-01-15 11:27:33.747 [info] Doing a startup handshake.
2024-01-15 11:27:33.747 [info] Indexing job successfully done or aborted.
2024-01-15 11:27:33.936 [info] Finished initializing merkle tree in 294.32845801115036 ms.
2024-01-15 11:27:33.987 [info] Doing the initial handshake with hash: 
2024-01-15 11:41:02.496 [info] Creating merkle client.
2024-01-15 11:41:02.599 [info] Done creating merkle client.
2024-01-15 11:41:02.599 [info] Doing a startup handshake.
2024-01-15 11:41:02.599 [info] Indexing job successfully done or aborted.
2024-01-15 11:41:02.606 [info] Finished initializing merkle tree in 109.9964160323143 ms.
2024-01-15 11:41:02.606 [info] Doing the initial handshake with hash: 
2024-01-15 12:21:43.439 [info] Creating merkle client.

...

2024-01-17 14:57:06.472 [info] Doing the initial handshake with hash: 
2024-01-17 15:01:19.372 [error] Handshake failed:
2024-01-17 15:01:19.375 [error] Error: timeout in handshake with retry
    at e.RepoClientMultiplexer.handshakeWithRetry (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:759292)
    at m.getServerStatus (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:773274)
    at m.startIndexingRepository (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:775434)
2024-01-17 15:01:19.376 [error] Handshake failed.
2024-01-17 15:01:19.376 [info] Indexing job successfully done or aborted.
2024-01-17 15:07:06.065 [info] Creating merkle client.
2024-01-17 15:07:06.065 [info] Done creating merkle client.
2024-01-17 15:07:06.065 [info] Doing a startup handshake.
2024-01-17 15:07:06.072 [info] Finished initializing merkle tree in 8.112583041191101 ms.
2024-01-17 15:07:06.072 [info] Doing the initial handshake with hash: 
2024-01-17 15:11:18.189 [error] Handshake failed:
2024-01-17 15:11:18.195 [error] Error: timeout in handshake with retry
    at e.RepoClientMultiplexer.handshakeWithRetry (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:759292)
    at m.getServerStatus (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:773274)
    at m.startIndexingRepository (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:775434)
2024-01-17 15:11:18.196 [error] Handshake failed.
2024-01-17 15:11:18.202 [info] Indexing job successfully done or aborted.
2024-01-17 15:12:28.939 [info] Setting indexing intent to should-index
2024-01-17 15:12:28.940 [info] Creating merkle client.
2024-01-17 15:12:28.940 [info] Done creating merkle client.
2024-01-17 15:12:28.940 [info] Doing a startup handshake.
2024-01-17 15:12:28.941 [info] Finished initializing merkle tree in 1.4546669721603394 ms.
2024-01-17 15:12:28.941 [info] Doing the initial handshake with hash: 
2024-01-17 15:16:39.661 [error] Handshake failed:
2024-01-17 15:16:39.663 [error] Error: timeout in handshake with retry
    at e.RepoClientMultiplexer.handshakeWithRetry (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:759292)
    at m.getServerStatus (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:773274)
    at m.startIndexingRepository (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:775434)
2024-01-17 15:16:39.663 [error] Handshake failed.
2024-01-17 15:16:39.663 [info] Indexing job successfully done or aborted.

Please help! If there is any more info I need to give on my end, just let me know. Thank you!

I think it’s the same issue noted in this github issue:

We are currently looking into this. @sualeh is releasing a new build that should shed some light here.

My issue is that only one (out of hundreds) the files in the codebase is indexed - it doesn’t help if I delete the index or log out/in again:

2024-03-27 14:46:26.673 [info] Setting indexing intent to should-index
2024-03-27 14:46:26.674 [info] Creating merkle client.
2024-03-27 14:46:26.674 [info] Done creating merkle client.
2024-03-27 14:46:26.674 [info] Doing a startup handshake.
2024-03-27 14:46:26.677 [info] Finished initializing merkle tree in 3.043624997138977 ms.
2024-03-27 14:46:26.677 [info] Doing the initial handshake with hash: 0b379078b2d893014b8c516c04188cb21fa8224419b0d1ece38ddc30ea386c59
2024-03-27 14:46:26.807 [info] Handshake result:
2024-03-27 14:46:26.807 [info] Starting fast remote sync.
2024-03-27 14:46:26.807 [info] Total num embeddable files: 1
2024-03-27 14:46:26.808 [info] Root hash: 0b379078b2d893014b8c516c04188cb21fa8224419b0d1ece38ddc30ea386c59
2024-03-27 14:46:26.808 [info] Starting repository upload from scratch.
2024-03-27 14:46:26.808 [info] Uploading 1 files.
2024-03-27 14:46:28.586 [info] Finished indexing repository.
2024-03-27 14:46:28.587 [info] Indexing job successfully done or aborted.

Just wanted to follow up on this. Time-machine restored to a new M3 Max macbook, still having the same issue :frowning:

Hi, Still having the same issue. Is there anything you guys can do to help? I submitted an in-IDE bug report as well.

Here are logs upon fresh reinstall, deleting every trace of cursor (Application Support, Caches, .cursor dir in home, appcleaner uninstall)

2024-05-22 18:46:54.399 [error] Error: Command failed: git config --get remote.origin.url

	at ChildProcess.exithandler (node:child_process:430:12)
	at ChildProcess.emit (node:events:514:28)
	at maybeClose (node:internal/child_process:1091:16)
	at Socket.<anonymous> (node:internal/child_process:449:11)
	at Socket.emit (node:events:514:28)
	at Pipe.<anonymous> (node:net:323:12)
2024-05-22 18:46:54.617 [error] accessToken is undefined. User is not logged in. We shouldn't do any indexing.
2024-05-22 18:47:07.886 [info] Repo client: syncing embeddings with backend:  https://repo42.cursor.sh
2024-05-22 18:47:07.887 [error] NoWorkspaceUriError
2024-05-22 18:47:09.322 [info] Repo client: syncing embeddings with backend:  https://repo42.cursor.sh
2024-05-22 18:47:09.558 [info] Creating merkle client.
2024-05-22 18:47:09.558 [info] Done creating merkle client.
2024-05-22 18:47:09.558 [info] Doing a startup handshake.
2024-05-22 18:47:09.561 [info] Finished initializing merkle tree in 3.6405420303344727 ms.
2024-05-22 18:47:09.561 [info] Doing the initial handshake with hash: 
2024-05-22 18:47:09.564 [info] Handshake start
2024-05-22 18:47:09.568 [warning] Error reading high level folder description. Ignoring. Error: ENOENT: no such file or directory, open '/Users/darin/Library/Application Support/Cursor/User/workspaceStorage/3ea3c07c826785f5d77b989b6227dcde/anysphere.cursor-retrieval/high_level_folder_description.txt'
2024-05-22 18:47:09.961 [info] Handshake timing: 399.80829203128815
2024-05-22 18:47:09.962 [info] Handshake result:
2024-05-22 18:47:09.962 [info] Starting fast remote sync.
2024-05-22 18:47:09.962 [info] Total num embeddable files: 0
2024-05-22 18:47:09.962 [info] Root hash: 
2024-05-22 18:47:09.962 [info] Finished indexing repository.
2024-05-22 18:47:09.962 [info] Indexing job successfully done or aborted.
2024-05-22 18:47:17.809 [info] Search by sha took 18.311916947364807ms for query ""
2024-05-22 18:47:17.810 [info] Search by message took 19.838124990463257ms for query ""
2024-05-22 18:47:18.390 [info] Search by sha took 13.977625012397766ms for query "code"
2024-05-22 18:47:18.391 [info] Search by message took 16.133291006088257ms for query "code"
2024-05-22 18:47:36.513 [info] Setting indexing intent to should-index
2024-05-22 18:47:36.514 [info] Creating merkle client.
2024-05-22 18:47:36.514 [info] Done creating merkle client.
2024-05-22 18:47:36.514 [info] Doing a startup handshake.
2024-05-22 18:47:36.516 [info] Finished initializing merkle tree in 2.0352920293807983 ms.
2024-05-22 18:47:36.516 [info] Doing the initial handshake with hash: 
2024-05-22 18:47:36.516 [info] Handshake start
2024-05-22 18:47:36.615 [info] Handshake timing: 98.6588339805603
2024-05-22 18:47:36.615 [info] Handshake result:
2024-05-22 18:47:36.615 [info] Starting fast remote sync.
2024-05-22 18:47:36.616 [info] Total num embeddable files: 0
2024-05-22 18:47:36.616 [info] Root hash: 
2024-05-22 18:47:36.616 [info] Finished indexing repository.
2024-05-22 18:47:36.616 [info] Indexing job successfully done or aborted.
2024-05-22 18:47:38.688 [info] Repo client: syncing embeddings with backend:  https://repo42.cursor.sh
2024-05-22 18:47:38.689 [info] Creating merkle client.
2024-05-22 18:47:38.689 [info] Done creating merkle client.
2024-05-22 18:47:38.689 [info] Doing a startup handshake.
2024-05-22 18:47:38.692 [info] Finished initializing merkle tree in 3.3518329858779907 ms.
2024-05-22 18:47:38.692 [info] Doing the initial handshake with hash: 
2024-05-22 18:47:38.694 [info] Handshake start
2024-05-22 18:47:39.047 [info] Handshake timing: 354.4172500371933
2024-05-22 18:47:39.047 [info] Handshake result:
2024-05-22 18:47:39.047 [info] Starting fast remote sync.
2024-05-22 18:47:39.047 [info] Total num embeddable files: 0
2024-05-22 18:47:39.047 [info] Root hash: 
2024-05-22 18:47:39.047 [info] Finished indexing repository.
2024-05-22 18:47:39.047 [info] Indexing job successfully done or aborted.
2024-05-22 18:47:42.053 [info] Setting indexing intent to should-index
2024-05-22 18:47:42.053 [info] Creating merkle client.
2024-05-22 18:47:42.054 [info] Done creating merkle client.
2024-05-22 18:47:42.054 [info] Doing a startup handshake.
2024-05-22 18:47:42.055 [info] Finished initializing merkle tree in 2.155542016029358 ms.
2024-05-22 18:47:42.056 [info] Doing the initial handshake with hash: 
2024-05-22 18:47:42.056 [info] Handshake start
2024-05-22 18:47:42.156 [info] Handshake timing: 100.28341698646545
2024-05-22 18:47:42.157 [info] Handshake result:
2024-05-22 18:47:42.157 [info] Starting fast remote sync.
2024-05-22 18:47:42.157 [info] Total num embeddable files: 0
2024-05-22 18:47:42.157 [info] Root hash: 
2024-05-22 18:47:42.157 [info] Finished indexing repository.
2024-05-22 18:47:42.157 [info] Indexing job successfully done or aborted.
2024-05-22 18:47:43.528 [info] Repo client: syncing embeddings with backend:  https://repo42.cursor.sh
2024-05-22 18:47:43.529 [info] Creating merkle client.
2024-05-22 18:47:43.529 [info] Done creating merkle client.
2024-05-22 18:47:43.529 [info] Doing a startup handshake.
2024-05-22 18:47:43.531 [info] Finished initializing merkle tree in 2.6588329076766968 ms.
2024-05-22 18:47:43.531 [info] Doing the initial handshake with hash: 
2024-05-22 18:47:43.534 [info] Handshake start
2024-05-22 18:47:43.950 [info] Handshake timing: 418.7667499780655
2024-05-22 18:47:43.951 [info] Handshake result:
2024-05-22 18:47:43.951 [info] Starting fast remote sync.
2024-05-22 18:47:43.951 [info] Total num embeddable files: 0
2024-05-22 18:47:43.952 [info] Root hash: 
2024-05-22 18:47:43.952 [info] Finished indexing repository.
2024-05-22 18:47:43.952 [info] Indexing job successfully done or aborted.
2024-05-22 18:47:45.270 [info] Setting indexing intent to should-index
2024-05-22 18:47:45.270 [info] Creating merkle client.
2024-05-22 18:47:45.270 [info] Done creating merkle client.
2024-05-22 18:47:45.270 [info] Doing a startup handshake.
2024-05-22 18:47:45.272 [info] Finished initializing merkle tree in 1.9257090091705322 ms.
2024-05-22 18:47:45.272 [info] Doing the initial handshake with hash: 
2024-05-22 18:47:45.272 [info] Handshake start
2024-05-22 18:47:45.369 [info] Handshake timing: 96.77587497234344
2024-05-22 18:47:45.369 [info] Handshake result:
2024-05-22 18:47:45.369 [info] Starting fast remote sync.
2024-05-22 18:47:45.370 [info] Total num embeddable files: 0
2024-05-22 18:47:45.370 [info] Root hash: 
2024-05-22 18:47:45.370 [info] Finished indexing repository.
2024-05-22 18:47:45.370 [info] Indexing job successfully done or aborted.

Screenshot:

@amanrs I’ve also emailed you the logs, zipped up, to aman@anysphere.co.

Hi! I just wanted to follow up on this. Is there anything I can do?

Please help.

Hi, 4 months from initial report, still experiencing the same issue. @amanrs , did @sualeh have any progress on the new build? I wasn’t able to see/find it.

What can I do? I really like cursor, but no codebase context and no documentation on one of my two work machines is brutal and extremely aggravating. Tried every single thing I can think of so far short of a full system reset, which I want to avoid (I’ve had this same machine for like 5 years now).