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

Enterprise Codeium throws: "completion request failed" #245

Open
plague-doctor opened this issue Oct 9, 2024 · 7 comments
Open

Enterprise Codeium throws: "completion request failed" #245

plague-doctor opened this issue Oct 9, 2024 · 7 comments
Assignees

Comments

@plague-doctor
Copy link

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
Copy link

yenalp commented Oct 9, 2024

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
Copy link

jweslley commented Oct 9, 2024

Same error for me :/

@pqn
Copy link
Collaborator

pqn commented Oct 9, 2024

Are these errors consistent or sporadic?

@fortenforge fortenforge self-assigned this Oct 9, 2024
@fortenforge
Copy link
Contributor

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
Copy link
Author

It is consistent.

@yenalp
Copy link

yenalp commented Oct 9, 2024

Not sure which commit but it is consistant

@bassamsdata
Copy link

I have this issue on mac after this commit: f74f999

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

6 participants