Hey there,
Cursor cannot index the codebase because of some handshake failure.
Any idea what could make the handshake fail?
Is it possible to have more verbose logs?
Thanks
2024-04-13 17:07:37.214 [info] Repo client: syncing embeddings with backend: https://repo42.cursor.sh
2024-04-13 17:07:37.435 [info] Creating merkle client.
2024-04-13 17:07:37.435 [info] Done creating merkle client.
2024-04-13 17:07:37.435 [info] Doing a startup handshake.
2024-04-13 17:07:38.058 [info] Finished initializing merkle tree in 623.1240420043468 ms.
2024-04-13 17:07:38.059 [info] Doing the initial handshake with hash: 84ef254030576456191a653d13a68164d42936999a13ab894640f2c96c873f98
2024-04-13 17:07:38.072 [info] Handshake start
2024-04-13 17:07:40.310 [info] Handshake start
2024-04-13 17:07:44.532 [info] Handshake start
2024-04-13 17:07:52.779 [info] Handshake start
2024-04-13 17:08:09.124 [info] Handshake start
2024-04-13 17:08:41.362 [info] Handshake start
2024-04-13 17:09:45.808 [error] Handshake failed:
2024-04-13 17:09:45.823 [error] Error: timeout in handshake with retry
at e.RepoClientMultiplexer.handshakeWithRetry (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:49975:19)
at async m.getServerStatus (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:50677:19)
at async m.startIndexingRepository (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-retrieval/dist/main.js:50777:23)
2024-04-13 17:09:45.824 [error] Handshake failed.
2024-04-13 17:09:45.824 [info] Indexing job successfully done or aborted.