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

protocol error: incomplete envelope: context canceled #270

Open
serranomorante opened this issue Nov 30, 2023 · 6 comments
Open

protocol error: incomplete envelope: context canceled #270

serranomorante opened this issue Nov 30, 2023 · 6 comments

Comments

@serranomorante
Copy link

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] }
@pqn
Copy link
Contributor

pqn commented Nov 30, 2023

Thanks for the report, we are looking into it.

@pqn
Copy link
Contributor

pqn commented Dec 4, 2023

@serranomorante
Copy link
Author

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

@pithecantrope
Copy link

Same error

@ray0x44
Copy link

ray0x44 commented Sep 27, 2024

Any option to disable/ignore this message? It's really annoying and keeps popping up when you typing.

@WingHaa
Copy link

WingHaa commented Oct 1, 2024

Happens really frequently for me recently across different languages. Errors also getting throw with bad internet. I had to turn off the extension for now since I don't want to use noice in order to filter the error messages.

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

5 participants