continuedev / continuedev/continue

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

Open
#12,956 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area:configuration ide:jetbrains kind:bug os:windows
Dominant language
TypeScript
Stars
36k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how requestOptions from config.yml reach the Node.js core process and the underlying HTTP client, using the reported idea.log and core.log errors to reproduce the failure. Verify the proxy and verifySsl settings are applied to LLM requests; done means the request works without requiring OS-level proxy or TLS environment variables.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
backend, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.