codeium.vim icon indicating copy to clipboard operation
codeium.vim copied to clipboard

protocol error: incomplete envelope: context canceled

Open serranomorante opened this issue 2 years ago • 6 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] }

serranomorante avatar Nov 30 '23 17:11 serranomorante

Thanks for the report, we are looking into it.

pqn avatar Nov 30 '23 19:11 pqn

https://github.com/connectrpc/connect-go/issues/645

pqn avatar Dec 04 '23 19:12 pqn

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

serranomorante avatar Dec 04 '23 20:12 serranomorante

Same error

pithecantrope avatar Dec 06 '23 10:12 pithecantrope