Exafunction / codeium.nvim

A native neovim extension for Codeium
MIT License
774 stars 58 forks source link

Enterprise Codeium throws: "completion request failed" #245

Open plague-doctor opened 17 hours ago

plague-doctor commented 17 hours ago

A few days ago codeium.nvim started to throw this error:

[codeium/codeium.log] [ERROR 17:13:09] /home/xxxxx/.local/share/nvim/lazy/codeium.nvim/lua/codeium/notify.lua:14: completion request failed: {
   code = 0,
   out = '{"code":"unknown","message":"unavailable: rpc error: code = Unavailable desc = last connection error: connec
tion error: desc = \\"transport: Error while dialing: dial tcp 192.168.48.3:26000: connect: no route to host\\"; last resolver error: dns: A record lookup error: lookup inference-server on 127.0.0.11:53: server misbehaving: rpc error: code = Unavailable desc = last connection error: connection error: desc = \\"transport: Error while dialing: dial tcp 192.168.48.3:26000: connect: no route to host\\"; last resolver error: dns: A record lookup error: lookup inference-server on 127.0.0.11:53: server misbehaving"}',
   response = {
   body = '{"code":"unknown","message":"unavailable: rpc error: code = Unavailable desc = last connection error: con
nection error: desc = \\"transport: Error while dialing: dial tcp 192.168.48.3:26000: connect: no route to host\\"; last resolver error: dns: A record lookup error: lookup inference-server on 127.0.0.11:53: server misbehaving: rpc error: code = Unavailable desc = last connection error: connection error: desc = \\"transport: Error while dialing: dial tcp 192.168.48.3:26000: connect: no route to host\\"; last resolver error: dns: A record lookup error: lookup inference-server on 127.0.0.11:53: server misbehaving"}',
     exit = 0,
     headers = { "Accept-Encoding: gzip", "Content-Type: application/json", "Vary: Origin", "Date: Wed, 09 Oct 2024 06
:13:09 GMT", "Content-Length: 618", "", "" },
     status = 500
   },

Our Enterprise Codeium server works fine with VS-Code with no issues.

I wonder what is this IP: 192.168.48.3... Neither our Codeium server runs at that IP, nor my PC does.

yenalp commented 16 hours ago

I’m encountering the same issue with codeium.nvim, and I'm receiving the following error in the logs:

[codeium/codeium.log] [ERROR 17:37:17] /home/xxxxx/.local/share/nvim/lazy/codeium.nvim/lua/codeium/notify.lua:14: completion request failed: { code = 0, out = '{"code":"unknown","message":"unavailable: rpc error: code = Unavailable desc = last connection error: connection error: desc = \\"transport: Error while dialing: dial tcp 192.168.48.3:26000: connect: no route to host\\"; last resolver error: dns: A record lookup error: lookup inference-server on 127.0.0.11:53: server misbehaving"}', ... }

Environment Details:

Operating System: Ubuntu 24.04 Neovim Version: v0.9.4

jweslley commented 7 hours ago

Same error for me :/

pqn commented 4 hours ago

Are these errors consistent or sporadic?

fortenforge commented 3 hours ago

We still don't officially support codeium.nvim for enterprise (the portal instructs users to use codeium.vim), but it seems like we have a lot of users using this despite that :)

Can any of you pinpoint the exact commit that started causing issues?

plague-doctor commented 2 hours ago

It is consistent.

yenalp commented 2 hours ago

Not sure which commit but it is consistant