Skip to content
This repository was archived by the owner on May 20, 2026. It is now read-only.
This repository was archived by the owner on May 20, 2026. It is now read-only.

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

Description

@trans-cosmos-zhenhuaxi

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:

  • .vscode settings
    image
  • error log
    image (1)

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

  • .vscode settings
    image (2)

  • view success
    image (3)

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions