Skip to content

mirrord works inconsistently in coder environment #3441

@nadiaEpp17

Description

@nadiaEpp17

Bug Description

In coder (running in cluster), with vscode extension, intercept appears to fail about 90% of the time.

Steps to Reproduce

Setup Coder Environment
Run Project in coder
vs code extension (set mirrord config *see configs)

See agent running - no errors

Backtrace

mirrord layer logs

mirrord intproxy logs

mirrord agent logs

agent ready - version 3.141.0
  2025-07-23T12:48:42.909421Z  WARN mirrord_agent_iptables::flush_connections: `conntrack` output is Output {
    status: ExitStatus(
        unix_wait_status(
            256,
        ),
    ),
    stdout: "",
    stderr: "conntrack v1.4.7 (conntrack-tools): 0 flow entries have been deleted.\n",
}
*********** error is in working version too

mirrord config

{
  "operator": false,
  "feature": {
    "fs": {
      "read_only": ["/etc/opt"]
    },
    "network": {
      "incoming": {
        "mode": "steal"
      },
      "outgoing": { "ignore_localhost": true }
    },
    "env": { "exclude": ["BLACKFISH*", "POLLY*"] }
  },
  "use_proxy": false,
  "agent": {
    "privileged": true,
    "image": "ourArtifactory/ghcr.io/metalbear-co/mirrord:3.141.0"
  }
}

mirrord CLI version

3.141.0

mirrord-agent version

3.141.0

mirrord-operator version (if relevant)

N/A -mode without operator

plugin kind and version (if relevant)

VS Code 1.101.2

Your operating system and version

rhel 9.6

Local process

N/A

Local process version

No response

Additional Info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinguser

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions