Skip to content

Proxy and VerifySsl settings in config.yml are ignored by node.js process #12956

Closed as not planned

Description

@madhukargunda

Before submitting your bug report

Relevant environment info

- OS: WINDOWS 11
- Continue version:
- IntelliJ IDE version: 2022.3.2 Commuity (continue-dev 1.0.33) /2024.3.3 Community (continue-dev 1.0.46)
- Model:
- config:
  

  
  OR link to agent in Continue hub:

Description

i am using the continue plugin in Intellij IDEA. I have configured my config.yml with specific requestOptions including proxy and verifySsl: false to navigate a corporate network with an SSL intercepting proxy. How ever the plugin continues to throw Connection error and PKIX pat building failed errors

Observed Behaviour:

The nodejs backend (Continue) seems to ignore the proxy and verifySsl configurations defined in the config.yml. The Connection only works if i manually set OS-level variables (HTTP_PROXY, HTTPS_PROXY and NODE_TLS_REJECT_UNAUTHORIZED=0) which is not ideal for end user deployment in corporate environments.

Expected Behaviour

Settings defined under requestOptions (specifically proxy and verifySsl) in the config.xml should be passed to the Node.js core process and applied to the underlying HTTP Client used to make LLM requests.

To reproduce

  1. Setup a config.tml with a valid apiBase and proxy under requestOptions
  2. Set verifySsl: false in request Options
  3. Attempt to send a message to the LLM
  4. Observe that the connection failes despite the configuration
 requestOptions: 
   verifySsl: false
   proxy: http://<<username:password>@<proxyhost>:<proxyport>

Log output

idea.log shows SSLHandShakeException: PKIX path building failed
core.log shows llm/streamChat: Connection error

Activity

  1. added
    ide:jetbrainsRelates specifically to JetBrains extension
    kind:bugIndicates an unexpected problem or unintended behavior
    os:windowsHappening specifically on Windows
    on Jul 7, 2026
  2. wuisabel-gif commented on Jul 10, 2026

    @wuisabel-gif

    Traced this on main. The model-request path already honors config.yaml requestOptions. LLM calls go through fetchwithRequestOptions({ ...this.requestOptions }) (core/llm/index.ts), where proxy takes precedence over env vars (packages/fetch/src/util.ts) and verifySsl: false maps to rejectUnauthorized: false (packages/fetch/src/getAgentOptions.ts), with top-level requestOptions merged into each model (core/config/yaml/models.ts).

    The gap is in non-LLM core requests that use the global fetch() and ignore requestOptions. The startup one that matches your core.log "Connection error" is the remote config-sync / index-cache client in core/continueServer/stubs/client.ts. It is constructed in core/indexing/CodebaseIndexer.ts where config.requestOptions is available but not passed in, so its fetch() calls get no proxy/CA/verifySsl. Behind an HTTPS-intercepting proxy with a custom CA that fails exactly as you describe. (core/llm/fetchModels.ts has the same issue for model-list fetches.)

    I would like to route the config-sync client through fetchwithRequestOptions with the resolved requestOptions and open a PR. Separately worth noting the JetBrains side only forwards the IDE proxy to core as env vars (HTTP_PROXY only, no HTTPS_PROXY/verifySsl, and it does not read config.yaml), see extensions/intellij/.../proxy/ProxySettings.kt.

  3. added a commit that references this issue on Jul 10, 2026
    259a6e4
  4. github-actions commented on Oct 8, 2026

    @github-actions
    Contributor

    This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.

  5. github-actions commented on Oct 19, 2026

    @github-actions
    Contributor

    This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, you are welcome to leave a comment and this will keep the issue open. However please note that this repo is no longer being actively maintained.

  6. madhukargunda commented on Oct 19, 2026

    @madhukargunda
    Author

    hello can you please merge this fix . this solves many developers model access issue

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

    area:configurationRelates to configuration optionside:jetbrainsRelates specifically to JetBrains extensionkind:bugIndicates an unexpected problem or unintended behavioros:windowsHappening specifically on Windowsstale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions