I’m on a MacBook Pro which uses a security software called Zscaler. I didn’t find any rejected requests in the Zscaler logs so I’m not sure if this is the problem or not.
Does anyone have experience with this or any idea on how to get more information about the failing requests?
Unfortunately it still doesn’t work. I tested it on my private machine and there are no problems. Both are similar MacBooks but on the company machine I have Zscaler. So I’m assuming that’s the problem. Could be anything else though. So it would be great to understand how to further debug this problem
@almirm thanks for confirming the issue. I remember having a problem with GitHub Copilot a while ago. That was also related to certificates. Installing an extension (win-ca or mac-ca) worked back then. Will try and see if they help here as well. Here are some additional infos:
@jkettmann yes - had to do the same fix with GitHub Copilot that you explained - installing mac-ca into node environment used by vscode. This fix also works for using GitHub Copilot in Cursor (due to being a fork of vscode).
Unfortunately this fix does not work for Copilot++ which seems to be using C++ (cpp) implementation of some communication protocol (assume streaming data back and forth) - based on your posted screenshot above.
Codebase indexing which is suppose to be “local”, doesn’t work because I am also behind a zscaler proxy. Been able to fix it various places, but can’t figure it out for Cursor.
This has nothing to do with downtime. The indexer doesn’t work because it doesn’t use the system certificate chains, which in my case is managed by Zscaler.
Same with me - not related to downtime. Copilot++ and index stop working and get error messages posted in this thread when turn on Zscaler. Issue as described by @tnypxl.
@sualeh How are these custom C++ streaming processes referencing system certs? Can this be overridden with a cursor-specific environment variable? Something like, “CURSOR_CA_BUNDLE=/path/to/cert.pem”?
@tnypxl could you please describe in more detail what is your system (Windows/Mac/Linux) and what you at the end did to get Copilot++ working with Zscaler on?
I am on MacOS Sonoma 14.4.1 and tried following the instructions but could not get Copilot++ to work yet. Tried:
security find-certificate -a -p /System/Library/Keychains/SystemRootCertificates.keychain >/Users/<USER>/tmp/certs-system.crt
security find-certificate -a -c zscaler -p /Library/Keychains/System.keychain >> /Users/<USER>/tmp/certs-system.crt
Those are the two commands I ran. Then you have to export some environment vars as defined in the discussions on that link I posted.
Edit: What this does is bake all your normal certs and the zscaler root cert into one. I think some of the issue is that the cert chain is not complete in the eyes of some applications since zscaler is essentially a custom cert. Below are the ENV vars I used:
I see the same problem as OP on an ssh server behind a proxy. It doesn’t use Zscaler and I am not sure how to translate the Zscaler instructions to my situation. Would be really helpful if someone could flesh out the steps here. Thanks!
EDIT : I just tried using the last nightly build (v 0.28.3-nightly) and copilot++ works on the same server.