getcursor / cursor

The AI Code Editor
https://cursor.com
23.13k stars 1.47k forks source link

No connection while behind corporate proxy #1534

Closed tonydavis629 closed 1 week ago

tonydavis629 commented 2 months ago

The side panel, inline editing, and copilot++ are recently experiencing either no connection (inline editting, copilot++) or spotty connection (in the side panel) while used behind an SSL proxy. I currently cannot use any features of cursor. This is a recent change, previously inline editting and the side panel were working fine. I have tested with several cursor models, and using an openai key, to the same effect.

failed request IDs: inline edits: 21a17ae0-6a0b-49dc-b747-eca733e31f77 side panel: 981b8c18-b7ae-4c3c-931e-9dd8a4176c37 copilot++: 2024-07-08 09:47:07.990 [info] CURSOR LOG: Error in streaming cpp [internal] Protocol error 2024-07-08 09:47:07.990 [info] CURSOR LOG: restFunc done 693d9e49-65fc-4ab0-8d6e-748ebce98df4

Version: 0.36.2 VSCode Version: 1.89.1 Commit: 9a6d781540ba2732cf26551c07629e68121c6580 Date: 2024-07-07T21:57:45.723Z (15 hrs ago) Electron: 28.2.8 ElectronBuildId: undefined Chromium: 120.0.6099.291 Node.js: 18.18.2 V8: 12.0.267.19-electron.0 OS: Darwin arm64 23.5.0

laciferin2024 commented 2 months ago

I wonder if a relay server can solve this issue

Ching0509 commented 2 months ago

Having the same issue currently after the latest update. This is very frustrating.

harukary commented 1 month ago

+1

hitajitech commented 1 month ago

+1

Belleye commented 1 month ago

+1

harukary commented 1 month ago

After today's update, the side panel is working. However, Ctrl+K editing mode still doesn't work.

anth-dinosaur commented 1 month ago

+1

dimitrypo commented 1 month ago

Any fix to this is expected? I'm using cursor on my hobby projects and super happy with it.

In work we're using copilot and I find it utterly useless. I want to recommend cursor to our team to move but cannot as we're behind z-scaler and although any other program works (including copilot, tabnine, docker etc etc.) cursor just doesn't work.

Ching0509 commented 4 weeks ago

Are they giving up on responding any potential solution? (I know they're slow on response) I should also mention in the corporation environment, indexing, copilot++, and ctrl+k are all malfunctioned. This is unacceptably unstable for cursor running on certain environment.

brad-luo commented 3 weeks ago

Same to me.

2024-08-19 15:57:26.490 [info] CURSOR LOG: restFunc done 6ef268b0-e9eb-4860-8df0-819cfe148265 2024-08-19 15:57:26.770 [info] CURSOR LOG: restFunc initiated 615ef513-85cc-4787-9f1c-49fb72d2f730 2024-08-19 15:57:27.015 [info] CURSOR LOG: Error in streaming cpp [canceled] This operation was aborted

Also using Zscaler for proxy http://127.0.0.1/9000

thefazzer commented 2 weeks ago

Might be due to corp security deploying SSL clients prevented from requesting insecure connections and gateways that reject self signing in the certificate chain. Big companies desperate to both leverage the benefits of the tech and prevent access to it.

Phoenixmatrix commented 2 weeks ago

Hitting the same issue (also ZScaler). We have the cert setup so that pretty much everything else, including Github Copilot, Nodejs, WSL, etc all work through ZScaler. The chat in cursor also works, but indexing and code edits don't.

It doesn't seem like Cursor's extension is quite standard under the hood so I'm not sure where I'd poke to debug this. We have access to the ZScaler log, and see the failed SSL Handshake coming from Cursor's requests there, but don't know what to do about it.

anmorgunov commented 2 weeks ago

Have you tried disabling http/2?

Here is how to do that, and I found that link on the forum. It helped in my case.

tonydavis629 commented 2 weeks ago

Wow yeah that helped! Still doesn't fix the tab autocomplete, but fixes the side panel and cmd K. It seems like they've abandoned the github issues and just use their own forum. Thanks for the info @anmorgunov.

anmorgunov commented 2 weeks ago

The tab actually works for me as well, but glad it helps at least partially

tonydavis629 commented 2 weeks ago

Yeah, seems to be an unrelated issue. It works for me now on simple files. Thanks so much dude.

brad-luo commented 2 weeks ago

Have you tried disabling http/2?

Here is how to do that, and I found that link on the forum. It helped in my case.

Oh yeah, It does work!!!!

Appreciate it mate.

anth-dinosaur commented 2 weeks ago

Have you tried disabling http/2?

Here is how to do that, and I found that link on the forum. It helped in my case.

This fixed both cmd k and tab. Thank you!!!

tonydavis629 commented 1 week ago

Closing this, solution here

Have you tried disabling http/2?

Here is how to do that, and I found that link on the forum. It helped in my case.