getcursor / cursor

The AI-powered code editor
https://cursor.sh
20.55k stars 1.38k forks source link

Copilot++ stopped working entirely #1359

Open tonydavis629 opened 3 months ago

tonydavis629 commented 3 months ago

Copilot++ has completely stopped making predictions for me, I think after the latest update.

Version: 0.30.4 VSCode Version: 1.86.2 Commit: 502aa640fa223830082ace6c194b46b55e390fa0 Date: 2024-03-25T05:34:36.589Z (1 day ago) Electron: 27.2.3 ElectronBuildId: undefined Chromium: 118.0.5993.159 Node.js: 18.17.1 V8: 11.8.172.18-electron.0 OS: Darwin arm64 23.4.0

truell20 commented 3 months ago

Could you send your Copilot++ output tab?

Screenshot 2024-03-26 at 1 33 26 PM
tonydavis629 commented 3 months ago
024-03-26 20:25:05.497 [info] CURSOR LOG: Finished creating provider!
2024-03-26 20:28:57.204 [info] CURSOR LOG: restFunc initiated 12760504-54f5-4ba5-a16c-be86a71ae7bb
2024-03-26 20:28:57.424 [info] CURSOR LOG: Error in streaming cpp [internal] Protocol error
2024-03-26 20:28:57.424 [info] CURSOR LOG: restFunc done 12760504-54f5-4ba5-a16c-be86a71ae7bb
2024-03-26 20:29:52.278 [info] CURSOR LOG: restFunc initiated 385ad068-b8a5-47d9-adbc-518f8ea7bad1
2024-03-26 20:29:52.385 [info] CURSOR LOG: Error in streaming cpp [internal] Protocol error
2024-03-26 20:29:52.385 [info] CURSOR LOG: restFunc done 385ad068-b8a5-47d9-adbc-518f8ea7bad1
2024-03-26 20:30:34.732 [info] CURSOR LOG: restFunc initiated 6aa94f86-fc45-4ea2-9df5-7bc136a9f4c6
2024-03-26 20:30:34.864 [info] CURSOR LOG: Error in streaming cpp [canceled] This operation was aborted
2024-03-26 20:30:34.864 [info] CURSOR LOG: restFunc done 6aa94f86-fc45-4ea2-9df5-7bc136a9f4c6
2024-03-26 20:30:34.927 [info] CURSOR LOG: restFunc initiated 0b686493-465f-40b2-baa4-4ea158dd9a8c
2024-03-26 20:30:35.021 [info] CURSOR LOG: Error in streaming cpp [internal] Protocol error
2024-03-26 20:30:35.021 [info] CURSOR LOG: restFunc done 0b686493-465f-40b2-baa4-4ea158dd9a8c
2024-03-26 20:30:35.503 [info] CURSOR LOG: restFunc initiated 30211ed2-edad-4e9f-9cd9-e6b8b2be0cce
2024-03-26 20:30:35.633 [info] CURSOR LOG: Error in streaming cpp [internal] Protocol error
2024-03-26 20:30:35.633 [info] CURSOR LOG: restFunc done 30211ed2-edad-4e9f-9cd9-e6b8b2be0cce
2024-03-26 20:30:38.494 [info] CURSOR LOG: restFunc initiated 9e2ed3c1-6901-4bcf-a9b8-d44318c8650b
2024-03-26 20:30:38.618 [info] CURSOR LOG: Error in streaming cpp [internal] Protocol error
2024-03-26 20:30:38.618 [info] CURSOR LOG: restFunc done 9e2ed3c1-6901-4bcf-a9b8-d44318c8650b
2024-03-26 20:30:38.708 [info] CURSOR LOG: restFunc initiated 9b20f3a9-5233-4b21-9c55-f56d83bced23
2024-03-26 20:30:38.817 [info] CURSOR LOG: Error in streaming cpp [canceled] This operation was aborted
2024-03-26 20:30:38.817 [info] CURSOR LOG: restFunc done 9b20f3a9-5233-4b21-9c55-f56d83bced23
2024-03-26 20:30:38.885 [info] CURSOR LOG: restFunc initiated ae75b4e8-2131-4a0e-abce-5dbf5891f7be
2024-03-26 20:30:39.002 [info] CURSOR LOG: Error in streaming cpp [canceled] This operation was aborted
2024-03-26 20:30:39.002 [info] CURSOR LOG: restFunc done ae75b4e8-2131-4a0e-abce-5dbf5891f7be
2024-03-26 20:30:39.114 [info] CURSOR LOG: restFunc initiated 7ccced30-d8b6-43af-999f-90aa9bf74fa1
2024-03-26 20:30:39.162 [info] CURSOR LOG: Error in streaming cpp [canceled] This operation was aborted
2024-03-26 20:30:39.162 [info] CURSOR LOG: restFunc done 7ccced30-d8b6-43af-999f-90aa9bf74fa1
2024-03-26 20:30:39.228 [info] CURSOR LOG: restFunc initiated 41ece198-1fe6-49c2-a8ce-54828cb4514b
2024-03-26 20:30:39.261 [info] CURSOR LOG: Error in streaming cpp [internal] Protocol error
2024-03-26 20:30:39.261 [info] CURSOR LOG: restFunc done 41ece198-1fe6-49c2-a8ce-54828cb4514b
2024-03-26 20:30:39.389 [info] CURSOR LOG: restFunc initiated ed7947d2-d4af-43a1-acb5-a61f5f2adbd4
2024-03-26 20:30:39.499 [info] CURSOR LOG: Error in streaming cpp [canceled] This operation was aborted
2024-03-26 20:30:39.499 [info] CURSOR LOG: restFunc done ed7947d2-d4af-43a1-acb5-a61f5f2adbd4
2024-03-26 20:30:39.570 [info] CURSOR LOG: restFunc initiated 887e2d5d-76d0-4ee2-b493-c8390cfd5c01
2024-03-26 20:30:39.702 [info] CURSOR LOG: Error in streaming cpp [internal] Protocol error
2024-03-26 20:30:39.702 [info] CURSOR LOG: restFunc done 887e2d5d-76d0-4ee2-b493-c8390cfd5c01
2024-03-26 20:30:39.869 [info] CURSOR LOG: restFunc initiated 057e9b58-8dfc-42c5-a8ce-3755f92764cb
2024-03-26 20:30:40.000 [info] CURSOR LOG: Error in streaming cpp [internal] Protocol error
2024-03-26 20:30:40.000 [info] CURSOR LOG: restFunc done 057e9b58-8dfc-42c5-a8ce-3755f92764cb
2024-03-26 20:30:41.378 [info] CURSOR LOG: restFunc initiated 9b2131f1-39ba-4b28-9077-a43534ecd295
2024-03-26 20:30:41.948 [info] CURSOR LOG: Error in streaming cpp [internal] Protocol error
2024-03-26 20:30:41.948 [info] CURSOR LOG: restFunc done 9b2131f1-39ba-4b28-9077-a43534ecd295
2024-03-26 20:30:42.493 [info] CURSOR LOG: restFunc initiated 7070c3f0-e65b-420f-9ecd-35ea4ad804f6
2024-03-26 20:30:42.641 [info] CURSOR LOG: Error in streaming cpp [internal] Protocol error
2024-03-26 20:30:42.642 [info] CURSOR LOG: restFunc done 7070c3f0-e65b-420f-9ecd-35ea4ad804f6
2024-03-26 20:30:49.924 [info] CURSOR LOG: restFunc initiated 08c7a029-3ca5-41f4-8fe6-916bdf66dfa6
2024-03-26 20:30:51.188 [info] CURSOR LOG: Error in streaming cpp [canceled] This operation was aborted
2024-03-26 20:30:51.188 [info] CURSOR LOG: restFunc done 08c7a029-3ca5-41f4-8fe6-916bdf66dfa6
2024-03-26 20:30:51.261 [info] CURSOR LOG: restFunc initiated 7b30833b-897a-4a64-b55e-e7d3de25f1fd
2024-03-26 20:30:51.393 [info] CURSOR LOG: Error in streaming cpp [canceled] This operation was aborted
2024-03-26 20:30:51.393 [info] CURSOR LOG: restFunc done 7b30833b-897a-4a64-b55e-e7d3de25f1fd
2024-03-26 20:30:51.503 [info] CURSOR LOG: restFunc initiated 006a4f79-3803-4a96-8e1a-806c1c86ebeb
2024-03-26 20:30:51.779 [info] CURSOR LOG: Error in streaming cpp [canceled] This operation was aborted
2024-03-26 20:30:51.779 [info] CURSOR LOG: restFunc done 006a4f79-3803-4a96-8e1a-806c1c86ebeb
2024-03-26 20:30:51.844 [info] CURSOR LOG: restFunc initiated 7406ac9f-650e-43b7-b153-82ce0447396c
2024-03-26 20:30:53.467 [info] CURSOR LOG: Error in streaming cpp [canceled] This operation was aborted
2024-03-26 20:30:53.467 [info] CURSOR LOG: restFunc done 7406ac9f-650e-43b7-b153-82ce0447396c
2024-03-26 20:30:53.535 [info] CURSOR LOG: restFunc initiated 63c4d353-6291-4190-9c12-f70b063f1dea
2024-03-26 20:30:54.780 [info] CURSOR LOG: Error in streaming cpp [canceled] This operation was aborted
2024-03-26 20:30:54.780 [info] CURSOR LOG: restFunc done 63c4d353-6291-4190-9c12-f70b063f1dea
2024-03-26 20:31:10.588 [info] CURSOR LOG: restFunc initiated 2a928d67-60fd-45d8-a68a-4c09d2f0f37f
2024-03-26 20:31:14.393 [info] CURSOR LOG: Error in streaming cpp [canceled] This operation was aborted
2024-03-26 20:31:14.393 [info] CURSOR LOG: restFunc done 2a928d67-60fd-45d8-a68a-4c09d2f0f37f
2024-03-26 20:31:14.465 [info] CURSOR LOG: restFunc initiated 2038965c-26a4-4817-b93d-a57fb160ccc9
2024-03-26 20:31:15.320 [info] CURSOR LOG: Error in streaming cpp [canceled] This operation was aborted
2024-03-26 20:31:15.320 [info] CURSOR LOG: restFunc done 2038965c-26a4-4817-b93d-a57fb160ccc9
2024-03-26 20:39:52.156 [info] CURSOR LOG: restFunc initiated 8925e937-619f-42a0-833b-f6c59ac1834c
2024-03-26 20:39:52.525 [info] CURSOR LOG: Error in streaming cpp [internal] Protocol error
2024-03-26 20:39:52.525 [info] CURSOR LOG: restFunc done 8925e937-619f-42a0-833b-f6c59ac1834c
2024-03-26 20:40:09.803 [info] CURSOR LOG: restFunc initiated a4f7d985-12ab-4f44-a458-e3322cbbb877
2024-03-26 20:40:09.940 [info] CURSOR LOG: Error in streaming cpp [internal] Protocol error
2024-03-26 20:40:09.940 [info] CURSOR LOG: restFunc done a4f7d985-12ab-4f44-a458-e3322cbbb877
2024-03-26 20:40:10.451 [info] CURSOR LOG: restFunc initiated af2cb7b2-fce9-4608-9d83-a94d2a57e3ae
2024-03-26 20:40:10.603 [info] CURSOR LOG: Error in streaming cpp [internal] Protocol error
2024-03-26 20:40:10.603 [info] CURSOR LOG: restFunc done af2cb7b2-fce9-4608-9d83-a94d2a57e3ae
2024-03-26 20:40:10.652 [info] CURSOR LOG: restFunc initiated 18306540-3a95-4a8e-98db-0f1feffbc954
2024-03-26 20:40:10.766 [info] CURSOR LOG: Error in streaming cpp [internal] Protocol error
2024-03-26 20:40:10.766 [info] CURSOR LOG: restFunc done 18306540-3a95-4a8e-98db-0f1feffbc954
2024-03-26 20:40:10.872 [info] CURSOR LOG: restFunc initiated c0d968a0-0038-4b9f-bcc0-6851de3906ed
2024-03-26 20:40:10.985 [info] CURSOR LOG: Error in streaming cpp [internal] Protocol error
2024-03-26 20:40:10.985 [info] CURSOR LOG: restFunc done c0d968a0-0038-4b9f-bcc0-6851de3906ed
2024-03-26 20:40:11.238 [info] CURSOR LOG: restFunc initiated fb175f9a-134f-4dca-a372-4cd2c0a0f221
2024-03-26 20:40:11.389 [info] CURSOR LOG: Error in streaming cpp [internal] Protocol error
2024-03-26 20:40:11.389 [info] CURSOR LOG: restFunc done fb175f9a-134f-4dca-a372-4cd2c0a0f221
2024-03-26 20:40:11.558 [info] CURSOR LOG: restFunc initiated fdaa2d62-e684-476d-8790-3c737749feed
2024-03-26 20:40:11.716 [info] CURSOR LOG: Error in streaming cpp [internal] Protocol error
2024-03-26 20:40:11.716 [info] CURSOR LOG: restFunc done fdaa2d62-e684-476d-8790-3c737749feed
2024-03-26 20:40:12.930 [info] CURSOR LOG: restFunc initiated d890fdc8-76c1-4fac-855c-28159c935677
2024-03-26 20:40:13.062 [info] CURSOR LOG: Error in streaming cpp [internal] Protocol error
2024-03-26 20:40:13.062 [info] CURSOR LOG: restFunc done d890fdc8-76c1-4fac-855c-28159c935677
2024-03-26 20:40:13.236 [info] CURSOR LOG: restFunc initiated 2564a1e3-8d57-45a3-bc82-4b66bdc0dd9e
2024-03-26 20:40:13.401 [info] CURSOR LOG: Error in streaming cpp [internal] Protocol error
2024-03-26 20:40:13.401 [info] CURSOR LOG: restFunc done 2564a1e3-8d57-45a3-bc82-4b66bdc0dd9e
2024-03-26 20:40:41.615 [info] CURSOR LOG: restFunc initiated aab64060-9d6d-4978-a362-345ed771c55d
2024-03-26 20:40:41.733 [info] CURSOR LOG: Error in streaming cpp [internal] Protocol error
2024-03-26 20:40:41.733 [info] CURSOR LOG: restFunc done aab64060-9d6d-4978-a362-345ed771c55d
2024-03-26 20:40:42.884 [info] CURSOR LOG: restFunc initiated 0d9b2078-4bab-4af4-a17e-c2176f7bb4ac
2024-03-26 20:40:43.000 [info] CURSOR LOG: Error in streaming cpp [internal] Protocol error
2024-03-26 20:40:43.000 [info] CURSOR LOG: restFunc done 0d9b2078-4bab-4af4-a17e-c2176f7bb4ac
2024-03-26 20:47:12.584 [info] CURSOR LOG: restFunc initiated f7cf4f7c-9668-42bd-86d2-f658bd758e71
2024-03-26 20:47:12.727 [info] CURSOR LOG: Error in streaming cpp [internal] Protocol error
2024-03-26 20:47:12.727 [info] CURSOR LOG: restFunc done f7cf4f7c-9668-42bd-86d2-f658bd758e71
2024-03-26 20:47:23.622 [info] CURSOR LOG: restFunc initiated 6cad6f68-ab5f-4d90-871e-e3b08bb79983
2024-03-26 20:47:23.752 [info] CURSOR LOG: Error in streaming cpp [internal] Protocol error
2024-03-26 20:47:23.752 [info] CURSOR LOG: restFunc done 6cad6f68-ab5f-4d90-871e-e3b08bb79983
2024-03-26 20:47:23.932 [info] CURSOR LOG: restFunc initiated 14bc5408-270b-4fca-9556-51411d2d03e1
2024-03-26 20:47:24.087 [info] CURSOR LOG: Error in streaming cpp [internal] Protocol error
2024-03-26 20:47:24.087 [info] CURSOR LOG: restFunc done 14bc5408-270b-4fca-9556-51411d2d03e1
2024-03-26 20:47:24.264 [info] CURSOR LOG: restFunc initiated 0659e4d5-9503-4609-a663-0218b35297b6
2024-03-26 20:47:24.427 [info] CURSOR LOG: Error in streaming cpp [internal] Protocol error
2024-03-26 20:47:24.427 [info] CURSOR LOG: restFunc done 0659e4d5-9503-4609-a663-0218b35297b6
2024-03-26 20:47:24.999 [info] CURSOR LOG: restFunc initiated 884daa8f-1edf-4083-ae8f-f8031a8e2f64
2024-03-26 20:47:25.164 [info] CURSOR LOG: Error in streaming cpp [internal] Protocol error
2024-03-26 20:47:25.164 [info] CURSOR LOG: restFunc done 884daa8f-1edf-4083-ae8f-f8031a8e2f64
2024-03-26 20:47:39.791 [info] CURSOR LOG: restFunc initiated b2d4fd83-c425-4f24-a7e4-b158c6bdd15f
2024-03-26 20:47:39.906 [info] CURSOR LOG: Error in streaming cpp [internal] Protocol error
2024-03-26 20:47:39.906 [info] CURSOR LOG: restFunc done b2d4fd83-c425-4f24-a7e4-b158c6bdd15f
jjhesk commented 3 months ago

