Skip to content

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

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

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 Windows

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions