Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Persistent Handshake Failures During Codebase Indexing #2209

Closed
spragginsdesigns opened this issue Oct 9, 2024 · 4 comments
Closed

Persistent Handshake Failures During Codebase Indexing #2209

spragginsdesigns opened this issue Oct 9, 2024 · 4 comments

Comments

@spragginsdesigns
Copy link

spragginsdesigns commented Oct 9, 2024

Screenshot of issue

image

Description

I'm experiencing repeated handshake failures during codebase indexing in Cursor IDE. The indexing process seems to start correctly but then encounters multiple handshake attempts that don't resolve the issue.

Log Output

2024-10-08 17:56:13.172 [info] Doing the initial handshake with hash: 97efc158aab2fd852804a61ddd74b67f1524764d69ed503e49eee9d4c05c13c0
2024-10-08 17:56:13.175 [info] Handshake start
2024-10-08 17:56:13.855 [info] Handshake timing: 681.8195999860764
2024-10-08 17:56:15.266 [info] Repo client: syncing embeddings with backend:  https://repo42.cursor.sh
2024-10-08 17:56:15.267 [info] Creating merkle client.
2024-10-08 17:56:15.267 [info] Done creating merkle client.
2024-10-08 17:56:15.267 [info] Doing a startup handshake.
2024-10-08 17:56:15.267 [info] Indexing job successfully done or aborted.
2024-10-08 17:56:15.278 [info] Finished initializing merkle tree in 11.078400015830994 ms.
2024-10-08 17:56:15.278 [info] Doing the initial handshake with hash: 97efc158aab2fd852804a61ddd74b67f1524764d69ed503e49eee9d4c05c13c0
2024-10-08 17:56:15.279 [info] Handshake start
2024-10-08 17:56:15.568 [info] Handshake timing: 289.8986999988556
2024-10-08 17:56:17.583 [info] Handshake start
2024-10-08 17:56:17.702 [info] Handshake timing: 120.0621999502182
2024-10-08 17:56:21.715 [info] Handshake start
2024-10-08 17:56:21.820 [info] Handshake timing: 105.44220000505447
2024-10-08 17:56:29.825 [info] Handshake start
2024-10-08 17:56:29.920 [info] Handshake timing: 95.37160003185272
2024-10-08 17:56:45.934 [info] Handshake start
2024-10-08 17:56:46.041 [info] Handshake timing: 107.56870001554489
2024-10-08 17:57:18.048 [info] Handshake start
2024-10-08 17:57:18.140 [info] Handshake timing: 92.25809997320175

Observed Behavior

  1. The initial handshake and merkle tree initialization seem to complete successfully.
  2. However, the system continues to attempt handshakes repeatedly over the course of about a minute.
  3. Each subsequent handshake attempt takes less time, but they continue to occur without resolving the issue.

Expected Behavior

The handshake process should complete successfully after the initial attempt, allowing the codebase indexing to proceed without further interruptions.

Environment

  • 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: Windows_NT x64 10.0.22631
  • Project type/language: Typescript and Python, small and large codebases

Additional Context

This issue is preventing me from effectively using Cursor's AI-powered features, as the codebase indexing cannot complete successfully.

Steps to Reproduce

  1. Open Cursor IDE
  2. Open a project folder
  3. Attempt to use any feature that requires codebase indexing
@DropMagnet
Copy link

same here!

@spragginsdesigns
Copy link
Author

same here!

must be an issue on their server. I don't think anything we do locally can fix it.

@gnorbsl
Copy link

gnorbsl commented Oct 9, 2024

Can confirm, can't index

@danperks
Copy link
Collaborator

Hey, this is a duplicate of #2035, please can you repost this in there for now?
The devs have been notified and are looking into it!

@danperks danperks closed this as not planned Won't fix, can't repro, duplicate, stale Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants