# Codebase indexing stuck at 0.5%

**URL:** <https://forum.cursor.com/t/codebase-indexing-stuck-at-0-5/759>\
**Category:** Bug Reports\
**Created:** [September 26, 2023, 5:34pm UTC](https://forum.cursor.com/t/codebase-indexing-stuck-at-0-5/759 "2023-09-26T17:34:38Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![joekneeland](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/joekneeland/32/19538_2.png) [@joekneeland](https://forum.cursor.com/u/joekneeland)\
**Post date:** [September 26, 2023, 5:34pm UTC](https://forum.cursor.com/t/codebase-indexing-stuck-at-0-5/759/1 "2023-09-26T17:34:38Z")

</div>

Hello, first I want to say a big thank you for Cursor. Indexing entire codebase is the ai for dev that I’ve been waiting for and you made it! That’s genius in action, and I’m overflowing with gratitude.

The first couple projects indexing worked like a charm, but now it’s getting stuck at 0.5%

Here’s Cursor about;

Version: 0.11.7  
VSCode Version: 1.80.1  
Commit: db9228712f398b2885678c7e2b2644471555d3e0  
Date: 2023-09-25T22:34:31.769Z  
Electron: 22.3.10  
Chromium: 108.0.5359.215  
Node.js: 16.17.1  
V8: 10.8.168.25-electron.0  
OS: Windows\_NT x64 10.0.22621

Any ideas?

---

<div class="post-metadata">

**Author:** ![ruphy](https://avatars.discourse-cdn.com/v4/letter/r/cc9497/32.png) [@ruphy](https://forum.cursor.com/u/ruphy)\
**Post date:** [September 26, 2023, 7:02pm UTC](https://forum.cursor.com/t/codebase-indexing-stuck-at-0-5/759/2 "2023-09-26T19:02:27Z")

</div>

Same here! And CPU seems active during the whole “indexing”, in spite of the repo being quite small.

---

<div class="post-metadata">

**Author:** ![ruphy](https://avatars.discourse-cdn.com/v4/letter/r/cc9497/32.png) [@ruphy](https://forum.cursor.com/u/ruphy)\
**Post date:** [September 26, 2023, 7:04pm UTC](https://forum.cursor.com/t/codebase-indexing-stuck-at-0-5/759/3 "2023-09-26T19:04:03Z")

</div>

![image](https://us1.discourse-cdn.com/cursor1/original/1X/c637666ccf255f456f033dc9649c9a3ad5b66d73.png)  
I would add that it doesn’t seem to be a UI-only thing, as I get this in the chat.

Version: 0.11.7  
VSCode Version: 1.80.1  
Commit: db9228712f398b2885678c7e2b2644471555d3e0  
Date: 2023-09-25T22:34:31.769Z (20 hrs ago)  
Electron: 22.3.10  
Chromium: 108.0.5359.215  
Node.js: 16.17.1  
V8: 10.8.168.25-electron.0  
OS: Darwin arm64 22.3.0

---

<div class="post-metadata">

**Author:** ![scripttai](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@scripttai](https://forum.cursor.com/u/scripttai)\
**Post date:** [September 27, 2023, 1:28am UTC](https://forum.cursor.com/t/codebase-indexing-stuck-at-0-5/759/4 "2023-09-27T01:28:28Z")

</div>

I’m having the same issues. I also can’t use the chat feature at all. I have reported a bug.

Bit of a bummer, Haven’t had any issues until now. Hope someone has a workaround!

---

<div class="post-metadata">

**Author:** ![mzyil](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/mzyil/32/239_2.png) [@mzyil](https://forum.cursor.com/u/mzyil)\
**Post date:** [September 27, 2023, 4:42am UTC](https://forum.cursor.com/t/codebase-indexing-stuck-at-0-5/759/5 "2023-09-27T04:42:06Z")

</div>

Open the Output page (a tab in the same view as Terminal), select “Indexing & Retrieval”, you may see some output there.

---

<div class="post-metadata">

**Author:** ![dotowl](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/dotowl/32/30895_2.png) [@dotowl](https://forum.cursor.com/u/dotowl)\
**Post date:** [September 27, 2023, 5:41am UTC](https://forum.cursor.com/t/codebase-indexing-stuck-at-0-5/759/6 "2023-09-27T05:41:54Z")

</div>

It’s been like this since 24 hours ago

---

<div class="post-metadata">

**Author:** ![ruphy](https://avatars.discourse-cdn.com/v4/letter/r/cc9497/32.png) [@ruphy](https://forum.cursor.com/u/ruphy)\
**Post date:** [September 27, 2023, 10:29am UTC](https://forum.cursor.com/t/codebase-indexing-stuck-at-0-5/759/7 "2023-09-27T10:29:52Z")

</div>

good tip for debug output. it looks indeed like an internal error. here’s the last lines:

```auto
2023-09-26 20:58:36.139 [info] NUM FILES 66
2023-09-26 20:58:36.149 [info] Total Files 60 Total File Size 1.126413 MB
2023-09-26 20:58:37.907 [info] RETRYING ON [internal] internal error
2023-09-26 20:58:37.907 [error] ConnectError: [internal] internal error
	at o (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:471170)
	at e.errorFromJsonBytes (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:472081)
	at /Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:487144
	at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
	at async /Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:326968
	at async Object.unary (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:486078)
	at async Object.uploadFile (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:466995)
	at async e.Indexer.x (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:333605)
	at async t (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:330168)
	at async e.Indexer.v (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:330652)
	at async C (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:329442)
2023-09-26 20:58:37.992 [info] NUM FILES 66
2023-09-26 20:58:38.000 [info] Total Files 60 Total File Size 1.126413 MB

```

---

<div class="post-metadata">

**Author:** ![pasevin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/pasevin/32/244_2.png) [@pasevin](https://forum.cursor.com/u/pasevin)\
**Post date:** [September 27, 2023, 7:22pm UTC](https://forum.cursor.com/t/codebase-indexing-stuck-at-0-5/759/8 "2023-09-27T19:22:10Z")

</div>

Having same issue…

---

<div class="post-metadata">

**Author:** ![truell20](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/truell20/32/28583_2.png) [@truell20](https://forum.cursor.com/u/truell20)\
**Post date:** [September 27, 2023, 7:37pm UTC](https://forum.cursor.com/t/codebase-indexing-stuck-at-0-5/759/9 "2023-09-27T19:37:11Z")

</div>

Sorry about the slow turn around time here. Aware of the issue and working on an immediate fix.

---

<div class="post-metadata">

**Author:** ![joekneeland](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/joekneeland/32/19538_2.png) [@joekneeland](https://forum.cursor.com/u/joekneeland)\
**Post date:** [September 27, 2023, 7:43pm UTC](https://forum.cursor.com/t/codebase-indexing-stuck-at-0-5/759/10 "2023-09-27T19:43:43Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![truell20](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/truell20/32/28583_2.png) [@truell20](https://forum.cursor.com/u/truell20)\
**Post date:** [September 27, 2023, 11:18pm UTC](https://forum.cursor.com/t/codebase-indexing-stuck-at-0-5/759/11 "2023-09-27T23:18:03Z")

</div>

We’re performing a migration that will fix this. In the meantime, Cursor should fall back on a local context building method that does not use embeddings. Will revert here when this is done.

---

<div class="post-metadata">

**Author:** ![truell20](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/truell20/32/28583_2.png) [@truell20](https://forum.cursor.com/u/truell20)\
**Post date:** [September 28, 2023, 1:54am UTC](https://forum.cursor.com/t/codebase-indexing-stuck-at-0-5/759/13 "2023-09-28T01:54:15Z")

</div>

Migration should be complete. Do you still see issues on your end?

---

<div class="post-metadata">

**Author:** ![joekneeland](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/joekneeland/32/19538_2.png) [@joekneeland](https://forum.cursor.com/u/joekneeland)\
**Post date:** [September 28, 2023, 3:00am UTC](https://forum.cursor.com/t/codebase-indexing-stuck-at-0-5/759/14 "2023-09-28T03:00:27Z")

</div>

Works now, a million thanks!

![image](https://us1.discourse-cdn.com/cursor1/original/1X/33d649de3b0122171c697fea80138db507908874.png)

---

<div class="post-metadata">

**Author:** ![studentofcoding](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@studentofcoding](https://forum.cursor.com/u/studentofcoding)\
**Post date:** [October 4, 2023, 4:50pm UTC](https://forum.cursor.com/t/codebase-indexing-stuck-at-0-5/759/15 "2023-10-04T16:50:02Z")

</div>

Same here

```auto
2023-09-28 03:47:47.291 [info] NUM FILES 2678
2023-09-28 03:47:47.780 [info] Total Files 2389 Total File Size 16.552562 MB
2023-09-28 03:47:48.729 [info] RETRYING ON [unavailable] HTTP 503
2023-09-28 03:47:48.729 [error] ConnectError: [unavailable] HTTP 503
	at s (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:489706)
	at e.validateResponseWithCompression (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:490411)
	at /Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:486828
	at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
	at async /Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:326968
	at async Object.unary (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:486078)
	at async Object.startUploadRepo (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:466995)
	at async e.Indexer.uploadFiles (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:328612)
	at async /Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:2:323737
2023-09-28 03:47:51.658 [info] NUM FILES 2678
2023-09-28 03:47:51.985 [info] Total Files 2389 Total File Size 16.552562 MB

```

---

<div class="post-metadata">

**Author:** ![arvid220u](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/arvid220u/32/82089_2.png) [@arvid220u](https://forum.cursor.com/u/arvid220u)\
**Post date:** [October 4, 2023, 4:54pm UTC](https://forum.cursor.com/t/codebase-indexing-stuck-at-0-5/759/16 "2023-10-04T16:54:13Z")

</div>

Do you still see this problem?
