Exafunction / codeium

Other
200 stars 9 forks source link

Stuck at `Downloading Codeium language server...` #19

Open garysassano opened 7 months ago

garysassano commented 7 months ago

It's been like this for several hours now.

image

pqn commented 7 months ago

Can you reload the window and see if it still fails? If that's the case, you can try unchecking this setting and reloading the window again:

image
zb81 commented 6 months ago

Same issue with you, this should be a network issue. You can set the http.proxy of VSCode to solve the problem. I'm using Clash for Windows, it runs on localhost:7890, so the config is:

image

Then reload the window, and it won't get stuck any more.

garysassano commented 6 months ago

@pqn I couldn't find that setting.

@zb81 I tried to set http.proxy to the value you suggest, but it didn't fix the issue.

zb81 commented 6 months ago

@pqn I couldn't find that setting.

@zb81 I tried to set http.proxy to the value you suggest, but it didn't fix the issue.

If you're not using network proxy tools like Clash for Windows to enable access GitHub, this solution won't work.

Calebtht15 commented 6 months ago

I had the same issue, any idea on what the solution to this is?

pqn commented 6 months ago

Are you able to download the language server files directly in your browser? They come from the release here: https://github.com/Exafunction/codeium/releases/tag/language-server-v1.6.9

deadeuzesse commented 6 months ago

If you're using eclipse plugin and like me are stuck behind a company proxy, set Eclipse to use windows certificate store

eclipse.ini -Djavax.net.ssl.trustStore=NUL -Djavax.net.ssl.trustStoreType=Windows-ROOT

EmberYS commented 6 months ago

Are you able to download the language server files directly in your browser? They come from the release here: https://github.com/Exafunction/codeium/releases/tag/language-server-v1.6.9

hello, which dir should i put this package in (linux) and how to use? it always can not download automatically,like this: image (unset proxy doesn't work)

mckennahampton commented 3 months ago

Hi all - running into the same issue as @EmberYS. I'm behind my corporate FW (GlobalProtect on Windows), and the extension itself downloads fine but the language pack is failing. When I turn off the VPN it downloads successfully, however that's just for my workstation; my remove dev server is stuck behind the corporate network and is always failing.

From network inspections we can see the traffic reaching out to github.com via port 443 successfully; not seeing any network or certificate errors on our FW. This is the output I am getting from VScode:

`2024-03-07 21:33:40.030 [ERROR]: [internal] write EPROTO C0B71713AF7F0000:error:0A000152:SSL routines:final_renegotiate:unsafe legacy renegotiation disabled:../deps/openssl/openssl/ssl/statem/extensions.c:922:

2024-03-07 21:33:40.031 [ERROR]: Failed to get user status from API server [internal] write EPROTO C0B71713AF7F0000:error:0A000152:SSL routines:final_renegotiate:unsafe legacy renegotiation disabled:../deps/openssl/openssl/ssl/statem/extensions.c:922:

2024-03-07 21:33:40.035 [INFO]: Creating manager directory: /tmp/fc6b991d-74e2-4c13-b673-bb5a6e5d4c19/codeium/manager 2024-03-07 21:33:40.036 [INFO]: c0233f8d8a2279e99bfde38bb3cca2bb50dc8392 not found, downloading language server 2024-03-07 21:33:40.519 [ERROR]: Failed to download from https://github.com/Exafunction/codeium/releases/download/language-server-v1.8.5/language_server_linux_x64.gz 2024-03-07 21:33:40.520 [ERROR]: Language server binary not found: undefined`

Unfortunately I don't have direct access to the firewall, but my network team is saying the logs aren't showing anything odd, and all traffic to github.com is being bypassed from any decryption, so I'm not really sure what's going on.

I am able to download the language pack manually, I just haven't figured out where to place it to get the extension functioning. If there is a way to manually supply the language pack file that would be awsome

GopuGovind commented 3 months ago

I had the same issue due to corporate proxy blocking the download of language_server.

mckennahampton commented 3 months ago

Thanks @GopuGovind - forgot to mention but I'm actually running Ubuntu 22.04

chinglinwen commented 3 months ago

Could the official provide convenient way to download the file? say a few shell command ( put my downloaded file into a place), then I can reload workspace to take effect. I've notice it download very frequently ( for each workspace? )

this is really annoying

2024-04-02 16:06:58.389 [INFO]: Creating manager directory: /tmp/b0e37c67-a00d-4980-afb1-87e8b657ff08/codeium/manager
2024-04-02 16:06:58.392 [INFO]: 02866135a29445c3306c45f8c77a38cd9edced00 not found, downloading language server
2024-04-02 16:11:59.401 [ERROR]: Failed to download from https://github.com/Exafunction/codeium/releases/download/language-server-v1.8.21/language_server_linux_x64.gz
2024-04-02 16:11:59.406 [ERROR]: Language server binary not found: undefined

don't just error, proivde me a way to manual fix it

naosense commented 2 months ago

Same to me. If the automatic download doesn't work, can the official come up with a document to guide us to download it manually, and then put the file in the corresponding file?

2024-04-10 10:43:06.424 [INFO]: No proxy settings found
2024-04-10 10:43:17.041 [ERROR]: [deadline_exceeded] the operation timed out
2024-04-10 10:43:17.042 [ERROR]: Failed to get user status from API server [deadline_exceeded] the operation timed out
2024-04-10 10:43:17.049 [INFO]: Creating manager directory: /tmp/ee9ed9c1-f230-4826-af18-82c3bccfab4d/codeium/manager
2024-04-10 10:43:17.050 [INFO]: 02866135a29445c3306c45f8c77a38cd9edced00 not found, downloading language server
2024-04-10 10:43:17.053 [INFO]: No proxy settings found
2024-04-10 10:45:42.884 [ERROR]: Failed to download from https://github.com/Exafunction/codeium/releases/download/language-server-v1.8.21/language_server_linux_x64.gz
2024-04-10 10:45:42.887 [ERROR]: Language server binary not found: undefined
Chinegoodman commented 2 months ago

解决了吗? 我这各种文件替换也没解决 。 现在 已经换成vpn全局代理了 重新安装插件 打开开发工具 我看目录下自己已经在下载语言依赖文件了 就是有点慢 估计等会就好了 现在啥也不干 就等他 日了 这就不能整合到插件里吗?服了

toso-stc commented 2 months ago

I had the same issue due to corporate proxy blocking the download of language_server.

You my Hero!)

