Skip to content

Using mirrord with coder is not working #3410

@nadiaEpp17

Description

@nadiaEpp17

Bug Description

Using mirrord with coder is unreliable/not working, but works in my WSL setup.

Steps to Reproduce

  1. Setup coder instance (env includes vs code extension)
  2. use mirrorD in vs code with mirrord active config (see config below)
  3. see mirrorD agent appear in pods for my namespace alone with job completion
  4. it appears to be connected in vscode and running in browser
  5. Cleared browser cache+incognito window, don't see vite reload to hot reload changes

Backtrace

mirrord layer logs

mirrord intproxy logs

mirrord agent logs

at mirrord/agent/iptables/src/flush_connections.rs:72 on ThreadId(2)

  2025-07-07T19:19:09.527111Z  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",
}
    at mirrord/agent/iptables/src/flush_connections.rs:72 on ThreadId(2)
2025-07-07T15:19:09.527300505-04:00

mirrord config

{
  "operator": false,
  "feature": {
    "fs": {
      "read_only": ["/etc/opt"]
    },
    "network": {
      "incoming": {
        "mode": "steal",
        "port_mapping": [[ 8080, 48080 ],[ 8082, 48082 ]]
      },
      "outgoing": { "ignore_localhost": true }
    },
    "env": { 
      "exclude": ["BLACKFISH*", "POLLY*"],
      "override": {
        "PORT": "48080",
        "MANAGEMENT_PORT": "48082"

      }
    }
  },
  "use_proxy": false,
  "agent": {
    "privileged": true,
    "image": ".../ghcr.io/metalbear-co/mirrord:3.141.0"
  }
}

mirrord CLI version

mirrord 3.141.0

mirrord-agent version

mirrord 3.141.0

mirrord-operator version (if relevant)

N/A

plugin kind and version (if relevant)

vscode

Your operating system and version

Linux coder-33861a58-e1d3-4906-b957-ac8039009fce-5d9cc8bff4-dmrf5 5.14.0-570.23.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Jun 14 13:10:47 EDT 2025 x86_64 x86_64 x86_64 GNU/Linux

Local process

launch.json remote debugger vscode:{ "type": "java", "name": "AnoleCesium (MirrorD)", "request": "launch", "console": "integratedTerminal", "shortenCommandLine": "jarmanifest", "cwd": "${workspaceFolder}", "mainClass": "com.ngc.anole.cesium.CesiumApp", "projectName": "anole-cesium", "env": { "ANOLE_VIEW_MODULES_ENABLED": true, "MIRRORD_ACTIVE": "1" } },

Local process version

No response

Additional Info

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions