Exafunction / codeium.vim

Free, ultrafast Copilot alternative for Vim and Neovim

Home Page:https://codeium.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

protocol error: incomplete envelope: context canceled

serranomorante opened this issue · comments

Hi! Codeium was working fine until latest updates. I haven't seen this error reported here yet. Is kinda annoying.
Thank you.

Neovim nightly
Arch linux
Codeium latest
Plenary latest

completion request failed
completion request failed
[codeium] [ERROR 18:48:15] /home/.../.local/share/nvim/lazy/codeium.nvim/lua/codeium/notify.lua:14: completion request failed:  {
[codeium]   code = 0,
[codeium]   out = '{"code":"invalid_argument","message":"protocol error: incomplete envelope: context canceled"}',
[codeium]   response = {
[codeium]     body = '{"code":"invalid_argument","message":"protocol error: incomplete envelope: context canceled"}',
[codeium]     exit = 0,
[codeium]     headers = { "Accept-Encoding: gzip", "Content-Type: application/json", "Vary: Origin", "Date: Thu, 30 Nov 2023 17:48:15 GMT", "Content-Length: 93", "", "" },
[codeium]     status = 400
[codeium]   },
[codeium]   status = 400
[codeium] }
[codeium] [WARN  18:48:16] /home/.../.local/share/nvim/lazy/codeium.nvim/lua/codeium/api.lua:275: failed to cancel in-flight request {
[codeium]   code = 0,
[codeium]   out = '{"code":"unknown","message":"no session state for apiKey <...>, sessionId "}',
[codeium]   response = {
[codeium]     body = '{"code":"unknown","message":"no session state for apiKey <...>, sessionId "}',
[codeium]     exit = 0,
[codeium]     headers = { "Accept-Encoding: gzip", "Content-Type: application/json", "Vary: Origin", "Date: Thu, 30 Nov 2023 17:48:16 GMT", "Content-Length: 107", "", "" },
[codeium]     status = 500
[codeium]   },
[codeium]   status = 500
[codeium] }

Thanks for the report, we are looking into it.

Thanks, I believe this would help to solve the issue on all languages (it happens to me on lua and javascript) not just go. 👍👍

Same error