Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions docs/cody/capabilities/proxy-setup.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Running Cody via proxies
# Run Cody via proxies

<p className="subtitle">This documentation helps you set up HTTP, HTTPS, and SOCKS proxies in VS Code and JetBrains IDEs. It also includes instructions for handling self-signed certificates on macOS and Windows.</p>

Expand All @@ -7,7 +7,7 @@

<Callout type="info"> You may be unable to authenticate with Cody or see a network reachability issue if you attempt to use Cody before configuring your proxy settings.</Callout>

### Accessing the Proxy Settings
### Accessing the Proxy Settings

1. Open VS Code.
2. Navigate to the settings window of VS Code
Expand All @@ -28,7 +28,7 @@ Add the following configuration fields in the `settings.json` file to set up you
}
```

### Self-Signed Certificates in VS Code
### Self-Signed Certificates in VS Code

If your proxy uses self-signed certificates, ensure the following settings are enabled:

Expand All @@ -39,11 +39,11 @@ If your proxy uses self-signed certificates, ensure the following settings are e
}
```

### Restart VS Code
### Restart VS Code

After modifying the `settings.json` file, close and restart VS Code to apply the new proxy settings.

### Supported Proxy Types
### Supported Proxy Types

VS Code supports HTTP, HTTPS, and SOCKS proxies. The `http.proxy` setting in `settings.json` will accommodate all three types based on the provided proxy URL.

Expand Down Expand Up @@ -84,13 +84,13 @@ VS Code supports HTTP, HTTPS, and SOCKS proxies. The `http.proxy` setting in `se
- **Token:** `your_token`
3. Click `Apply`, then `OK`, and test the connection

### Supported Proxy Types
### Supported Proxy Types

JetBrains supports HTTP and SOCKS proxies. The `Manual Proxy Configuration` in the settings will accommodate both types based on the provided proxy URL.

### Known Limitations
### Known Limitations

1. At the moment, only `Manual Proxy Configuration` is supported. The `auto-detect proxy settings` option is not fully supported.
1. Currently, only `Manual Proxy Configuration` is supported. The `auto-detect proxy settings` option is not fully supported.
2. HTTPS proxy is not supported in JetBrains currently

</Tab>
Expand Down Expand Up @@ -125,7 +125,7 @@ This command should return a response from the instance, confirming that the pro
3. Import the certificate into the `Trusted Root Certification Authorities` store.
4. Confirm that the certificate is listed and trusted.

<Callout type="info"> Please confirm with your IT Administrator to ensure you trusting the right certificate.</Callout>
<Callout type="info"> Please confirm with your IT Administrator to ensure you trust the right certificate.</Callout>

When adding self-signed certificates, try making a `curl` request routed through the HTTPS proxy to check if the computer uses the self-signed certificate. Your request will look something like:

Expand All @@ -135,4 +135,4 @@ curl -x https://proxy_ip https://destination_ip

### Additional Support

If you need further assistance with proxy configurations, especially for special enterprise setups, please contact the Cody support team. They can provide guidance tailored to your specific network environment.
Please get in touch with the Cody support team if you need further assistance with proxy configurations, especially for special enterprise setups. They can provide guidance tailored to your specific network environment.
Loading