same here

Patagouin commented 3 months ago

Same messages for me when I use Copilot++ (no problem with the chat part) It's probably a network issue It doesn't work at my job (even though I've configured my proxy) (firewall problem ?) whereas at home I have no problem with Copilot++ via openvpn

tommylin1212 commented 3 months ago

I am facing the same issue. Normally I would write it off because of our corporate proxy/vpn, BUT NIGHTLY WORKS AND STABLE DOESN'T??

I have tried all of the classics, win-ca, Node ssl flags, node extra certs, disable strict proxy.

I do think Win-ca extension is what is allowing Nightly to work and disabling strict proxy in vscode/cursor

My situation is this:

Cursor Nightly

  1. Behind company firewall
  2. Windows 11
  3. Works: Copilot++, Chat, CLI suggestions/complete, AI Review (Mostly Works, the network stuff does, rendering doesn't. probably nightly jank)
  4. Doesn't Work: Indexing. Either Internal protocol error like above, or self-signed cert in chain, depending on the combination of 15 settings and env vars i try.
  5. BTW indexing works in the very short amount of time when my laptop is connected to internet but not corporate proxy/vpn after sleep. (I thought Indexing was local? Is it gen embeds on machine, store embeds/refs somewhere else?)

Cursor Stable (any 0.29+, I didn't have cursor before this.)

  1. Behind company firewall
  2. Win 11
  3. Works: Chat, CLI suggest/complete. AI Review (Actutally works, no render issue)
  4. Doesn't Work: Copilot++, Indexing (Same little network glitch trick works, I think)

I love the product and especially copilot++ which is the reason I went pro in the first place. I am really only concerned about CPP, Indexing is really nice though. Stable works on my very similar Personal laptop (Lenovo, Win 11, same network [Not corporate proxy though], same account)

Very happy to provide more information. Just super confused that nightly works and Stable doesn't. Gives me hope that stable has a chance of working behind the proxy.

image

@truell20 I know the team is small and working hard. I also understand troubleshooting weird company firewall/cert issues is a pain in the ass and not top priority for a startup growing as fast as Cursor. I absolutely love Cursor and am floored by how big of an upgrade over copilot it is. I would be more than happy to troubleshoot this any way that works best for your team. Like I said I normally would chalk this up to company firewall/self-signed-certs garbage and give up, but the nightly Copilot++ works so i have hope. Please and thanks!

tonydavis629 commented 2 months ago

Recent updates have changed my copilot++ errors to:


2024-04-17 14:01:15.770 [info] CURSOR LOG: Finished creating provider!
2024-04-17 14:01:33.185 [info] CURSOR LOG: restFunc initiated 79f11bfb-4bfc-44f7-962c-cc21de05bf7a
2024-04-17 14:01:33.366 [info] CURSOR LOG: Error in streaming cpp [internal] self-signed certificate in certificate chain
2024-04-17 14:01:33.366 [info] CURSOR LOG: restFunc done 79f11bfb-4bfc-44f7-962c-cc21de05bf7a
2024-04-17 14:01:34.397 [info] CURSOR LOG: restFunc initiated 0ee2b272-e587-47d2-b4c7-bf0b0162104b
2024-04-17 14:01:34.550 [info] CURSOR LOG: Error in streaming cpp [internal] self-signed certificate in certificate chain
2024-04-17 14:01:34.550 [info] CURSOR LOG: restFunc done 0ee2b272-e587-47d2-b4c7-bf0b0162104b
tonydavis629 commented 2 months ago

And now copilot++ is back to working! Not sure what may have caused the change, but it wasn't after an update so it was likely something on my side.

Update: restarted the container and again getting self signed cert errors. This happens in dev containers as well as local system workspaces, and it is behind a corporate proxy.

lzd-1230 commented 2 months ago
2024-04-25 19:57:48.348 [info] CURSOR LOG: Error in streaming cpp [canceled] This operation was aborted
2024-04-25 19:57:48.348 [info] CURSOR LOG: restFunc done a6a147dc-268a-40f5-b2c4-18bf047ae22e
2024-04-25 19:57:48.352 [info] CURSOR LOG: restFunc initiated b842156e-38de-42f5-9ae4-b85711475c54
2024-04-25 19:57:48.864 [info] CURSOR LOG: Error in streaming cpp [canceled] This operation was aborted
2024-04-25 19:57:48.864 [info] CURSOR LOG: restFunc done b842156e-38de-42f5-9ae4-b85711475c54
2024-04-25 19:57:49.930 [info] CURSOR LOG: restFunc initiated f50f56df-58c4-4299-a3dc-54811d6bb0fc

I got same question and cannot use copilot++ most of time. I try to fixed it by restart computer and turn off system proxy and it works (just restart cursor not gonna work...) I still can turn on my proxy after I make sure copilot++ is working fine...... So wired and cannot locate the issue.

stefanbringuier commented 2 months ago

Similarly, I'm seeing Copilot++ just stopped working, :man_shrugging: . Copilot++ log looks fine:

2024-04-26 22:20:32.712 [info] CURSOR LOG: Finished creating provider!

Version: 0.32.2 VSCode Version: 1.86.2 Commit: f8ed437267c50dbc975beb3d51f89c800277bb30 Date: 2024-04-17T09:01:02.813Z Electron: 27.2.3 ElectronBuildId: undefined Chromium: 118.0.5993.159 Node.js: 18.17.1 V8: 11.8.172.18-electron.0 OS: Linux x64 5.15.0-105-generic

didfordad commented 2 months ago

Same here. Last night working pretty well. This mornig doesn't work

2024-04-30 15:30:22.274 [info] CURSOR LOG: Finished creating provider!

any idea how to solve it?

tonydavis629 commented 1 month ago

Still having issues with copilot++ over corporate proxy after the latest networking update.

ambwg commented 1 month ago

@tonydavis629 also struggling to get copilot++ working over corporate proxy (in this case, Zscaler).

Also reported and discussed in Cursor Forum at https://forum.cursor.sh/t/copilot-not-working-error-in-streaming-cpp-internal-protocol-error/3194/1

Tried solution by tnypxl but still cannot make it work on my Mac setup. Maybe you will have better luck following instructions from the Forum. If do, please let me know.


Version: 0.33.1 VSCode Version: 1.86.2 Commit: 26d69e8cd372a090b6a05b74a32fa7f9d52c10b0 Date: 2024-05-03T23:52:39.002Z (5 days ago) Electron: 27.2.3 ElectronBuildId: undefined Chromium: 118.0.5993.159 Node.js: 18.17.1 V8: 11.8.172.18-electron.0 OS: Darwin arm64 23.4.0

tonydavis629 commented 1 month ago

@ambwg my corporate proxy is not Zscaler, and so these instructions aren't directly applicable.

lzd-1230 commented 1 month ago

I found a possible workaround in here and it immediately works for me. You guys can try it and tell us whether it works for more people. https://github.com/getcursor/cursor/issues/663#issuecomment-1690313795

tonydavis629 commented 1 month ago

@lzd-1230 Mac CA did not fix the issue either

stefanbringuier commented 1 month ago

Seems like there won't be any movement on this issue, :disappointed: .

tonydavis629 commented 3 weeks ago

@truell20 any idea when this can be tackled? copilot++ is so awesome, it's really disappointing not to be able to use it at work.