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 Server Crashed #179

Open
Alan-TheGentleman opened this issue Apr 21, 2024 · 10 comments
Open

Codeium Server Crashed #179

Alan-TheGentleman opened this issue Apr 21, 2024 · 10 comments

Comments

@Alan-TheGentleman
Copy link

Hi ! first of all... I LOVE Codeium, moving on:

Since the last update I can't run it !

Everytime a new auto complete tries to run, I'm being received with a "Codeium server crashed" message and an empty message "[codeium/codeium.log] }"

I can't seem to find the error location, I'm using LazyVim, tried custom plugin installation and also with LazyExtras, same error.

324250946-ee300ddf-29f8-4616-8beb-d312243601cd
324250745-5262dc0c-66da-4d5f-bb84-ae2af0d99fb8

@Sazzad-Anwar
Copy link

I am also facing the same issue. I am not getting any auto complete suggestion and after a while just getting crashed notification.

@nepta1998
Copy link

nepta1998 commented Apr 22, 2024

I'm having the same issue when modify a very large file

Errors:

Screenshot from 2024-04-22 10-46-12

[WARN lun 22 abr 2024 10:39:17] /home/neptali/.local/share/nvim/lazy/codeium.nvim/lua/codeium/api.lua:314: failed to cancel in-flight request {
code = 0,
out = '{"code":"unknown","message":"no session for {apiKey: apikey here sessionId:}"}',
response = {
body = '{"code":"unknown","message":"no session for {apiKey: apikey here sessionId:}"}',
exit = 0,
headers = { "Accept-Encoding: gzip", "Content-Type: application/json", "Vary: Origin", "Date: Mon, 22 Apr 2024 14:39:09 GMT", "Content-Length: 102", "", "" },
status = 500
},
status = 500
}
[ERROR lun 22 abr 2024 10:43:08] /home/neptali/.local/share/nvim/lazy/codeium.nvim/lua/codeium/notify.lua:14: codeium server crashed: {
code = 1
}

@amoschristian
Copy link

amoschristian commented Apr 24, 2024

@nepta1998 yeah i had this error as well, exactly the same, i dont really know what to do with the issue for now
Seeing in bug #20 it looks like it still happening, only in large files with lots of line

@aliaksandr-trush
Copy link
Contributor

In recent update, I've added "other_documents" argument for GetCompletion request, that is attaching buffers content during request to Codeium Server. So, it is possible that too much data are sending to the server.
Could you try to comment out this line https://github.com/Exafunction/codeium.nvim/blob/main/lua/codeium/api.lua#L328 and check if it will improve stability?

@Alan-TheGentleman
Copy link
Author

In recent update, I've added "other_documents" argument for GetCompletion request, that is attaching buffers content during request to Codeium Server. So, it is possible that too much data are sending to the server. Could you try to comment out this line https://github.com/Exafunction/codeium.nvim/blob/main/lua/codeium/api.lua#L328 and check if it will improve stability?

Same issue :( it happens every single time I start typing and it's trying to give me a suggestion

@amoschristian
Copy link

In recent update, I've added "other_documents" argument for GetCompletion request, that is attaching buffers content during request to Codeium Server. So, it is possible that too much data are sending to the server. Could you try to comment out this line https://github.com/Exafunction/codeium.nvim/blob/main/lua/codeium/api.lua#L328 and check if it will improve stability?

I just tried it and i dont think it help in any way, still same error

btw the file that i open is a
~250KB - 3500 line JSON file

but with smaller line of code its working

@aliaksandr-trush
Copy link
Contributor

In recent update, I've added "other_documents" argument for GetCompletion request, that is attaching buffers content during request to Codeium Server. So, it is possible that too much data are sending to the server. Could you try to comment out this line https://github.com/Exafunction/codeium.nvim/blob/main/lua/codeium/api.lua#L328 and check if it will improve stability?

I just tried it and i dont think it help in any way, still same error

btw the file that i open is a ~250KB - 3500 line JSON file

but with smaller line of code its working

In this case it could be related to server version that was updated in 4d4e2a6

@amoschristian
Copy link

@aliaksandr-trush so in other words, is there any way to fix this? i mean there must be a lot of people out there who gonna has this issue right

@aliaksandr-trush
Copy link
Contributor

@aliaksandr-trush so in other words, is there any way to fix this? i mean there must be a lot of people out there who gonna has this issue right

JFYI I am not Codeium developer :)

Also, I am unable to reproduce the issue on my projects.

But definitely it will be easier to resolve the issue if somebody will provide exact steps to reproduce:

  1. Project URL that is failing
  2. Files where Neovim is failing

If it is failing on private projects, that it could be useful to understand what change introduced this issue:

  1. Changes in codeium.nvim plugin
  2. or Language server version change

@mitya-murakhouski
Copy link

Having same issue with yml files. Have to restart vim all the time

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