You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/cody/troubleshooting.mdx
+6-43Lines changed: 6 additions & 43 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
<pclassName="subtitle">Learn about common reasons for errors that you might run into when using Cody and how to troubleshoot them.</p>
4
4
5
-
If you encounter errors or bugs while using Cody, try applying these troubleshooting methods to understand and configure the issue better. If the problem persists, you can report Cody bugs using the [issue tracker](https://github.com/sourcegraph/cody/issues), by using the [Support Forum](https://community.sourcegraph.com/), or by asking in the [Discord](https://discord.gg/s2qDtYGnAE) server.
5
+
If you encounter errors or bugs while using Cody, try applying these troubleshooting methods to understand and configure the issue better. If the problem persists, you can report by using the [Support Forum](https://community.sourcegraph.com/), or by asking in the [Discord](https://discord.gg/s2qDtYGnAE) server.
6
6
7
7
## VS Code extension
8
8
@@ -82,13 +82,7 @@ To troubleshoot further:
82
82
83
83
### Rate limits
84
84
85
-
Cody Free provides **unlimited autocomplete suggestions** and **200 chat invocations** per user per month.
86
-
87
-
On Cody Pro and Enterprise plans, usage limits are increased, and controlled by **Fair Usage**. This means that some users occasionally experience a limitation placed on their account. This limitation resets within 24 hours. If this issue persists, contact us through our [community forum](https://community.sourcegraph.com), Discord, or email [email protected].
88
-
89
-
#### 429 errors
90
-
91
-
A 429 status code means you are on a free account and hit your usage limit/quota for the day. It can also mean you were sending too many requests in a short period of time. If you have Cody Pro and you are seeing 429 errors, you can contact us at [[email protected]](mailto:[email protected]) to resolve this.
85
+
On Enterprise plans, usage limits are increased, and controlled by **Fair Usage**. This means that some users occasionally experience a limitation placed on their account. This limitation resets within 24 hours. If this issue persists, contact us through our [community forum](https://community.sourcegraph.com), Discord, or email [email protected].
92
86
93
87
### Error logging in VS Code on Linux and Windows
94
88
@@ -110,7 +104,7 @@ On Windows,
110
104
111
105
If you encounter this error:
112
106
113
-
```
107
+
```bash
114
108
Request Failed: Request to https://sourcegraph.com/.api/completions/stream?api-version=1&client-name=vscode&client-version=1.34.3 failed with 403 Forbidden
115
109
```
116
110
@@ -122,7 +116,7 @@ Consider disabling anonymizers, VPNs, or open proxies. If using a VPN is essenti
122
116
123
117
The `contextFilters` setting in Cody is used to control which files are included or excluded when Cody searches for relevant context while answering questions or providing code assistance. Sometimes, you can see the following error:
124
118
125
-
```
119
+
```bash
126
120
Edit failed to run: file is ignored (due to cody.contextFilters Enterprise configuration setting)
127
121
```
128
122
@@ -132,13 +126,6 @@ If the error occurs with a file that's not been excluded, the workaround is to u
132
126
133
127
This should clear the error.
134
128
135
-
### VS Code Pro License Issues
136
-
137
-
If VS Code prompts you to upgrade to Pro despite already having a Pro license, this usually happens because you're logged into a free Cody/Sourcegraph account rather than your Pro account. To fix this:
138
-
139
-
- Check which account you're currently logged into
140
-
- If needed, log out and sign in with your PRO account credentials
141
-
142
129
### Error exceeding `localStorage` quota
143
130
144
131
When using Cody chat, you may come across this error:
@@ -162,6 +149,7 @@ You can get performance traces from the Cody VS Code extension in production wit
162
149
```
163
150
164
151
Note that you may need to quit VSCode first, then run that command to re-launch it. It will open all of your windows and tabs again.
152
+
165
153
- After VS Code is started, head over to Chrome and go to `chrome://inspect`, which takes you to the following:
If you would like to add a forked repository as Cody context, you may need to add `"search.includeForks": true` to the [global settings](/admin/config/settings#editing-global-settings-for-site-admins) for your instance.
303
291
304
-
{/* ## Eclipse extension
305
-
306
-
### See a white screen the first time you open Cody chat
307
-
308
-
This can happen if Eclipse prompts you to set up a password for secure storage and Cody timeouts while waiting. Simply close and re-open the Cody chat.
309
-
310
-
### "No password provided" in the error log
311
-
312
-
If you see this error in the error log, it happens because the default OS password integration has been corrupted. Go to **Preferences > General > Security > Secure Storage** and ensure your OS integration is checked.
313
-
314
-
Then click **Clear Passwords** at the top, and then click **Change Password**. If you see a dialog saying **An error occurred while decrypting stored values... Do you want to cancel password change?** Click **No**.
315
-
316
-
This will reset the secure storage master password for OS integration. You will be asked if you want to provide additional information for password recovery, which is optional. Click **Apply and Close** and then restart Eclipse.
317
-
318
-
### General Tips
319
-
320
-
You can open the Cody Log view using the same steps as above, but instead, select **Cody Log**.
This will include more information about what Cody is doing, including any errors. There is a copy button at the top right of the log view that you can use to copy the log to your clipboard and send it to us. Be careful not to include any sensitive information, as the log communication is verbose and may contain tokens.
325
-
326
-
Additionally, Eclipse's built-in Error Log can be used to view any uncaught exceptions and their stack traces. You can open the Error Log using the **Window > Show View > Error Log** menu. */}
327
-
328
292
## OpenAI o1
329
293
330
294
### Context Deadline Exceeded Error
@@ -358,7 +322,7 @@ Symptoms:
358
322
Solutions:
359
323
360
324
- Break down complex requests into smaller steps
361
-
- Consider using Sonnet 3.5 for tasks requiring longer outputs
325
+
- Consider using Sonnet 4 for tasks requiring longer outputs
0 commit comments