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 chat does not work with enterprise endpoint #285

Open
jiminj opened this issue Feb 25, 2025 · 0 comments
Open

Codeium chat does not work with enterprise endpoint #285

jiminj opened this issue Feb 25, 2025 · 0 comments

Comments

@jiminj
Copy link

jiminj commented Feb 25, 2025

The browser opened via :Codeium chat displays the error page.

Image

diagnostics information
{
  "extensionDiagnostics": {
    "url": "http://127.0.0.1:51614/?api_key=*****&has_enterprise_extension=true&web_server_url=ws://127.0.0.1:51613&ide_name=neovim&ide_version=0.10.4&app_name=codeium.nvim&extension_name=codeium.nvim&extension_version=1.20.9&ide_telemetry_enabled=true&has_index_service=true&locale=en_US",
    "connection": {
      "status": "READY",
      "error": {}
    },
    "isChatEnabled": true,
    "handshake": {
      "disabledTelemetry": false,
      "ignoreChatTelemetrySetting": false
    },
    "params": {
      "ideTelemetryEnabled": true,
      "ready": true,
      "apiKey": "****",
      "extensionName": "codeium.nvim",
      "extensionVersion": "1.20.9",
      "ideName": "neovim",
      "ideVersion": "0.10.4",
      "locale": "en_US",
      "hasDevExtension": false,
      "hasEnterpriseExtension": true,
      "hasIndexService": true,
      "appName": "codeium.nvim",
      "webServerUrl": "ws://127.0.0.1:51613",
      "diffViewEnabled": false,
      "openFilePointerEnabled": false,
      "insertAtCursorEnabled": false,
      "disableLexicalEditor": false
    },
    "data": {
      "numMessages": 12
    },
    "bridge": {
      "bridgeType": "null"
    },
    "health": {
      "checkStatus": 200,
      "error": {}
    }
  },
  "extensionPanelLogs": [],
  "languageServerDiagnostics": {
    "logs": [
      "I0226 01:49:52.256741 58434 main.go:552] Setting GOMAXPROCS to 4\n",
      "I0226 01:49:52.257791 58434 main.go:737] Starting language server process with pid 58434\n",
      "I0226 01:49:52.257817 58434 server.go:181] Language server will attempt to listen on host 127.0.0.1\n",
      "I0226 01:49:52.259978 58434 server.go:188] Language server listening on random port at 51594\n",
      "E0226 01:49:53.215088 58434 client_manager.go:272] Metadata is nil when trying to refresh user JWT\n",
      "I0226 01:49:53.216435 58434 server.go:435] Successfully created API server client\n",
      "I0226 01:49:53.234332 58434 server.go:444] Successfully initialized tokenizer\n",
      "I0226 01:49:53.235153 58434 server.go:578] Local search is enabled, will index local files.\n",
      "I0226 01:49:53.235161 58434 server.go:582] Using 3 indexer workers\n",
      "I0226 01:49:53.242025 58434 sqlite_faiss_db_client.go:64] Successfully created embedding search database in 6ms\n",
      "I0226 01:49:53.242526 58434 indexer.go:213] Using 4 embed workers\n",
      "I0226 01:49:53.242721 58434 search_provider.go:274] Successfully created and started indexer\n",
      "I0226 01:49:53.242735 58434 search_provider.go:304] Successfully created embedding search provider\n",
      "I0226 01:49:53.246237 58434 server.go:660] Successfully created completion provider\n",
      "I0226 01:49:53.246248 58434 server.go:709] Child process attempting to acquire lock file /var/folders/63/8jx697151y9gycqn_jpfbyqh0000gp/T/nvim.jiminj/OsoOth/0codeium/manager/locks/child_lock_1740502192212937000_7335607094005265638\n",
      "I0226 01:49:53.246486 58434 server.go:717] Child process acquired lock file /var/folders/63/8jx697151y9gycqn_jpfbyqh0000gp/T/nvim.jiminj/OsoOth/0codeium/manager/locks/child_lock_1740502192212937000_7335607094005265638\n",
      "I0226 01:49:53.250350 58434 web_server.go:250] Chat Web Server listening at ws://127.0.0.1:51613\n",
      "I0226 01:49:53.250380 58434 web_server.go:296] Chat Client file server listening at https://127.0.0.1:51614\n"
    ]
  }
}

I confirmed it works when I updated the language server version to 1.38.0 (at versions.json). Does it have any specific reason to stick to the current version? (1.20.9) If not, I can make a PR for this.

Plus, I think it would be better to have a way to designate a specific version via require("codeium").setup, or better tools.language_server option implementation because this still causes a stamp validation error.

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

1 participant