Skip to content

Continue connection to a local server fails in https #9017

@YanickNoblanc

Description

@YanickNoblanc

Hi all

I have setup a local llm on a local server, it is running a vllm (0.11.0) with several models available, an open-webui ( v0.6.40) and a nginx proxy (1.29.3).

I can acces properly my llm through open-webui chat interface at https://server or http://server
When configuring Continue VSCode plugin (on Windows) to acces my server through http, it works fine in agent or chat mode and answers my questions.

But when trying to access server in https, I systematicaly get a connection error, Developpers Tools logs:
[@continuedev] error: Connection error. {"context":"llm_stream_chat","model":"/models/Llama-3.1-8B-Instruct","provider":"openai","useOpenAIAdapter":true,"streamEnabled":true,"templateMessages":false}
I checked the server configuration and certificates are correct. Certificate is signed by our internal CA.
Here is Continue config.yaml I am using:

name: Local Config
version: 1.0.0
schema: v1
models:
  - name: Llama-3.1-8B-Instruct
    provider: openai
    model: /models/Llama-3.1-8B-Instruct
    env:
      useLegacyCompletionsEndpoint: false
    apiBase: http://server:8443/v1
    ##TODO https does not work !
    apiKey: AAAAAAAAAAAAAAAAA
    roles:
      - chat
      - edit
      - apply

What should I do for Continue to work with https ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:configurationRelates to configuration optionside:vscodeRelates specifically to VS Code extensionkind:questionIndicates a questionos:windowsHappening specifically on Windows

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions