continue icon indicating copy to clipboard operation
continue copied to clipboard

Continue fails to stablish mTLS connection with server

Open bijavix opened this issue 2 months ago • 2 comments

Before submitting your bug report

Relevant environment info

- OS: Linux Debian or Windows 10
- Continue version: 1.3.22
- IDE version: VSCode 1.105.1
- config:
  
name: owui
schema: v1
models:
  - name: qwen-coder
    provider: openai
    model: qwen3-coder:latest
    apiBase: https://webui.example.com/api
    apiKey: sk-...
    requestOptions:
      caBundlePath: /home/user/ca.pem
      clientCertificate:
        cert: /home/user/cert.crt
        key: /home/user/key.key

Description

I have an Open WebUI server behind a reverse proxy for mutual TLS.

The connection works fine if mTLS is disabled, but with mTLS the extension refuses to stablish a connection. Browsers are able to stablish connection using the client certificate.

To reproduce

  1. Add a connection to server with mTLS, use client certificate and key in PEM format.
  2. Send message
  3. Error Connection error.

Log output

workbench.desktop.main.js:132 [Extension Host] Error handling webview message: {
  "msg": {
    "messageId": "bd...06",
    "messageType": "llm/streamChat",
    "data": {
      "completionOptions": {
        "reasoning": false
      },
      "title": "qwen-coder",
      "messages": [
        {
          "role": "system",
          "content": "..."
        },
        {
          "role": "user",
          "content": "Hello world!"
        }
      ],
      "messageOptions": {
        "precompiled": true
      }
    }
  }
}

Error: Connection error.

bijavix avatar Oct 27 '25 23:10 bijavix

+1

The-LittleTeapot avatar Nov 09 '25 14:11 The-LittleTeapot

+1

JensRudolph avatar Nov 11 '25 15:11 JensRudolph