mckennahampton commented 2 months ago

To add to this, I was able to get this functioning in VSCode by applying the following settings to my settings.json file:

    "remote.SSH.enableX11Forwarding": true,
    "remote.SSH.localServerDownload": "always",
    "remote.SSH.useLocalServer": true,
    "remote.SSH.enableAgentForwarding": true,
    "remote.SSH.enableRemoteCommand": true,

I'm not sure if all of these are strictly necessary, but with this recipe I was finally able to successfully install & use this with my remote development server that was behind a strict proxy.

toso-stc commented 2 months ago

To add to this, I was able to get this functioning in VSCode by applying the following settings to my settings.json file:

    "remote.SSH.enableX11Forwarding": true,
    "remote.SSH.localServerDownload": "always",
    "remote.SSH.useLocalServer": true,
    "remote.SSH.enableAgentForwarding": true,
    "remote.SSH.enableRemoteCommand": true,

I'm not sure if all of these are strictly necessary, but with this recipe I was finally able to successfully install & use this with my remote development server that was behind a strict proxy.

And what about JetBrains Rider? Maybe you know it too?

mckennahampton commented 2 months ago

@toso-stc unfortunately I can't help with JetBrains Rider, I've never used it. But if you're seeing the same errors that I was seeing in VSCode, and you are able to install & use the Codeium plugin when not connected the remote server that's behind a proxy, then JetBrains would need to be able to download & forward traffic to the remote server. No idea if JetBrains has settings for that though

toso-stc commented 1 month ago

@toso-stc unfortunately I can't help with JetBrains Rider, I've never used it. But if you're seeing the same errors that I was seeing in VSCode, and you are able to install & use the Codeium plugin when not connected the remote server that's behind a proxy, then JetBrains would need to be able to download & forward traffic to the remote server. No idea if JetBrains has settings for that though

Thank You!

meirgenuine commented 1 month ago
workbench.desktop.main.js:1648 2024-05-12 18:08:27 [INFO]: Creating manager directory: /tmp/5ff4fbbc-31ee-4acf-9311-9feb234c590b/codeium/manager
2024-05-12 18:08:27 [INFO]: 6b19fd56d85774d39e487f63cbc17e220b37637d not found, downloading language server
2024-05-12 18:08:27 [ERROR]: Failed to download from https://github.com/Exafunction/codeium/releases/download/language-server-v1.8.36/language_server_linux_x64.gz
2024-05-12 18:08:27 [ERROR]: Language server binary not found: undefined

@pqn Codeium failing to download language-server, but I am able to download it myself. Where should I extract the language server for it to work properly?

fyi: Ubuntu 23.04, VSCode

meirgenuine commented 1 month ago
workbench.desktop.main.js:1648 2024-05-12 18:08:27 [INFO]: Creating manager directory: /tmp/5ff4fbbc-31ee-4acf-9311-9feb234c590b/codeium/manager
2024-05-12 18:08:27 [INFO]: 6b19fd56d85774d39e487f63cbc17e220b37637d not found, downloading language server
2024-05-12 18:08:27 [ERROR]: Failed to download from https://github.com/Exafunction/codeium/releases/download/language-server-v1.8.36/language_server_linux_x64.gz
2024-05-12 18:08:27 [ERROR]: Language server binary not found: undefined

@pqn Codeium failing to download language-server, but I am able to download it myself. Where should I extract the language server for it to work properly?

fyi: Ubuntu 23.04, VSCode

@pqn Solved! I placed the downloaded language server and extracted it into:

 ~/.vscode/extensions/codeium.codeium-1.8.36/dist/{folder name from [INFO] log where it says "not found"}
 6b19fd56d85774d39e487f63cbc17e220b37637d in my case

And deleted .download file in there

hope it helps someone <3

pramu-k commented 1 week ago
workbench.desktop.main.js:1648 2024-05-12 18:08:27 [INFO]: Creating manager directory: /tmp/5ff4fbbc-31ee-4acf-9311-9feb234c590b/codeium/manager
2024-05-12 18:08:27 [INFO]: 6b19fd56d85774d39e487f63cbc17e220b37637d not found, downloading language server
2024-05-12 18:08:27 [ERROR]: Failed to download from https://github.com/Exafunction/codeium/releases/download/language-server-v1.8.36/language_server_linux_x64.gz
2024-05-12 18:08:27 [ERROR]: Language server binary not found: undefined

@pqn Codeium failing to download language-server, but I am able to download it myself. Where should I extract the language server for it to work properly? fyi: Ubuntu 23.04, VSCode

@pqn Solved! I placed the downloaded language server and extracted it into:

 ~/.vscode/extensions/codeium.codeium-1.8.36/dist/{folder name from [INFO] log where it says "not found"}
 6b19fd56d85774d39e487f63cbc17e220b37637d in my case

And deleted .download file in there

hope it helps someone <3

@meirgenuine 's solution worked for me also in VS code.

toso-stc commented 1 week ago

Thank You very much!

пн, 24 июн. 2024 г., 13:20 pramu-k @.***>:

workbench.desktop.main.js:1648 2024-05-12 18:08:27 [INFO]: Creating manager directory: /tmp/5ff4fbbc-31ee-4acf-9311-9feb234c590b/codeium/manager 2024-05-12 18:08:27 [INFO]: 6b19fd56d85774d39e487f63cbc17e220b37637d not found, downloading language server 2024-05-12 18:08:27 [ERROR]: Failed to download from https://github.com/Exafunction/codeium/releases/download/language-server-v1.8.36/language_server_linux_x64.gz 2024-05-12 https://github.com/Exafunction/codeium/releases/download/language-server-v1.8.36/language_server_linux_x64.gz2024-05-12 18:08:27 [ERROR]: Language server binary not found: undefined

@pqn https://github.com/pqn Codeium failing to download language-server, but I am able to download it myself. Where should I extract the language server for it to work properly? fyi: Ubuntu 23.04, VSCode

@pqn https://github.com/pqn Solved! I placed the downloaded language server and extracted it into:

~/.vscode/extensions/codeium.codeium-1.8.36/dist/{folder name from [INFO] log where it says "not found"} 6b19fd56d85774d39e487f63cbc17e220b37637d in my case

And deleted .download file in there

hope it helps someone <3

@meirgenuine https://github.com/meirgenuine 's solution worked for me also in VS code.

— Reply to this email directly, view it on GitHub https://github.com/Exafunction/codeium/issues/19#issuecomment-2185896626, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJ6REMOE4QRU3LLOVXKVXDZI7JEPAVCNFSM6AAAAAA74QPWRKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBVHA4TMNRSGY . You are receiving this because you were mentioned.Message ID: @.***>