I have been using Cursor mostly for the chat functionality. I find/found it really good at grokking my codebase and giving really valuable insights.
However, since yesterday when I submit a question with @codebase or with the codebase button it shows “searching for files” but it does not actually do anything and the response is either just a generic answer or today even answers about a different programming language.
I did cancel my subscription but I still have a “pro” account until 5th of November.
So I cannot imagine it is related to that.
Hi Deanrie, thanks for the response. It has been indexed.
I have indexed and deleted and reindexed a few times and it is not that.
There was a day before it stopped working that I got a popup saying the handshake failed and that it was using an alternative approach (which actually seemed to work quite well) but since then I get no context added.
If I delete and reindex now it takes almost no time so I don’t think the indexing is working.
The codebase works even on free accounts, and there could be a few reasons for the issue. Check if this address https://repo42.cursor.sh/ is accessible from your computer, and share some logs and messages from the output panel.
I could access that page → Welcome to Cursor. From server hg41j28xe8pgxukznp8zoq with time 0.0004519997164607048. Pod name: undefined. Pod IP: undefined.
In the log when I start indexing I see this: Handshake result: {"status":"STATUS_EMPTY","repoName":"5efb2d04-63c3-4a57-bf7b-4b552db8a82d"}
Here are all the logs - and it is hanging on 97.7%
2024-10-12 16:03:07.903 [info] Setting indexing intent to should-index
2024-10-12 16:03:07.904 [info] Creating merkle client.
2024-10-12 16:03:07.904 [info] Done creating merkle client.
2024-10-12 16:03:07.904 [info] Doing a startup handshake.
2024-10-12 16:03:08.281 [info] Finished initializing merkle tree in 366.59479100001045 ms.
2024-10-12 16:03:08.282 [info] Doing the initial handshake with hash: 427e7e73a616e9f71bd2d33283dcc9250f960434b7ed283cfbd1004c9595c451
2024-10-12 16:03:08.282 [info] Handshake start
2024-10-12 16:03:08.420 [info] Handshake timing: 137.95483399997465
2024-10-12 16:03:08.420 [info] Handshake result: {"status":"STATUS_EMPTY","repoName":"5efb2d04-63c3-4a57-bf7b-4b552db8a82d"}
2024-10-12 16:03:08.420 [info] Starting fast remote sync.
2024-10-12 16:03:08.421 [info] Total num embeddable files: 2141
2024-10-12 16:03:08.421 [info] Root hash: 427e7e73a616e9f71bd2d33283dcc9250f960434b7ed283cfbd1004c9595c451
2024-10-12 16:03:08.421 [info] Starting repository upload from scratch.
2024-10-12 16:03:08.431 [info] Uploading 2141 files.
2024-10-12 16:03:13.907 [info] Completed 50 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:03:15.267 [info] Completed 100 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:03:16.871 [info] Completed 150 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:03:18.288 [info] Completed 200 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:03:19.729 [info] Completed 250 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:03:21.133 [info] Completed 300 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:03:22.438 [info] Completed 350 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:03:23.882 [info] Repo client: syncing embeddings with backend: https://repo42.cursor.sh
2024-10-12 16:03:24.036 [info] Completed 400 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:03:25.496 [info] Completed 450 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:03:26.970 [info] Completed 500 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:03:28.198 [info] Completed 550 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:03:29.846 [info] Completed 600 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:03:31.138 [info] Completed 650 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:03:32.748 [info] Completed 700 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:03:34.141 [info] Completed 750 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:03:35.782 [info] Completed 800 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:03:37.301 [info] Completed 850 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:03:40.276 [info] Repo client: syncing embeddings with backend: https://repo42.cursor.sh
2024-10-12 16:03:40.417 [info] Completed 900 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:03:44.330 [info] Completed 950 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:03:45.951 [info] Completed 1000 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:03:47.038 [info] Completed 1050 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:03:48.835 [info] Completed 1100 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:03:50.277 [info] Completed 1150 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:03:51.645 [info] Completed 1200 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:03:53.008 [info] Completed 1250 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:03:54.442 [info] Completed 1300 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:03:55.902 [info] Completed 1350 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:03:57.086 [info] Repo client: syncing embeddings with backend: https://repo42.cursor.sh
2024-10-12 16:03:57.234 [info] Completed 1400 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:03:58.910 [info] Completed 1450 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:04:00.855 [info] Completed 1500 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:04:02.324 [info] Completed 1550 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:04:03.990 [info] Completed 1600 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:04:05.401 [info] Completed 1650 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:04:07.062 [info] Completed 1700 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:04:08.331 [info] Completed 1750 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:04:10.081 [info] Completed 1800 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:04:11.459 [info] Completed 1850 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:04:12.671 [info] Repo client: syncing embeddings with backend: https://repo42.cursor.sh
2024-10-12 16:04:12.899 [info] Completed 1900 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:04:14.235 [info] Completed 1950 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:04:15.866 [info] Completed 2000 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:04:17.368 [info] Completed 2050 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:04:18.866 [info] Completed 2100 jobs for absoluteDirectoryPath: undefined
Then if I pause syncing and start again:
2024-10-12 16:06:25.461 [info] Indexing job successfully done or aborted.
2024-10-12 16:06:35.079 [info] Setting indexing intent to should-index
2024-10-12 16:06:35.082 [info] Creating merkle client.
2024-10-12 16:06:35.082 [info] Done creating merkle client.
2024-10-12 16:06:35.082 [info] Doing a startup handshake.
2024-10-12 16:06:35.429 [info] Finished initializing merkle tree in 334.4420829999726 ms.
2024-10-12 16:06:35.429 [info] Doing the initial handshake with hash: 427e7e73a616e9f71bd2d33283dcc9250f960434b7ed283cfbd1004c9595c451
2024-10-12 16:06:35.430 [info] Handshake start
2024-10-12 16:06:35.561 [info] Handshake timing: 131.66545799991582
2024-10-12 16:06:35.562 [info] Handshake result: {"status":"STATUS_OUT_OF_SYNC","repoName":"5efb2d04-63c3-4a57-bf7b-4b552db8a82d"}
2024-10-12 16:06:35.562 [info] Starting fast remote sync.
2024-10-12 16:06:35.562 [info] Total num embeddable files: 2141
2024-10-12 16:06:35.563 [info] Root hash: 427e7e73a616e9f71bd2d33283dcc9250f960434b7ed283cfbd1004c9595c451
2024-10-12 16:06:35.563 [info] In the out of sync case.
2024-10-12 16:06:35.563 [info] [startSync]: ----------------------
syncing point nextSubtree{"relativePath":".","hash":"427e7e73a616e9f71bd2d33283dcc9250f960434b7ed283cfbd1004c9595c451"}
2024-10-12 16:06:35.563 [info] Waiting on semaphore to be released 1
2024-10-12 16:06:35.767 [info] [startSync]: ----------------------
syncing point nextSubtree{"relativePath":"./profiles","hash":"04ca487673e0df79efa5d7d5dab7937dca5c822a788ec68e637b8ece8150b09a"}
...
2024-10-12 16:06:39.627 [info] Waiting on semaphore to be released 2
2024-10-12 16:06:39.826 [info] setting numJobsToGo to 274
2024-10-12 16:06:39.827 [info] [startSync]: numJobs: 274
2024-10-12 16:06:39.827 [info] Uploading 274 files.
2024-10-12 16:06:40.627 [info] Completed 50 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:06:40.901 [info] Completed 100 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:06:41.138 [info] Completed 150 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:06:41.539 [info] Completed 200 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:06:41.799 [info] Completed 250 jobs for absoluteDirectoryPath: undefined
2024-10-12 16:06:42.678 [info] Finished indexing repository.
2024-10-12 16:06:42.678 [info] Indexing job successfully done or aborted.