Supported Versions
VS Code 1.89 or greater.
Gathering extension logs
Starting in VS Code Extension 1.10.0, the Chat Panel has an Extension Diagnostics button on the Settings page. This button will automatically collect relevant logs and parameters into a text file that can be downloaded.
For older versions of the extension:
1. Go to the Command Palette (ctrl/cmd + shift + P or go to View > Command Palette)
2. Type in "Show logs" and select the option that reads "Developer: Show Logs"
3. From the dropdown, select "Extension Host"
4. You should see something similar to the image below:
5. Change the dropdown in the top right that reads "Extension Host" and select "Codeium"
6. Export or copy the logs
How to reset or change your Enterprise URL
1. Navigate to the Codeium Enterprise extension settings by pressing Ctrl+Shift+X. Choose the Enterprise Updater (purple extension)
2. Click on the gear icon and select "Extension Settings"
3. In the extension settings, click the gear icon and select "Reset Setting" for each box populated with a URL
4. Reload VSCode by going to View -> Command Palette. Once the command palette is open type 'Reload window' and press enter.
5. Once reloaded, you should be prompted to Set URL
6. Type in the new URL
7. Close out of the Setting tab.
8. Reload VSCode by going to View -> Command Palette. Once the command palette is open type 'Reload window' and press enter.
9. After reloading, you should see a pop-up in the bottom right prompting you to sign in to Codeium. If not, go to the bottom left Accounts tab and click Sign in with Auth to use Codeium. Either method will redirect you to your Codeium Enterprise portal.
Known IDE issues and solutions
e.split is not defined
You are using an unsupported VS Code version, please update to a supported version and try again. You can find a list of supported versions here.
Using the wrong API Server
If a user changes their API Server/Portal URL in their workspace settings, this will override their user settings and may result in an error where the extension is communicating with the wrong API server.
Make sure that your API Server/Portal URL is set correctly and not overridden accidentally by the workspace settings.
Failed to update Codeium Enterprise extension Error: connect ECONNREFUSED 127.0.0.1:80
[error] [Extension Host] Failed to download Codeium Enterprise extension from <!DOCTYPE html><html lang="en"...
Not seeing Codeium Chat responses
If you are trying to send messages to Codeium chat but not seeing responses, check if you can cancel the response. If you are unable to cancel the response, this means that the response was completed but not displayed. This can happen if the Chat Web Server loses connection to the extension. Reloading VS Code and opening the Codeium Chat panel again should show the responses.
Unable to read file .../package.json
Unable to read file .../.vscode/extensions/codeium.codeium-<version>/package.json
If the above error shows up in the Codeium logs, try deleting the extension folder (.../.vscode/extensions/codeium.codeium-<version>) and reinstall the extension.
VS Code Enterprise Updater Loop
"Codeium Enterprise Updated" every time you open VSCode, try restarting all extensions
- Open the command palette ( CTRL + SHIFT + P )
- Run 'Disable All Installed Extensions'
- Run 'Enable all Extensions'
- Restart VS Code
Make sure all extensions are enabled again.
Proxy / Network Issues
Unchecking "Detect Proxy" in Codeium settings in VSCode can sometimes resolve issues where the extension is incorrectly attempting to use a proxy.
Certificate Issues
If you encounter the following errors:
ConnectError: [internal] unable to get issuer certificate
[ERROR]: [internal] unable to verify the first certificate
This suggests that the Codeium extension is unable to trust the TLS connection to your enterprise portal / API server because it does not trust the certificate being presented. This either means that the certificate presented by the Codeium deployment is untrusted or a certificate presented by a corporate proxy intercepting the request is untrusted.
In either case, the most preferable solution is to ensure that the root certificate that signed this certificate is properly installed on end-user machines in the appropriate location. VS Code and most other IDEs load certificates from the operating system's default location.
It is important that the full certificate chain is being presented from wherever TLS is being terminated. Oftentimes, if only the leaf certificate is presented, VS Code and other IDEs are unable to verify its authenticity because they are not aware of the intermediate certificate which validates the leaf certificate and is validated by the root certificate. Browsers are often able to work around this issue as users will likely have encountered a different website that does present the full certificate chain, so the intermediate cert is seen and cached, but applications like VS Code don't have this advantage.
The Network Proxy Text VS Code extension is useful for debugging certificate issues.