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

Can't make it work with proxy #269

Open
kimifish opened this issue Dec 9, 2024 · 0 comments
Open

Can't make it work with proxy #269

kimifish opened this issue Dec 9, 2024 · 0 comments

Comments

@kimifish
Copy link

kimifish commented Dec 9, 2024

All i see in options is --detect-proxy, no info about what, when or where it tries to detect.
Setting env vars to http_proxy=127.0.0.1:3128 or https_proxy or socks_proxy does nothing:

2024/12/09 16:36:27 [proxy.Provider.readSystemEnvProxy]: "no_proxy"="localhost,127.0.0.1,::1", targetUrl=http://0.0.0.0:50001, bypass=false                                                                                                     
W1209 16:36:28.915052 1314943 proxy.go:128] proxy failed to connect: GET http://0.0.0.0:50001/exa.api_server_pb.ApiServerService/GetCompletions giving up after 4 attempt(s): Get "http://0.0.0.0:50001/exa.api_server_pb.ApiServerService/GetCo
mpletions": EOF     

although i use that proxy every day, and it certainly works with all other apps.
Any ideas about how it could be set to work on LSP <-> API server side?
To justify the definition of the issue, I can complain about the obvious lack of documentation on this matter. =)

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

1 participant