Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codeium extension broken in VSCode #112

Open
sangrepura opened this issue Dec 28, 2024 · 2 comments
Open

Codeium extension broken in VSCode #112

sangrepura opened this issue Dec 28, 2024 · 2 comments

Comments

@sangrepura
Copy link

VSCode version:
Version: 1.97.0-insider (Universal)
Commit: 89f808979a5151bd91324e65d4f7ab1b62896983
Date: 2024-12-20T05:04:19.167Z (1 wk ago)
Electron: 32.2.6
ElectronBuildId: 10629634
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Darwin arm64 23.5.0

Codeium Extension Version:
1.31.18
Last Updated
2024-12-28, 17:35:26

Steps to reproduce:

  1. Install Codeium
  2. Login
  3. Ask a question in chat

Results:
Error generating response
There was an error generating a response. Please try again.

I've also attached diagnostics

(VSCode) 2024-12-28 17:45:08.843 [INFO]: mac-ca initialized
(VSCode) 2024-12-28 17:45:10.344 [INFO]: No proxy settings found
(VSCode) 2024-12-28 17:45:11.473 [INFO]: Checking network connection...
(VSCode) 2024-12-28 17:45:12.045 [INFO]: No Network Issue connecting to https://server.codeium.com/healthz
(VSCode) 2024-12-28 17:45:12.310 [INFO]: Creating manager directory: /var/folders/zx/5vgs9jcj46v5fvwzkbzs336r0000gn/T/cb5cb078-9b22-4a01-a1b6-143d6d24bc9a/codeium/manager
(VSCode) 2024-12-28 17:45:13.331 [INFO]: Using cached LS with valid crc32: /Users/me/.vscode-insiders/extensions/codeium.codeium-1.31.18/dist/1922b6ec8869ef782574fa5f5951f1c5e172c7b6/language_server_macos_arm
(VSCode) 2024-12-28 17:45:13.340 [INFO]: Language server started
2024/12/28 17:45:15 maxprocs: Leaving GOMAXPROCS=8: CPU quota undefined
I1228 17:45:15.459019 25828 main.go:568] [Language Server Manager] Setting GOMAXPROCS to 8
I1228 17:45:15.459098 25828 main.go:707] [Language Server Manager] Release 1.30.18 (1922b6ec8869ef782574fa5f5951f1c5e172c7b6)
I1228 17:45:15.459118 25828 main.go:786] [Language Server Manager] Starting language server manager with pid 25828
I1228 17:45:15.459401 25828 main.go:123] [Language Server Manager] Manager acquired its lock file /var/folders/zx/5vgs9jcj46v5fvwzkbzs336r0000gn/T/cb5cb078-9b22-4a01-a1b6-143d6d24bc9a/codeium/manager/locks/manager.lock
I1228 17:45:15.461736 25828 main.go:264] [Language Server Manager] Waiting for random port file in /var/folders/zx/5vgs9jcj46v5fvwzkbzs336r0000gn/T/cb5cb078-9b22-4a01-a1b6-143d6d24bc9a/codeium/manager/child_random_port_1735425915459468000_4300894146525168259 to be created
2024/12/28 17:45:15 maxprocs: Leaving GOMAXPROCS=8: CPU quota undefined
I1228 17:45:15.568860 25829 main.go:568] Setting GOMAXPROCS to 4
I1228 17:45:15.569430 25829 main.go:780] Starting language server process with pid 25829
I1228 17:45:15.570035 25829 server.go:220] Language server will attempt to listen on host 127.0.0.1
I1228 17:45:15.570215 25829 server.go:227] Language server listening on random port at 63218
2024/12/28 17:45:15 [proxy.Provider.readDarwinNetworkSettingProxy]: Automatic proxy is not enabled.
2024/12/28 17:45:15 [proxy.Provider.readDarwinNetworkSettingProxy]: https proxy is not enabled.
I1228 17:45:16.155110 25829 unleash.go:92] Initializing Unleash
I1228 17:45:16.711280 25829 unleash.go:112] Successfully initialized Unleash
I1228 17:45:16.721251 25829 server.go:297] Extension server port not specified; skipping extension server client creation
I1228 17:45:16.729532 25829 web_server.go:258] Chat Web Server listening at ws://127.0.0.1:63226
E1228 17:45:16.768090 25829 client_manager.go:275] Metadata is nil when trying to refresh user JWT
I1228 17:45:16.768673 25829 server.go:528] Successfully created API server client
I1228 17:45:16.800509 25829 server.go:546] Successfully initialized tokenizer
I1228 17:45:16.995059 25829 server.go:721] Local search is enabled, will index local files.
I1228 17:45:16.995085 25829 server.go:725] Using 2 indexer workers
I1228 17:45:17.005998 25829 sqlite_faiss_db_client.go:64] Successfully created embedding search database in 10ms
I1228 17:45:17.006359 25829 indexer.go:213] Using 4 embed workers
I1228 17:45:17.006398 25829 search_provider.go:274] Successfully created and started indexer
I1228 17:45:17.006490 25829 search_provider.go:304] Successfully created embedding search provider
I1228 17:45:17.027257 25829 server.go:813] Successfully created completion provider
I1228 17:45:17.027288 25829 server.go:862] Child process attempting to acquire lock file /var/folders/zx/5vgs9jcj46v5fvwzkbzs336r0000gn/T/cb5cb078-9b22-4a01-a1b6-143d6d24bc9a/codeium/manager/locks/child_lock_1735425915459571000_4171037237163014011
I1228 17:45:17.027410 25829 server.go:870] Child process acquired lock file /var/folders/zx/5vgs9jcj46v5fvwzkbzs336r0000gn/T/cb5cb078-9b22-4a01-a1b6-143d6d24bc9a/codeium/manager/locks/child_lock_1735425915459571000_4171037237163014011
I1228 17:45:17.041368 25829 server.go:356] LSP listening on random port at 63229
63229
I1228 17:45:17.079924 25828 main.go:300] [Language Server Manager] Found random server port 63218
I1228 17:45:17.079973 25828 main.go:301] [Language Server Manager] Found random lsp port 63229
I1228 17:45:17.079999 25828 main.go:308] [Language Server Manager] Attempting to connect to language server at 127.0.0.1:63218
I1228 17:45:17.092974 25828 main.go:177] [Language Server Manager] Fixing language server port at 63218
I1228 17:45:17.092987 25828 main.go:360] [Language Server Manager] Successfully connected to new language server at 127.0.0.1:63218
I1228 17:45:17.093011 25828 main.go:368] [Language Server Manager] Monitoring extension heartbeat
(VSCode) 2024-12-28 17:45:17.173 [INFO]: Found language server running on port 63218
I1228 17:45:17.183465 25829 utils.go:228] Analyzing workspace files for /Users/me/Projects/opposite-orbit
I1228 17:45:17.186760 25829 utils.go:282] Done analyzing workspace files for /Users/me/Projects/opposite-orbit
I1228 17:45:17.196713 25829 lazy_model.go:31] Successfully created embedding store
(VSCode) 2024-12-28 17:45:17.750 [INFO]: openAllTextDocuments took 14.830709000001661ms
E1228 17:45:35.128965 25829 chat.go:194] GetChatMessage error: an internal error occurred (error ID: bc25da74d843432ca49bda87accab6ba)
W1228 17:45:35.129123 25829 api.go:225] Clearing chat history due to error: validation error:
 - chat_message.message_id: value length must be at least 1 characters [string.min_len]: validation error:
 - chat_message.message_id: value length must be at least 1 characters [string.min_len]

codeium-debug-logs-2024-12-28-17-49.txt

@sangrepura
Copy link
Author

Codeium is connected and authenticated and I can ask it to explain code from the command menu, but every question I type produce:

W1228 18:02:43.404825 25829 api.go:225] Clearing chat history due to error: validation error:
 - chat_message.message_id: value length must be at least 1 characters [string.min_len]: validation error:
 - chat_message.message_id: value length must be at least 1 characters [string.min_len]

I'm typing whole sentences over 20 characters

@metal-gabe
Copy link

metal-gabe commented Jan 2, 2025

adding my experience to this issue as well as it may be related (but it's not exactly the same as OP's)

I'm seeing the following errors when just using VSCode w/o invoking anything Codeium related

but am I experiencing some issues with the inline prompt (cmd+I), it accepts my request and seems to generate something, but no solution/answer is displayed

autocomplete, chat & explanations seem to work well

supercomplete doesn't seem to be doing anything

codeium-vscode-error-01

codeium-vscode-error-02

VS Code Info

Version: 1.96.2
Commit: fabdb6a30b49f79a7aba0f2ad9df9b399473380f
Date: 2024-12-19T10:22:47.216Z
Electron: 32.2.6
ElectronBuildId: 10629634
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Darwin arm64 24.1.0

Codeium Info

Version: 1.22.4 (I notice that OP is on a newer version, but I don't have an option to upgrade)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants