sourcegraph / openctx

See contextual info about code from your dev tools, in your editor, code review, and anywhere else you read code.
https://openctx.org
Apache License 2.0
149 stars 17 forks source link

When using an HTTP proxy in vscode, the openctx plugin failed to download the remote provider file correctly. #170

Open trans-cosmos-zhenhuaxi opened 3 months ago

trans-cosmos-zhenhuaxi commented 3 months ago

I am using vscode to run openctx and cody on a Windows machine with restricted internet access. In order to access the internet, I have to go through an HTTP proxy. However, when I set up the hello-world provider for openctx, it fails to download the files correctly (even though I can access the provider file through the browser with the proxy and can access cody and other websites normally), and shows the following error:

It works fine when I use local files for hello-world.

I suspect that the current source code of openctx does not handle HTTP proxies. Am I correct in my assumption?