Codebase indexing stuck at loading for ever

opened a folder on a remote machine in workspace.

1 Like

Hi @ashwin-999 ,

Thanks for the report and screenshot.

Can you please add relevant additional information by following the steps here:

https://docs.cursor.com/troubleshooting/troubleshooting-guide

02) Steps to reproduce:
I don’t have concrete steps to reproduce, it works on my host laptop, but seems to have an issue on a remote embedded development board

03) System Information from:
Version: 0.41.3
VSCode Version: 1.91.1
Commit: 51c8aff7cb5a89f4a0e462fbacab938bdbfaf140
Date: 2024-09-25T17:13:50.377Z
Electron: 29.4.0
ElectronBuildId: undefined
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Linux x64 5.15.0-122-generic

04) Are you using a VPN or Zscaler?
No VPN at the time of reporting this. But expect to be on VPN 3 out of 5 times while logging onto the board

05) Developer tools console errors

06) Logs
2024-10-02 11:31:55.361 [info] Search by message took 15.65650799870491ms for query β€œβ€

2024-10-02 11:31:55.370 [info] Search by sha took 18.11967298388481ms for query β€œβ€

2024-10-02 11:35:10.287 [info] Creating merkle client.

2024-10-02 11:35:10.287 [info] Done creating merkle client.

2024-10-02 11:35:10.287 [info] Doing a startup handshake.

2024-10-02 11:35:10.403 [info] Finished initializing merkle tree in 116.27353700995445 ms.

2024-10-02 11:35:10.404 [info] Doing the initial handshake with hash: 2c095d914250db2d453efca426d5d47f1b6534bf704b95ce548d8f32e2a67b60

2024-10-02 11:35:10.405 [info] Handshake start

2024-10-02 11:35:12.507 [info] Handshake start

2024-10-02 11:35:16.526 [info] Handshake start

2024-10-02 11:35:22.894 [info] Search by message took 17.67383199930191ms for query β€œβ€

2024-10-02 11:35:22.907 [info] Search by message took 12.626910001039505ms for query β€œβ€

2024-10-02 11:35:22.907 [info] Search by sha took 20.187642008066177ms for query β€œβ€

2024-10-02 11:35:22.922 [info] Search by message took 14.26877298951149ms for query β€œβ€

2024-10-02 11:35:22.922 [info] Search by sha took 21.016066014766693ms for query β€œβ€

2024-10-02 11:35:22.924 [info] Search by sha took 9.441463023424149ms for query β€œβ€

2024-10-02 11:35:23.762 [info] Search by message took 17.542055994272232ms for query β€œβ€

2024-10-02 11:35:23.774 [info] Search by message took 11.241394013166428ms for query β€œβ€

2024-10-02 11:35:23.774 [info] Search by sha took 20.119370996952057ms for query β€œβ€

2024-10-02 11:35:23.775 [info] Search by sha took 6.116180002689362ms for query β€œβ€

2024-10-02 11:35:24.545 [info] Handshake start

2024-10-02 11:35:40.563 [info] Handshake start

2024-10-02 11:36:12.579 [info] Handshake start

2024-10-02 11:37:16.595 [error] Handshake failed:

2024-10-02 11:37:16.595 [error] Error: timeout in handshake with retry

at t.RepoClientMultiplexer.handshakeWithRetry (/tmp/.mount_cursornVQvNa/resources/app/extensions/cursor-retrieval/dist/main.js:2:826553)

at async w.getServerStatus (/tmp/.mount_cursornVQvNa/resources/app/extensions/cursor-retrieval/dist/main.js:2:841881)

at async w.startIndexingRepository (/tmp/.mount_cursornVQvNa/resources/app/extensions/cursor-retrieval/dist/main.js:2:844181)

2024-10-02 11:37:16.596 [error] Handshake failed.

2024-10-02 11:37:16.596 [info] Indexing job successfully done or aborted.

Same here, indexing is stuck :confounded:

hey guys, I’m still stuck with the same issue. wondering what I should be doing differently