I am using Cursor on my company laptop. It has ZScaler installed and running.
Out of the box on my host machine, Cursor works perfectly. The codebase is indexed, I can use the agent, and I don’t have to disable http/2.
However, when I run inside a VS Code dev container, indexing fails with a handshake error.
I do have the ZScaler cert inside my container and am able to make other network requests & the agent works fine. Specifically seems to be an issue with indexing & TLS.
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:518:28)
at ChildProcess.emit (node:domain:489:12)
at maybeClose (node:internal/child_process:1104:16)
at Socket.<anonymous> (node:internal/child_process:456:11)
at Socket.emit (node:events:518:28)
at Socket.emit (node:domain:489:12)
at Pipe.<anonymous> (node:net:343:12)
2025-03-31 23:58:25.960 [info] Using existing keys for an index
2025-03-31 23:58:25.960 [info] InternalRepoInfo constructor with preferredEmbeddingModel 0
2025-03-31 23:58:25.960 [info] Doing a startup handshake.
2025-03-31 23:58:26.146 [info] Finished computing merkle tree in 201.40879999999925 ms.
2025-03-31 23:58:26.211 [info] Doing the initial handshake with hash: 65047fddc8e7e6bd8cff4359b05c18263d7d66dd38f42e4a0573e0d4ee719532
2025-03-31 23:58:26.285 [info] Computed simhash vector of length: 256
2025-03-31 23:58:26.285 [info] Path key hash: f7c03970ec830fe4bb00ffeafb7dc6763e15f3c81fc0b3cc2e905c97117d0c53
2025-03-31 23:58:26.285 [info] Handshake start
2025-03-31 23:58:30.287 [warning] Retrying handshake with timeout 4000. Error: [deadline_exceeded] the operation timed out
2025-03-31 23:58:30.287 [info] Handshake start
2025-03-31 23:58:38.315 [warning] Retrying handshake with timeout 8000. Error: [deadline_exceeded] the operation timed out
2025-03-31 23:58:38.315 [info] Handshake start
2025-03-31 23:58:54.330 [warning] Retrying handshake with timeout 16000. Error: [deadline_exceeded] the operation timed out
2025-03-31 23:58:54.331 [info] Handshake start
2025-03-31 23:59:26.356 [warning] Retrying handshake with timeout 32000. Error: [deadline_exceeded] the operation timed out
2025-03-31 23:59:26.356 [info] Handshake start
2025-04-01 00:00:30.386 [warning] Retrying handshake with timeout 64000. Error: [deadline_exceeded] the operation timed out
2025-04-01 00:00:30.386 [info] Handshake start