Skip to content

bug: VSCode desktop failing with multiple agents #131

@stirby

Description

@stirby

VSCode Desktop Integration Fails with Multi-Agent Docker Workspace

Problem Description

When deploying a Docker workspace with two agents using our example Terraform templates, the VSCode Desktop integration is experiencing issues. Although all the necessary resources such as docker_volume, docker_container, and coder_agent have been correctly doubled, the VSCode Desktop extension fails to connect.

Error Message

The error message displayed in VSCode Desktop is: "Error: Invalid Coder SSH authority. Agent not found!"

double-container-error

Dashboard Health

The dashboard indicates that all components are healthy:

double-container-dashboard

Steps to Reproduce

Double all required resources from the example Terraform template.
Deploy the Docker workspace.
Open the VSCode Desktop extension.

Expected Behavior

The VSCode Desktop extension should successfully connect to both agents in the Docker workspace.

Actual Behavior

The VSCode Desktop extension is unable to find the agents and shows an error message regarding invalid SSH authority.

Template Link

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions