-
Notifications
You must be signed in to change notification settings - Fork 24
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
Unstable Internet Causing Codeium To Not Work #32
Comments
Hello, sorry to hear about the connection issue, has this been a persistent problem? Can you connect to the URL https://unleash.codeium.com/api/client/features using your browser? Also, have you tried to use a VPN? |
|
Hey @AliShahesmaeili, would you mind helping us troubleshoot this problem? Please kindly remove the Please make sure to uninstall the existing extension before installing the new one. After that, turn on the VPN to see if that works for you. Thanks! |
I see: error: "Not allowed to access" I always have connection issue with github and pypi and can never download anything from these sites through cmd prompts or anything that uses github or pypi. I have to download things manually or from other sources. I am using a VPN but the connection is unstable, reconnecting every few sec or min. The unstable connection comes from the VPN but i don't know if this issue is the VPN or unstable connection in any of the cases. |
That's normal, it means you can connect to the server, would you mind following the post I commented above and installing that version of the extension to see if the problem goes away? |
Wow that works. Now I can 'code' like a pro. Thank you. Can you tell me what the issue was? It might help me help others figure out what is wrong with the other connections (sites /servers). |
@thedemons |
I assume this problem is considered fixed and closed? I would close it but ill leave it to the veterans. |
For some reasons your internet connection can't reach Codeium server and it requires you to use a VPN. But
Please leave it opened for now until the connection issue is fully fixed We will investigate this further and hopefully, you won't need a VPN to use Codeium. Sorry for the inconvenience! |
I have no internet without VPN so i actually need to use a VPN to be able to use codeium. So the solution / vsix you provided works perfectly for my specific VPN issue. But again i dont know if the issue was the VPN itself or just the general unstable connection it provides. |
Add option to enable language server proxy (#32)
Hey, sorry for the ping, PR #36 has added an option to enable proxy and it should be visible in Tools > Options > Codeium. It is disabled by default so kindly enable it from there. Please uninstall that custom-build vsix and install the extension from the marketplace to ensure it's always up-to-date! Thanks! |
I installed from the marketplace and enabled language proxy server. But i still get a connection error: Starting language server Whatever was in the 'custom-build vsix' made codeium work when you uploaded it. However even the custom-build vsix doesn't work anymore. [This could be a lost cause. My situation is a bit unusual as I using an unknown VPN to have internet access and they might be doing unusual things that are interfering with github, pypi, and codeium. These 3 must be doing something similar to have the similar issues. Additionally my VPN doesn't allow peer-to-peer and who knows what else. I only have these issues when I am using this VPN. When i use public wifis i have no issues. That said the custom-build vsix did work for a moment so I know its possible to fix the issue.] |
It looks like the setting did in fact work as proxyplease successfully found the proxy defined by the VPN and is using it. Not sure there's much else we can do unfortunately. |
I have found that occasionally i can use Codeium if I use a token. But normal signin doesn't. Its spotty but it works when it works. I dont know if this is considered fixed since i cant really confirm if before this change, there was an option to use a token as I don't remember there being a token option before the change. |
To start, I know very little about internet related connections and issues. But I do have an unstable internet connection where certain types of connection, specifically github, pypi, and apparently codeium, are the only connections I am unable to connect to and work with. I assume they require a 'perfect' and stable internet connection.
Here are my specific codeium errors: the chat window either stays stuck and says 'Loading', or it loads but it says 'retry connection' so when i type text and press enter it just goes to a new line in the text field instead of sending the message:
'''
Starting language server
Codeium Extension for Visual Studio
Language Server: I1217 13:36:37.685629 14508 main.go:539] Starting language server manager with pid 14508
Language Server: I1217 13:36:37.687141 14508 main.go:107] Manager acquired its lock file C:\Users\Owner\AppData\Local\Temp\a5zcolqw.svq/locks/manager.lock
Language Server: I1217 13:36:37.695753 14508 main.go:245] Waiting for random port file in C:\Users\Owner\AppData\Local\Temp\a5zcolqw.svq/child_random_port_1702848997687141400_3304693970854226442 to be created
Language Server: I1217 13:36:37.789557 17080 main.go:533] Starting language server process with pid 17080
Language Server: I1217 13:36:37.986477 17080 server.go:532] Successfully created API server client
Language Server: I1217 13:36:37.992638 17080 server.go:538] Successfully created API streaming client
Language Server: I1217 13:36:38.055563 17080 server.go:547] Successfully initialized tokenizer
Language Server: I1217 13:36:38.056017 17080 unleash.go:95] Initializing Unleash
Language Server: I1217 13:36:40.118435 17080 unleash.go:115] Successfully initialized Unleash
Language Server: I1217 13:36:40.118435 17080 search_provider.go:156] Using database at C:\Users\Owner\AppData\Roaming.codeium\database/1/MODEL_EMBED_6591
Language Server: E1217 13:36:40.148251 17080 unleash.go:56] Unleash error: Post "https://unleash.codeium.com/api/client/register": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Language Server: E1217 13:36:40.148251 17080 unleash.go:56] Unleash error: Get "https://unleash.codeium.com/api/client/features": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Language Server: I1217 13:36:40.187706 17080 search_provider.go:168] Successfully created embedding search database
Language Server: I1217 13:36:40.188707 17080 search_provider.go:214] Successfully created embedding search provider
Language Server: I1217 13:36:40.188707 17080 server.go:613] Successfully created exact search provider
Language Server: I1217 13:36:40.638616 17080 server.go:634] Successfully created completion provider
Language Server: I1217 13:36:40.638616 17080 server.go:672] Child process attempting to acquire lock file C:\Users\Owner\AppData\Local\Temp\a5zcolqw.svq/locks/child_lock_1702848997687141400_5196452515966027005
Language Server: I1217 13:36:40.640048 17080 server.go:682] Child process acquired lock file C:\Users\Owner\AppData\Local\Temp\a5zcolqw.svq/locks/child_lock_1702848997687141400_5196452515966027005
Language Server: I1217 13:36:40.652917 17080 server.go:341] Language server will attempt to listen on host 127.0.0.1
Language server started on port 55238
Language Server: I1217 13:36:40.653915 17080 server.go:385] Language server listening on random port at 55238
Language Server: I1217 13:36:40.656195 17080 web_server.go:271] Chat Client file server listening at https://127.0.0.1:55240
Language Server: I1217 13:36:40.661414 17080 web_server.go:229] Chat Web Server listening at ws://127.0.0.1:55239
Language Server: I1217 13:36:40.749318 14508 main.go:281] Language server manager found random server port 55238
Language Server: I1217 13:36:40.749318 14508 main.go:282] Language server manager found random lsp port 42101
Language Server: I1217 13:36:40.749318 14508 main.go:289] Language server manager attempting to connect to language server at 127.0.0.1:55238
Language Server: I1217 13:36:41.039115 14508 main.go:160] Fixing language server port at 55238
Language Server: I1217 13:36:41.039115 14508 main.go:340] Language server manager successfully connected to new language server at 127.0.0.1:55238
Language Server Controller: Connected to ws://127.0.0.1:55239/connect/ide
Language Server: E1217 13:37:40.064986 17080 unleash.go:56] Unleash error: Get "https://unleash.codeium.com/api/client/features": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Language Server: E1217 13:37:40.064986 17080 unleash.go:56] Unleash error: Post "https://unleash.codeium.com/api/client/metrics": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Language Server: E1217 13:38:40.061279 17080 unleash.go:56] Unleash error: Get "https://unleash.codeium.com/api/client/features": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Language Server: E1217 13:38:40.061279 17080 unleash.go:56] Unleash error: Post "https://unleash.codeium.com/api/client/metrics": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
'''
Is it possible to make codeium work with unstable connections? How does all the other websites and servers do it since they all work except the websites and servers I mentioned. Is this requirement for a stable connection a codeium preference that can be changed to accept unstable connections? Codeium live also seems to have an issue with unstable connections as it constantly resets the chat to the beginning every few seconds (i assume its due to my unstable connection).
I have a lot of what i assume to be spaghetti code and beginner level code that i would like codeium to help me in 'refactoring'.
The text was updated successfully, but these errors were encountered: