Skip to content

Continue fails to stablish mTLS connection with server #8470

@bijavix

Description

@bijavix

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:configurationRelates to configuration optionside:vscodeRelates specifically to VS Code extensionkind:bugIndicates an unexpected problem or unintended behavioros:linuxHappening specifically on Linuxos:windowsHappening specifically on Windowsstale

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions