René's URL Explorer Experiment


Title: coder agent not work, can not connect from websocket or ssh · Issue #6554 · coder/coder · GitHub

Open Graph Title: coder agent not work, can not connect from websocket or ssh · Issue #6554 · coder/coder

X Title: coder agent not work, can not connect from websocket or ssh · Issue #6554 · coder/coder

Description: now coder startup ok create template ok create workspace ok issues can not open workspace from web can not connect workspace from ssh coder ls -a WORKSPACE TEMPLATE STATUS LAST BUILT OUTDATED STARTS AT STOPS AFTER admin/one docker-code-s...

Open Graph Description: now coder startup ok create template ok create workspace ok issues can not open workspace from web can not connect workspace from ssh coder ls -a WORKSPACE TEMPLATE STATUS LAST BUILT OUTDATED START...

X Description: now coder startup ok create template ok create workspace ok issues can not open workspace from web can not connect workspace from ssh coder ls -a WORKSPACE TEMPLATE STATUS LAST BUILT OUTDATED START...

Opengraph URL: https://github.com/coder/coder/issues/6554

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"coder agent not work, can not connect from websocket or ssh","articleBody":"## now \r\n\r\n- coder startup ok\r\n- create template   ok \r\n- create workspace  ok \r\n\r\n\u003cimg width=\"1393\" alt=\"image\" src=\"https://user-images.githubusercontent.com/25849581/224307770-d5da9508-cf2a-40f5-a2af-025044e98e33.png\">\r\n\r\n\r\n## issues\r\n\r\n**can not open workspace from web**\r\n\r\n**can not connect workspace from ssh**\r\n\r\n```bash\r\ncoder ls -a\r\n\r\nWORKSPACE  TEMPLATE            STATUS   LAST BUILT  OUTDATED  STARTS AT  STOPS AFTER  \r\nadmin/one  docker-code-server  Started  26m         false     -          1d         \r\n\r\ncoder ping one   #  hang up and nothing response\r\ncoder ssh one    #  hang up and nothing response\r\ncoder speedtest one    #  hang up and nothing response\r\n\r\n```\r\n\r\nplease help , some info on below\r\n\r\n\r\n**os**\r\n\r\n```\r\nLinux version 3.10.0-1160.49.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Tue Nov 30 15:51:32 UTC 2021\r\n```\r\n\r\n**docker**\r\n\r\n```\r\nDocker version 23.0.1, build a5ee5b1\r\n```\r\n\r\n\r\n## coder startup command\r\n\r\n```bash\r\n\r\nexport CODER_DATA=$HOME/.config/coderv2-docker\r\nexport DOCKER_GROUP=$(getent group docker | cut -d: -f3)\r\nexport DEV_GROUP=$(getent group dev | cut -d: -f3)\r\nmkdir -p $CODER_DATA\r\nchmod 777 $CODER_DATA\r\n\r\ndocker run --rm -it --name=\"coder\" \\\r\n\t\t-e CODER_ACCESS_URL=\"http://172.16.158.240\"  \\\r\n\t\t-e CODER_HTTP_ADDRESS=\"0.0.0.0:3000\" \\\r\n\t\t-p 0.0.0.0:80:3000 \\\r\n\t\t-v $CODER_DATA:/home/coder/.config \\\r\n\t\t-v /var/run/docker.sock:/var/run/docker.sock \\\r\n\t\t--group-add $DOCKER_GROUP \\\r\n\t\t--group-add $DEV_GROUP  \\\r\n\t\toffline/coder\r\n```\r\n\r\n## docker ps\r\n\r\n```bash\r\n\r\nc869e8be764d   codercom/code-server:latest   \"sh -c '#!/usr/bin/e…\"   9 minutes ago    Up 9 minutes    8080/tcp               coder-admin-one\r\n5ea199138e46   offline/coder                 \"/opt/coder server\"      10 minutes ago   Up 10 minutes   0.0.0.0:80->3000/tcp   coder\r\n\r\n```\r\n\r\n## main.tf\r\n\r\n```css\r\nterraform {\r\n  required_providers {\r\n    coder = {\r\n      source  = \"coder/coder\"\r\n      # version = \"~> 0.6.16\"\r\n    }\r\n    docker = {\r\n      source  = \"kreuzwerker/docker\"\r\n      #version = \"~> 3.0.1\"\r\n    }\r\n  }\r\n}\r\n\r\ndata \"coder_provisioner\" \"me\" {\r\n}\r\n\r\nprovider \"docker\" {\r\n}\r\n\r\ndata \"coder_workspace\" \"me\" {\r\n}\r\n\r\nresource \"coder_agent\" \"main\" {\r\n  arch = data.coder_provisioner.me.arch\r\n  os   = \"linux\"\r\n\r\n  login_before_ready     = true\r\n  startup_script_timeout = 180\r\n  startup_script         = \u003c\u003c-EOT\r\n    set -e\r\n    code-server --auth none --bind-addr 0.0.0.0:13337 >/tmp/code-server.log 2>&1 &\r\n  EOT\r\n\r\n  # These environment variables allow you to make Git commits right away after creating a\r\n  # workspace. Note that they take precedence over configuration defined in ~/.gitconfig!\r\n  # You can remove this block if you'd prefer to configure Git manually or using\r\n  # dotfiles. (see docs/dotfiles.md)\r\n  env = {\r\n    GIT_AUTHOR_NAME     = \"${data.coder_workspace.me.owner}\"\r\n    GIT_COMMITTER_NAME  = \"${data.coder_workspace.me.owner}\"\r\n    GIT_AUTHOR_EMAIL    = \"${data.coder_workspace.me.owner_email}\"\r\n    GIT_COMMITTER_EMAIL = \"${data.coder_workspace.me.owner_email}\"\r\n  }\r\n}\r\n\r\nresource \"coder_app\" \"code-server\" {\r\n  agent_id     = coder_agent.main.id\r\n  slug         = \"code-server\"\r\n  display_name = \"code-server\"\r\n  url          = \"http://localhost:13337/?folder=/home/coder\"\r\n  icon         = \"/icon/code.svg\"\r\n  subdomain    = false\r\n  share        = \"owner\"\r\n\r\n  healthcheck {\r\n    url       = \"http://localhost:13337/healthz\"\r\n    interval  = 3\r\n    threshold = 10\r\n  }\r\n}\r\n\r\nresource \"docker_volume\" \"home_volume\" {\r\n  name = \"coder-${data.coder_workspace.me.id}-home\"\r\n  # Protect the volume from being deleted due to changes in attributes.\r\n  lifecycle {\r\n    ignore_changes = all\r\n  }\r\n  # Add labels in Docker to keep track of orphan resources.\r\n  labels {\r\n    label = \"coder.owner\"\r\n    value = data.coder_workspace.me.owner\r\n  }\r\n  labels {\r\n    label = \"coder.owner_id\"\r\n    value = data.coder_workspace.me.owner_id\r\n  }\r\n  labels {\r\n    label = \"coder.workspace_id\"\r\n    value = data.coder_workspace.me.id\r\n  }\r\n  # This field becomes outdated if the workspace is renamed but can\r\n  # be useful for debugging or cleaning out dangling volumes.\r\n  labels {\r\n    label = \"coder.workspace_name_at_creation\"\r\n    value = data.coder_workspace.me.name\r\n  }\r\n}\r\n\r\nresource \"docker_container\" \"workspace\" {\r\n  count = data.coder_workspace.me.start_count\r\n  image = \"codercom/code-server:latest\"\r\n  # Uses lower() to avoid Docker restriction on container names.\r\n  name = \"coder-${data.coder_workspace.me.owner}-${lower(data.coder_workspace.me.name)}\"\r\n  # Hostname makes the shell more user friendly: coder@my-workspace:~$\r\n  hostname = data.coder_workspace.me.name\r\n  # Use the docker gateway if the access URL is 127.0.0.1\r\n  entrypoint = [\"sh\", \"-c\", replace(coder_agent.main.init_script, \"/localhost|127\\\\.0\\\\.0\\\\.1/\", \"host.docker.internal\")]\r\n  env        = [\"CODER_AGENT_TOKEN=${coder_agent.main.token}\"]\r\n  host {\r\n    host = \"host.docker.internal\"\r\n    ip   = \"host-gateway\"\r\n  }\r\n  volumes {\r\n    container_path = \"/home/coder/\"\r\n    volume_name    = docker_volume.home_volume.name\r\n    read_only      = false\r\n  }\r\n  # Add labels in Docker to keep track of orphan resources.\r\n  labels {\r\n    label = \"coder.owner\"\r\n    value = data.coder_workspace.me.owner\r\n  }\r\n  labels {\r\n    label = \"coder.owner_id\"\r\n    value = data.coder_workspace.me.owner_id\r\n  }\r\n  labels {\r\n    label = \"coder.workspace_id\"\r\n    value = data.coder_workspace.me.id\r\n  }\r\n  labels {\r\n    label = \"coder.workspace_name\"\r\n    value = data.coder_workspace.me.name\r\n  }\r\n}\r\n\r\n```\r\n\r\n\r\n##  docker inspect container\r\n\r\n```json\r\n\r\n[\r\n    {\r\n        \"Id\": \"c869e8be764df121da4e01b8193af9da7fcafd5194c1aa34ce173e6884aae8f5\",\r\n        \"Created\": \"2023-03-10T11:06:20.504103157Z\",\r\n        \"Path\": \"sh\",\r\n        \"Args\": [\r\n            \"-c\",\r\n            \"#!/usr/bin/env sh\\nset -eux\\n# Sleep for a good long while before exiting.\\n# This is to allow folks to exec into a failed workspace and poke around to\\n# troubleshoot.\\nwaitonexit() {\\n\\techo \\\"=== Agent script exited with non-zero code. Sleeping 24h to preserve logs...\\\"\\n\\tsleep 86400\\n}\\ntrap waitonexit EXIT\\nBINARY_DIR=$(mktemp -d -t coder.XXXXXX)\\nBINARY_NAME=coder\\nBINARY_URL=http://172.16.158.240/bin/coder-linux-amd64\\ncd \\\"$BINARY_DIR\\\"\\n# Attempt to download the coder agent.\\n# This could fail for a number of reasons, many of which are likely transient.\\n# So just keep trying!\\nwhile :; do\\n\\t# Try a number of different download tools, as we don not know what we\\n\\t# will have available.\\n\\tstatus=\\\"\\\"\\n\\tif command -v curl >/dev/null 2>&1; then\\n\\t\\tcurl -fsSL --compressed \\\"${BINARY_URL}\\\" -o \\\"${BINARY_NAME}\\\" && break\\n\\t\\tstatus=$?\\n\\telif command -v wget >/dev/null 2>&1; then\\n\\t\\twget -q \\\"${BINARY_URL}\\\" -O \\\"${BINARY_NAME}\\\" && break\\n\\t\\tstatus=$?\\n\\telif command -v busybox >/dev/null 2>&1; then\\n\\t\\tbusybox wget -q \\\"${BINARY_URL}\\\" -O \\\"${BINARY_NAME}\\\" && break\\n\\t\\tstatus=$?\\n\\telse\\n\\t\\techo \\\"error: no download tool found, please install curl, wget or busybox wget\\\"\\n\\t\\texit 127\\n\\tfi\\n\\techo \\\"error: failed to download coder agent\\\"\\n\\techo \\\"       command returned: ${status}\\\"\\n\\techo \\\"Trying again in 30 seconds...\\\"\\n\\tsleep 30\\ndone\\n\\nif ! chmod +x $BINARY_NAME; then\\n\\techo \\\"Failed to make $BINARY_NAME executable\\\"\\n\\texit 1\\nfi\\n\\nexport CODER_AGENT_AUTH=\\\"token\\\"\\nexport CODER_AGENT_URL=\\\"http://172.16.158.240/\\\"\\nexec ./$BINARY_NAME agent\\n\"\r\n        ],\r\n        \"State\": {\r\n            \"Status\": \"running\",\r\n            \"Running\": true,\r\n            \"Paused\": false,\r\n            \"Restarting\": false,\r\n            \"OOMKilled\": false,\r\n            \"Dead\": false,\r\n            \"Pid\": 16273,\r\n            \"ExitCode\": 0,\r\n            \"Error\": \"\",\r\n            \"StartedAt\": \"2023-03-10T11:06:20.79892689Z\",\r\n            \"FinishedAt\": \"0001-01-01T00:00:00Z\"\r\n        },\r\n        \"Image\": \"sha256:3a8b3a983aaccaf4e914bbb2c0b73c0abe53329952e2d608576d0b7007f0d5bb\",\r\n        \"ResolvConfPath\": \"/var/lib/docker/containers/c869e8be764df121da4e01b8193af9da7fcafd5194c1aa34ce173e6884aae8f5/resolv.conf\",\r\n        \"HostnamePath\": \"/var/lib/docker/containers/c869e8be764df121da4e01b8193af9da7fcafd5194c1aa34ce173e6884aae8f5/hostname\",\r\n        \"HostsPath\": \"/var/lib/docker/containers/c869e8be764df121da4e01b8193af9da7fcafd5194c1aa34ce173e6884aae8f5/hosts\",\r\n        \"LogPath\": \"/var/lib/docker/containers/c869e8be764df121da4e01b8193af9da7fcafd5194c1aa34ce173e6884aae8f5/c869e8be764df121da4e01b8193af9da7fcafd5194c1aa34ce173e6884aae8f5-json.log\",\r\n        \"Name\": \"/coder-admin-one\",\r\n        \"RestartCount\": 0,\r\n        \"Driver\": \"overlay2\",\r\n        \"Platform\": \"linux\",\r\n        \"MountLabel\": \"\",\r\n        \"ProcessLabel\": \"\",\r\n        \"AppArmorProfile\": \"\",\r\n        \"ExecIDs\": null,\r\n        \"HostConfig\": {\r\n            \"Binds\": [\r\n                \"coder-4a0b8ea1-009c-4178-8bf1-ba67e8e97754-home:/home/coder/:rw\"\r\n            ],\r\n            \"ContainerIDFile\": \"\",\r\n            \"LogConfig\": {\r\n                \"Type\": \"json-file\",\r\n                \"Config\": {\r\n                    \"max-file\": \"10\",\r\n                    \"max-size\": \"100m\"\r\n                }\r\n            },\r\n            \"NetworkMode\": \"default\",\r\n            \"PortBindings\": null,\r\n            \"RestartPolicy\": {\r\n                \"Name\": \"no\",\r\n                \"MaximumRetryCount\": 0\r\n            },\r\n            \"AutoRemove\": false,\r\n            \"VolumeDriver\": \"\",\r\n            \"VolumesFrom\": null,\r\n            \"ConsoleSize\": [\r\n                0,\r\n                0\r\n            ],\r\n            \"CapAdd\": null,\r\n            \"CapDrop\": null,\r\n            \"CgroupnsMode\": \"host\",\r\n            \"Dns\": null,\r\n            \"DnsOptions\": null,\r\n            \"DnsSearch\": null,\r\n            \"ExtraHosts\": [\r\n                \"host.docker.internal:169.254.123.1\",\r\n                \"code.example.com:172.16.153.78\"\r\n            ],\r\n            \"GroupAdd\": null,\r\n            \"IpcMode\": \"private\",\r\n            \"Cgroup\": \"\",\r\n            \"Links\": null,\r\n            \"OomScoreAdj\": 0,\r\n            \"PidMode\": \"\",\r\n            \"Privileged\": false,\r\n            \"PublishAllPorts\": false,\r\n            \"ReadonlyRootfs\": false,\r\n            \"SecurityOpt\": null,\r\n            \"UTSMode\": \"\",\r\n            \"UsernsMode\": \"\",\r\n            \"ShmSize\": 67108864,\r\n            \"Runtime\": \"runc\",\r\n            \"Isolation\": \"\",\r\n            \"CpuShares\": 0,\r\n            \"Memory\": 0,\r\n            \"NanoCpus\": 0,\r\n            \"CgroupParent\": \"\",\r\n            \"BlkioWeight\": 0,\r\n            \"BlkioWeightDevice\": null,\r\n            \"BlkioDeviceReadBps\": null,\r\n            \"BlkioDeviceWriteBps\": null,\r\n            \"BlkioDeviceReadIOps\": null,\r\n            \"BlkioDeviceWriteIOps\": null,\r\n            \"CpuPeriod\": 0,\r\n            \"CpuQuota\": 0,\r\n            \"CpuRealtimePeriod\": 0,\r\n            \"CpuRealtimeRuntime\": 0,\r\n            \"CpusetCpus\": \"\",\r\n            \"CpusetMems\": \"\",\r\n            \"Devices\": null,\r\n            \"DeviceCgroupRules\": null,\r\n            \"DeviceRequests\": null,\r\n            \"MemoryReservation\": 0,\r\n            \"MemorySwap\": 0,\r\n            \"MemorySwappiness\": null,\r\n            \"OomKillDisable\": false,\r\n            \"PidsLimit\": null,\r\n            \"Ulimits\": null,\r\n            \"CpuCount\": 0,\r\n            \"CpuPercent\": 0,\r\n            \"IOMaximumIOps\": 0,\r\n            \"IOMaximumBandwidth\": 0,\r\n            \"MaskedPaths\": [\r\n                \"/proc/asound\",\r\n                \"/proc/acpi\",\r\n                \"/proc/kcore\",\r\n                \"/proc/keys\",\r\n                \"/proc/latency_stats\",\r\n                \"/proc/timer_list\",\r\n                \"/proc/timer_stats\",\r\n                \"/proc/sched_debug\",\r\n                \"/proc/scsi\",\r\n                \"/sys/firmware\"\r\n            ],\r\n            \"ReadonlyPaths\": [\r\n                \"/proc/bus\",\r\n                \"/proc/fs\",\r\n                \"/proc/irq\",\r\n                \"/proc/sys\",\r\n                \"/proc/sysrq-trigger\"\r\n            ],\r\n            \"Init\": false\r\n        },\r\n        \"GraphDriver\": {\r\n            \"Data\": {\r\n                \"LowerDir\": \"/var/lib/docker/overlay2/0a57c78b39a698e41818e32c7e9ccbcf13b5bb0595490dc3d91f64e622fe8211-init/diff:/var/lib/docker/overlay2/fd5b794642adb4a5041c6d056d26887dbe6141db95fb7c497af6ac7cf6bd2dcc/diff:/var/lib/docker/overlay2/7186489c3468c46b33b8d3b7d0169d7f5691b48b641311a7b60d9b0bee591307/diff:/var/lib/docker/overlay2/bf4f671d4e3fb5ac5a845bc029229d50d8449d1ce80b0f375b1a0b561ea7ef1e/diff:/var/lib/docker/overlay2/3b3d3605f2d76403d211654d4b37e4cf40724c846d6aa7aafce4c16f6def99c1/diff:/var/lib/docker/overlay2/34031bcc4e6a9e8be583f09aa8a2efc9bda87d7ab6fd69a2c518cc948d050177/diff:/var/lib/docker/overlay2/cbf5b5cf57b370766f4942d7ef4593fe2ee80f78f5e2c0a60533bf21a5ff5b30/diff:/var/lib/docker/overlay2/78f381cd3f280fddfd97bcb18ca1755d3f7ee790a664af21cced55cb7d8cb469/diff:/var/lib/docker/overlay2/3680b9afb351aa452c975f929d6108fdeba2e2271e893ab52724bd549126bde6/diff\",\r\n                \"MergedDir\": \"/var/lib/docker/overlay2/0a57c78b39a698e41818e32c7e9ccbcf13b5bb0595490dc3d91f64e622fe8211/merged\",\r\n                \"UpperDir\": \"/var/lib/docker/overlay2/0a57c78b39a698e41818e32c7e9ccbcf13b5bb0595490dc3d91f64e622fe8211/diff\",\r\n                \"WorkDir\": \"/var/lib/docker/overlay2/0a57c78b39a698e41818e32c7e9ccbcf13b5bb0595490dc3d91f64e622fe8211/work\"\r\n            },\r\n            \"Name\": \"overlay2\"\r\n        },\r\n        \"Mounts\": [\r\n            {\r\n                \"Type\": \"volume\",\r\n                \"Name\": \"coder-4a0b8ea1-009c-4178-8bf1-ba67e8e97754-home\",\r\n                \"Source\": \"/var/lib/docker/volumes/coder-4a0b8ea1-009c-4178-8bf1-ba67e8e97754-home/_data\",\r\n                \"Destination\": \"/home/coder\",\r\n                \"Driver\": \"local\",\r\n                \"Mode\": \"rw\",\r\n                \"RW\": true,\r\n                \"Propagation\": \"\"\r\n            }\r\n        ],\r\n        \"Config\": {\r\n            \"Hostname\": \"one\",\r\n            \"Domainname\": \"\",\r\n            \"User\": \"1000\",\r\n            \"AttachStdin\": false,\r\n            \"AttachStdout\": false,\r\n            \"AttachStderr\": false,\r\n            \"ExposedPorts\": {\r\n                \"8080/tcp\": {}\r\n            },\r\n            \"Tty\": false,\r\n            \"OpenStdin\": false,\r\n            \"StdinOnce\": false,\r\n            \"Env\": [\r\n                \"CODER_AGENT_TOKEN=9a597d54-cd38-4962-9654-621d446f2199\",\r\n                \"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\",\r\n                \"LANG=en_US.UTF-8\",\r\n                \"ENTRYPOINTD=/entrypoint.d\",\r\n                \"USER=coder\"\r\n            ],\r\n            \"Cmd\": null,\r\n            \"Image\": \"codercom/code-server:latest\",\r\n            \"Volumes\": {\r\n                \"/home/coder/\": {}\r\n            },\r\n            \"WorkingDir\": \"/home/coder\",\r\n            \"Entrypoint\": [\r\n                \"sh\",\r\n                \"-c\",\r\n                \"#!/usr/bin/env sh\\nset -eux\\n# Sleep for a good long while before exiting.\\n# This is to allow folks to exec into a failed workspace and poke around to\\n# troubleshoot.\\nwaitonexit() {\\n\\techo \\\"=== Agent script exited with non-zero code. Sleeping 24h to preserve logs...\\\"\\n\\tsleep 86400\\n}\\ntrap waitonexit EXIT\\nBINARY_DIR=$(mktemp -d -t coder.XXXXXX)\\nBINARY_NAME=coder\\nBINARY_URL=http://172.16.158.240/bin/coder-linux-amd64\\ncd \\\"$BINARY_DIR\\\"\\n# Attempt to download the coder agent.\\n# This could fail for a number of reasons, many of which are likely transient.\\n# So just keep trying!\\nwhile :; do\\n\\t# Try a number of different download tools, as we don not know what we\\n\\t# will have available.\\n\\tstatus=\\\"\\\"\\n\\tif command -v curl >/dev/null 2>&1; then\\n\\t\\tcurl -fsSL --compressed \\\"${BINARY_URL}\\\" -o \\\"${BINARY_NAME}\\\" && break\\n\\t\\tstatus=$?\\n\\telif command -v wget >/dev/null 2>&1; then\\n\\t\\twget -q \\\"${BINARY_URL}\\\" -O \\\"${BINARY_NAME}\\\" && break\\n\\t\\tstatus=$?\\n\\telif command -v busybox >/dev/null 2>&1; then\\n\\t\\tbusybox wget -q \\\"${BINARY_URL}\\\" -O \\\"${BINARY_NAME}\\\" && break\\n\\t\\tstatus=$?\\n\\telse\\n\\t\\techo \\\"error: no download tool found, please install curl, wget or busybox wget\\\"\\n\\t\\texit 127\\n\\tfi\\n\\techo \\\"error: failed to download coder agent\\\"\\n\\techo \\\"       command returned: ${status}\\\"\\n\\techo \\\"Trying again in 30 seconds...\\\"\\n\\tsleep 30\\ndone\\n\\nif ! chmod +x $BINARY_NAME; then\\n\\techo \\\"Failed to make $BINARY_NAME executable\\\"\\n\\texit 1\\nfi\\n\\nexport CODER_AGENT_AUTH=\\\"token\\\"\\nexport CODER_AGENT_URL=\\\"http://172.16.158.240/\\\"\\nexec ./$BINARY_NAME agent\\n\"\r\n            ],\r\n            \"OnBuild\": null,\r\n            \"Labels\": {\r\n                \"coder.owner\": \"admin\",\r\n                \"coder.owner_id\": \"1f5837cc-dd4b-467d-886a-61c8c5913605\",\r\n                \"coder.workspace_id\": \"4a0b8ea1-009c-4178-8bf1-ba67e8e97754\",\r\n                \"coder.workspace_name\": \"one\"\r\n            }\r\n        },\r\n        \"NetworkSettings\": {\r\n            \"Bridge\": \"\",\r\n            \"SandboxID\": \"5da811033ad1160efa7ef243fe6841b3c8d60fc4927ef6ba8b30e0b2bb10ae81\",\r\n            \"HairpinMode\": false,\r\n            \"LinkLocalIPv6Address\": \"\",\r\n            \"LinkLocalIPv6PrefixLen\": 0,\r\n            \"Ports\": {\r\n                \"8080/tcp\": null\r\n            },\r\n            \"SandboxKey\": \"/var/run/docker/netns/5da811033ad1\",\r\n            \"SecondaryIPAddresses\": null,\r\n            \"SecondaryIPv6Addresses\": null,\r\n            \"EndpointID\": \"91f2d0c8cd902df614a1b362c8a3ac3729e40b1aee228bc26f72f867708f4263\",\r\n            \"Gateway\": \"172.17.0.1\",\r\n            \"GlobalIPv6Address\": \"\",\r\n            \"GlobalIPv6PrefixLen\": 0,\r\n            \"IPAddress\": \"172.17.0.3\",\r\n            \"IPPrefixLen\": 16,\r\n            \"IPv6Gateway\": \"\",\r\n            \"MacAddress\": \"02:42:ac:11:00:03\",\r\n            \"Networks\": {\r\n                \"bridge\": {\r\n                    \"IPAMConfig\": null,\r\n                    \"Links\": null,\r\n                    \"Aliases\": null,\r\n                    \"NetworkID\": \"78da07fa7261473ae005379e4702e7cce327bab101cf6735541988b46555cc67\",\r\n                    \"EndpointID\": \"91f2d0c8cd902df614a1b362c8a3ac3729e40b1aee228bc26f72f867708f4263\",\r\n                    \"Gateway\": \"172.17.0.1\",\r\n                    \"IPAddress\": \"172.17.0.3\",\r\n                    \"IPPrefixLen\": 16,\r\n                    \"IPv6Gateway\": \"\",\r\n                    \"GlobalIPv6Address\": \"\",\r\n                    \"GlobalIPv6PrefixLen\": 0,\r\n                    \"MacAddress\": \"02:42:ac:11:00:03\",\r\n                    \"DriverOpts\": null\r\n                }\r\n            }\r\n        }\r\n    }\r\n]\r\n\r\n```\r\n\r\n##  coder-agent.log\r\n\r\n```bash\r\n2023-03-10 11:06:24.860 [INFO]  \u003c./cli/agent.go:110>    workspaceAgent.func1    starting agent  {\"url\": \"http://172.16.158.240/\", \"auth\": \"token\", \"version\": \"v0.18.1+e3a4861\"}\r\n2023-03-10 11:06:24.860 [DEBUG] \u003c./cli/agent.go:219>    serveHandler    http server listening   {\"addr\": \"127.0.0.1:6060\", \"name\": \"pprof\"}\r\n2023-03-10 11:06:24.994 [INFO]  \u003c./agent/agent.go:177>  (*agent).runLoop        connecting to coderd\r\n2023-03-10 11:06:24.994 [DEBUG] \u003c./codersdk/client.go:170>      (*Client).Request.func1 sdk request     {\"method\": \"GET\", \"url\": \"http://172.16.158.240/api/v2/workspaceagents/me/metadata\", \"body\": \"\"}\r\n2023-03-10 11:06:25.000 [DEBUG] \u003c./codersdk/client.go:200>      (*Client).Request.func2 sdk response    {\"method\": \"GET\", \"url\": \"http://172.16.158.240/api/v2/workspaceagents/me/metadata\", \"status\": 200, \"body\": \"\", \"trace_id\": \"92140d2241df155d0db6ec519bda7aa5\", \"span_id\": \"5a0d54a44cbfae69\"}\r\n2023-03-10 11:06:25.000 [INFO]  \u003c./agent/agent.go:263>  (*agent).run    fetched metadata        {\"metadata\": {\"git_auth_configs\": 0, \"vscode_port_proxy_uri\": \"\", \"apps\": [{\"id\": \"54c07d2c-d7a2-480e-ae4d-a858e6f8849c\", \"url\": \"http://localhost:13337/?folder=/home/coder\", \"external\": false, \"slug\": \"code-server\", \"display_name\": \"code-server\", \"icon\": \"/icon/code.svg\", \"subdomain\": false, \"sharing_level\": \"owner\", \"healthcheck\": {\"url\": \"http://localhost:13337/healthz\", \"interval\": 3, \"threshold\": 10}, \"health\": \"initializing\"}], \"derpmap\": {\"Regions\": {\"999\": {\"EmbeddedRelay\": true, \"RegionID\": 999, \"RegionCode\": \"coder\", \"RegionName\": \"Coder Embedded Relay\", \"Nodes\": [{\"Name\": \"999stun0\", \"RegionID\": 999, \"HostName\": \"stun.l.google.com\", \"STUNPort\": 19302, \"STUNOnly\": true}, {\"Name\": \"999b\", \"RegionID\": 999, \"HostName\": \"172.16.158.240\", \"STUNPort\": -1, \"DERPPort\": 80, \"ForceHTTP\": true}]}}}, \"environment_variables\": {\"GIT_AUTHOR_EMAIL\": \"admin@coder.com\", \"GIT_AUTHOR_NAME\": \"admin\", \"GIT_COMMITTER_EMAIL\": \"admin@coder.com\", \"GIT_COMMITTER_NAME\": \"admin\"}, \"startup_script\": \"set -e\\ncode-server --auth none --bind-addr 0.0.0.0:13337 \\u003e/tmp/code-server.log 2\\u003e\\u00261 \\u0026\\n\", \"startup_script_timeout\": 180000000000, \"directory\": \"\", \"motd_file\": \"\"}}\r\n2023-03-10 11:06:25.001 [DEBUG] \u003c./codersdk/client.go:170>      (*Client).Request.func1 sdk request     {\"method\": \"POST\", \"url\": \"http://172.16.158.240/api/v2/workspaceagents/me/startup\", \"body\": \"\"}\r\n2023-03-10 11:06:25.005 [DEBUG] \u003c./codersdk/client.go:200>      (*Client).Request.func2 sdk response    {\"method\": \"POST\", \"url\": \"http://172.16.158.240/api/v2/workspaceagents/me/startup\", \"status\": 200, \"body\": \"\", \"trace_id\": \"52bf047f369c6d9f7a163d203fd3b279\", \"span_id\": \"41ba53601b2e9740\"}\r\n2023-03-10 11:06:25.005 [DEBUG] \u003c./agent/agent.go:240>  (*agent).setLifecycle   set lifecycle state     {\"state\": \"starting\", \"previous\": \"\"}\r\n2023-03-10 11:06:25.005 [INFO]  \u003c./agent/agent.go:613>  (*agent).runStartupScript       running startup script ...\r\n  \"script\": set -e\r\n            code-server --auth none --bind-addr 0.0.0.0:13337 >/tmp/code-server.log 2>&1 &\r\n2023-03-10 11:06:25.005 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/userspace.go:270>    NewUserspaceEngine      [v1] using fake (no-op) tun device\r\n2023-03-10 11:06:25.005 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/userspace.go:274>    NewUserspaceEngine      [v1] using fake (no-op) OS network configurator\r\n2023-03-10 11:06:25.005 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/userspace.go:278>    NewUserspaceEngine      [v1] using fake (no-op) DNS configurator\r\n2023-03-10 11:06:25.006 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/net/dns/logger.go:98> NewManager.func1        dns: using dns.noopManager\r\n2023-03-10 11:06:25.006 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/userspace.go:334>    NewUserspaceEngine      link state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.17.0.3/16]} v4=true v6=false}\r\n2023-03-10 11:06:25.006 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/magicsock/magicsock_linux.go:306>    trySetSocketBuffer.func1        magicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\r\n2023-03-10 11:06:25.006 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/magicsock/magicsock_linux.go:310>    trySetSocketBuffer.func1        magicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\r\n2023-03-10 11:06:25.006 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/magicsock/magicsock_linux.go:306>    trySetSocketBuffer.func1        magicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted\r\n2023-03-10 11:06:25.006 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/magicsock/magicsock_linux.go:310>    trySetSocketBuffer.func1        magicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted\r\n2023-03-10 11:06:25.006 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/magicsock/magicsock.go:659>  NewConn [v1] couldn't create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\r\n2023-03-10 11:06:25.006 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/magicsock/magicsock.go:665>  NewConn [v1] couldn't create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable\r\n2023-03-10 11:06:25.006 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/magicsock/magicsock.go:1049> (*Conn).DiscoPublicKey  magicsock: disco key = d:898fc976c743bda6\r\n2023-03-10 11:06:25.006 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/userspace.go:412>    NewUserspaceEngine      Creating WireGuard device...\r\n2023-03-10 11:06:25.007 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/userspace.go:437>    NewUserspaceEngine      Bringing WireGuard device up...\r\n2023-03-10 11:06:25.007 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/wglog/wglog.go:58>   NewLogger.func1 wg: [v2] UDP bind has been updated\r\n2023-03-10 11:06:25.007 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/wglog/wglog.go:58>   NewLogger.func1 wg: [v2] Interface state was Down, requested Up, now Up\r\n2023-03-10 11:06:25.007 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/userspace.go:441>    NewUserspaceEngine      Bringing router up...\r\n2023-03-10 11:06:25.007 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/router/router_fake.go:21>    fakeRouter.Up   [v1] warning: fakeRouter.Up: not implemented.\r\n2023-03-10 11:06:25.007 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/userspace.go:449>    NewUserspaceEngine      Clearing router settings...\r\n2023-03-10 11:06:25.007 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/router/router_fake.go:26>    fakeRouter.Set  [v1] warning: fakeRouter.Set: not implemented.\r\n2023-03-10 11:06:25.007 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/userspace.go:453>    NewUserspaceEngine      Starting link monitor...\r\n2023-03-10 11:06:25.007 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/userspace.go:456>    NewUserspaceEngine      Engine created.\r\n2023-03-10 11:06:25.007 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/magicsock/magicsock.go:2417> (*Conn).SetPrivateKey   magicsock: SetPrivateKey called (init)\r\n2023-03-10 11:06:25.008 [DEBUG] (tailnet)       \u003c./tailnet/conn.go:182> NewConn updating network map\r\n2023-03-10 11:06:25.008 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/magicsock/magicsock.go:2551> (*Conn).SetNetworkMap   [v1] magicsock: got updated network map; 0 peers\r\n2023-03-10 11:06:25.008 [DEBUG] \u003c./codersdk/client.go:170>      (*Client).Request.func1 sdk request     {\"method\": \"POST\", \"url\": \"http://172.16.158.240/api/v2/workspaceagents/me/report-stats\", \"body\": \"\"}\r\n2023-03-10 11:06:25.010 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/wglog/wglog.go:58>   NewLogger.func1 wg: [v2] Routine: receive incoming v4 - started\r\n2023-03-10 11:06:25.011 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/wglog/wglog.go:58>   NewLogger.func1 wg: [v2] Routine: receive incoming receiveDERP - started\r\n2023-03-10 11:06:25.011 [INFO]  \u003c./agent/agent.go:338>  (*agent).run.func2      startup script completed        {\"execution_time\": \"6.461371ms\"}\r\n2023-03-10 11:06:25.011 [DEBUG] \u003c./agent/agent.go:240>  (*agent).setLifecycle   set lifecycle state     {\"state\": \"ready\", \"previous\": \"starting\"}\r\n2023-03-10 11:06:25.013 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/wglog/wglog.go:58>   NewLogger.func1 wg: [v2] Routine: receive incoming v6 - started\r\n2023-03-10 11:06:25.013 [DEBUG] \u003c./agent/agent.go:218>  (*agent).reportLifecycleLoop    reporting lifecycle state       {\"state\": \"ready\"}\r\n2023-03-10 11:06:25.014 [DEBUG] \u003c./codersdk/client.go:170>      (*Client).Request.func1 sdk request     {\"method\": \"POST\", \"url\": \"http://172.16.158.240/api/v2/workspaceagents/me/report-lifecycle\", \"body\": \"\"}\r\n2023-03-10 11:06:25.021 [DEBUG] \u003c./codersdk/client.go:200>      (*Client).Request.func2 sdk response    {\"method\": \"POST\", \"url\": \"http://172.16.158.240/api/v2/workspaceagents/me/report-stats\", \"status\": 200, \"body\": \"\", \"trace_id\": \"8ceb3c8a57afe99b26688a10492519b6\", \"span_id\": \"eb93c3ff0cffc63f\"}\r\n2023-03-10 11:06:25.021 [DEBUG] \u003c./agent/agent.go:377>  (*agent).run    running tailnet connection coordinator\r\n2023-03-10 11:06:25.026 [DEBUG] \u003c./codersdk/client.go:200>      (*Client).Request.func2 sdk response    {\"method\": \"POST\", \"url\": \"http://172.16.158.240/api/v2/workspaceagents/me/report-lifecycle\", \"status\": 204, \"body\": \"\", \"trace_id\": \"1c76c4f65c4535299ffe6f44ca478131\", \"span_id\": \"6c164b11e9972982\"}\r\n2023-03-10 11:06:25.029 [INFO]  \u003c./agent/agent.go:595>  (*agent).runCoordinator connected to coordination endpoint\r\n2023-03-10 11:06:25.029 [DEBUG] (tailnet)       \u003c./tailnet/conn.go:632> (*Conn).sendNode.func1  sending node    {\"node\": {\"id\": 6360083939399579565, \"as_of\": \"2023-03-10T11:06:25.029629Z\", \"key\": \"nodekey:0f028a1bcd211c5b4b5127b83f0b2b8641a13cdc4f65d7cc30b7dbc3772c2716\", \"disco\": \"discokey:898fc976c743bda60851bf6feb8f6616fa13791aeda008472252a5d899c6090b\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": null, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": []}}\r\n2023-03-10 11:06:25.076 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/magicsock/logger.go:98>      NewConn.func6   netcheck: netcheck: UDP is blocked, trying HTTPS\r\n2023-03-10 11:06:25.076 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/magicsock/logger.go:98>      NewConn.func6   netcheck: [v1] measureAllICMPLatency: listen ip4:icmp 0.0.0.0: socket: operation not permitted\r\n2023-03-10 11:06:25.077 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/magicsock/logger.go:98>      NewConn.func6   netcheck: [v1] netcheck: measuring HTTPS latency of coder (999): tls: first record does not look like a TLS handshake\r\n2023-03-10 11:06:25.077 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/magicsock/logger.go:98>      NewConn.func6   netcheck: [v1] report: udp=false v4=false icmpv4=false v6=false v6os=false mapvarydest= hair= portmap= derp=0\r\n2023-03-10 11:06:25.077 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/magicsock/magicsock.go:1085> (*Conn).setNearestDERP  magicsock: home is now derp-999 (coder)\r\n2023-03-10 11:06:25.077 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/magicsock/magicsock.go:2732> (*Conn).logEndpointChange       magicsock: endpoints changed: 172.17.0.3:54012 (local)\r\n2023-03-10 11:06:25.078 [DEBUG] (tailnet)       \u003c./tailnet/conn.go:220> NewConn.func6   wireguard status        {\"status\": \"\\u0026{AsOf:2023-03-10 11:06:25.078052631 +0000 UTC m=+0.323891697 Peers:[] LocalAddrs:[{Addr:172.17.0.3:54012 Type:local}] DERPs:0}\", \"err\": null}\r\n2023-03-10 11:06:25.078 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/magicsock/magicsock.go:1473> (*Conn).derpWriteChanOfAddr     magicsock: adding connection to derp-999 for home-keep-alive\r\n2023-03-10 11:06:25.078 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/magicsock/magicsock.go:2720> (*Conn).logActiveDerpLocked     magicsock: 1 active derp conns: derp-999=cr0s,wr0s\r\n2023-03-10 11:06:25.078 [DEBUG] (tailnet)       \u003c./tailnet/conn.go:220> NewConn.func6   wireguard status        {\"status\": \"\\u0026{AsOf:2023-03-10 11:06:25.078878128 +0000 UTC m=+0.324717184 Peers:[] LocalAddrs:[{Addr:172.17.0.3:54012 Type:local}] DERPs:1}\", \"err\": null}\r\n2023-03-10 11:06:25.079 [DEBUG] (tailnet)       \u003c./tailnet/conn.go:241> NewConn.func7   netinfo callback        {\"netinfo\": {\"MappingVariesByDestIP\": null, \"HairPinning\": null, \"WorkingIPv6\": false, \"OSHasIPv6\": false, \"WorkingUDP\": false, \"WorkingICMPv4\": false, \"UPnP\": false, \"PMP\": false, \"PCP\": false, \"PreferredDERP\": 999}}\r\n2023-03-10 11:06:25.079 [DEBUG] (tailnet)       \u003c./tailnet/conn.go:632> (*Conn).sendNode.func1  sending node    {\"node\": {\"id\": 6360083939399579565, \"as_of\": \"2023-03-10T11:06:25.078205Z\", \"key\": \"nodekey:0f028a1bcd211c5b4b5127b83f0b2b8641a13cdc4f65d7cc30b7dbc3772c2716\", \"disco\": \"discokey:898fc976c743bda60851bf6feb8f6616fa13791aeda008472252a5d899c6090b\", \"preferred_derp\": 0, \"derp_latency\": null, \"derp_forced_websockets\": null, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"172.17.0.3:54012\"]}}\r\n2023-03-10 11:06:25.079 [DEBUG] (tailnet)       \u003c./tailnet/conn.go:632> (*Conn).sendNode.func1  sending node    {\"node\": {\"id\": 6360083939399579565, \"as_of\": \"2023-03-10T11:06:25.079419Z\", \"key\": \"nodekey:0f028a1bcd211c5b4b5127b83f0b2b8641a13cdc4f65d7cc30b7dbc3772c2716\", \"disco\": \"discokey:898fc976c743bda60851bf6feb8f6616fa13791aeda008472252a5d899c6090b\", \"preferred_derp\": 999, \"derp_latency\": {}, \"derp_forced_websockets\": {}, \"addresses\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"allowed_ips\": [\"fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4/128\"], \"endpoints\": [\"172.17.0.3:54012\"]}}\r\n2023-03-10 11:06:25.079 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/derp/derphttp/derphttp_client.go:357> (*Client).connect       derphttp.Client.Connect: connecting to derp-999 (coder)\r\n2023-03-10 11:06:25.081 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/magicsock/magicsock.go:1691> (*Conn).runDerpReader   magicsock: derp-999 connected; connGen=1\r\n2023-03-10 11:06:25.130 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/magicsock/logger.go:98>      NewConn.func6   netcheck: netcheck: UDP is blocked, trying HTTPS\r\n2023-03-10 11:06:25.130 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/magicsock/logger.go:98>      NewConn.func6   netcheck: [v1] measureAllICMPLatency: listen ip4:icmp 0.0.0.0: socket: operation not permitted\r\n2023-03-10 11:06:25.130 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/magicsock/logger.go:98>      NewConn.func6   netcheck: [v1] netcheck: measuring HTTPS latency of coder (999): tls: first record does not look like a TLS handshake\r\n2023-03-10 11:06:25.130 [DEBUG] (tailnet.wgengine)      \u003c./../../../tailscale.com/wgengine/magicsock/logger.go:98>      NewConn.func6   netcheck: [v1] report: udp=false v4=false icmpv4=false v6=false v6os=false mapvarydest= hair= portmap= derp=0\r\n2023-03-10 11:06:29.008 [DEBUG] \u003c./codersdk/client.go:170>      (*Client).Request.func1 sdk request     {\"method\": \"POST\", \"url\": \"http://172.16.158.240/api/v2/workspaceagents/me/app-health\", \"body\": \"\"}\r\n2023-03-10 11:06:29.014 [DEBUG] \u003c./codersdk/client.go:200>      (*Client).Request.func2 sdk response    {\"method\": \"POST\", \"url\": \"http://172.16.158.240/api/v2/workspaceagents/me/app-health\", \"status\": 200, \"body\": \"\", \"trace_id\": \"1e9622213b6678499041d3c56ca5c8ee\", \"span_id\": \"d37ba74cd054a6d9\"}\r\n2023-03-10 11:06:55.030 [DEBUG] \u003c./codersdk/agentsdk/agentsdk.go:194>   (*Client).Listen.func1  got coordinate pong     {\"took\": \"269.649µs\"}\r\n2023-03-10 11:07:25.030 [DEBUG] \u003c./codersdk/agentsdk/agentsdk.go:194>   (*Client).Listen.func1  got coordinate pong     {\"took\": \"196.412µs\"}\r\n2023-03-10 11:07:55.030 [DEBUG] \u003c./codersdk/agentsdk/agentsdk.go:194>   (*Client).Listen.func1  got coordinate pong     {\"took\": \"219.877µs\"}\r\n2023-03-10 11:08:25.030 [DEBUG] \u003c./codersdk/agentsdk/agentsdk.go:194>   (*Client).Listen.func1  got coordinate pong     {\"took\": \"498.265µs\"}\r\n```\r\n\r\n## code-server.log\r\n\r\n```bash\r\n\r\n[2023-03-10T11:06:25.384Z] info  Wrote default config file to ~/.config/code-server/config.yaml\r\n[2023-03-10T11:06:25.740Z] info  code-server 4.10.1 d477972c68fc8c8e8d610aa7287db87ba90e55c7\r\n[2023-03-10T11:06:25.741Z] info  Using user-data-dir ~/.local/share/code-server\r\n[2023-03-10T11:06:25.750Z] info  Using config file ~/.config/code-server/config.yaml\r\n[2023-03-10T11:06:25.750Z] info  HTTP server listening on http://0.0.0.0:13337/\r\n[2023-03-10T11:06:25.750Z] info    - Authentication is disabled\r\n[2023-03-10T11:06:25.751Z] info    - Not serving HTTPS\r\n\r\n```","author":{"url":"https://github.com/gaoletian","@type":"Person","name":"gaoletian"},"datePublished":"2023-03-10T11:29:38Z","url":"https://github.com/coder/coder/issues/6554"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:83347d82-3791-645c-0b5a-030a99e20540
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDACC:229B2E:1A5BDA1:22B7FA5:6B0146A0
html-safe-nonce28833330919b518edcf0e0e1cfbec66da3e4a305ff2d0afa6f0c8c3fef826806
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQUNDOjIyOUIyRToxQTVCREExOjIyQjdGQTU6NkIwMTQ2QTAiLCJ2aXNpdG9yX2lkIjoiMzYzNTU4NzA2OTM1NjYyMzUyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac112a957226ffa51fab943f8a2991edb839acf3766de250defd5755f66bab2298
hovercard-subject-tagissue:1618830271
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/6554/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5439a1717cb4321c7799835227bfb4fb5fa4e3259560f77abda65151dd7e55fe/coder/coder/issues/6554
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5439a1717cb4321c7799835227bfb4fb5fa4e3259560f77abda65151dd7e55fe/coder/coder/issues/6554
og:image:altnow coder startup ok create template ok create workspace ok issues can not open workspace from web can not connect workspace from ssh coder ls -a WORKSPACE TEMPLATE STATUS LAST BUILT OUTDATED START...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegaoletian
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/coder/coder git https://github.com/coder/coder.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id440752086
octolytics-dimension-repository_nwocoder/coder
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id440752086
octolytics-dimension-repository_network_root_nwocoder/coder
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/coder/coder/issues/6554#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fissues%2F6554
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fissues%2F6554
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=coder%2Fcoder
Reloadhttps://github.com/coder/coder/issues/6554
Reloadhttps://github.com/coder/coder/issues/6554
Reloadhttps://github.com/coder/coder/issues/6554
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests469 (469)https://github.com/coder/coder/pulls
Discussionshttps://github.com/coder/coder/discussions
Actionshttps://github.com/coder/coder/actions
Projectshttps://github.com/coder/coder/projects
Security and quality49 (49)https://github.com/coder/coder/security
Insightshttps://github.com/coder/coder/insights
https://github.com/coder/coder
New issuehttps://github.com/login?return_to=https://github.com/coder/coder/issues/6554
New issuehttps://github.com/login?return_to=https://github.com/coder/coder/issues/6554
coder agent not work, can not connect from websocket or sshhttps://github.com/coder/coder/issues/6554#top
https://github.com/gaoletian
gaoletianhttps://github.com/gaoletian
on Mar 10, 2023https://github.com/coder/coder/issues/6554#issue-1618830271
https://user-images.githubusercontent.com/25849581/224307770-d5da9508-cf2a-40f5-a2af-025044e98e33.png
gaoletianhttps://github.com/gaoletian
completedhttps://github.com/coder/coder/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Mar 10, 2023https://github.com/coder/coder/issues/6554#event-8717554470
https://github.com/sharkymark
sharkymarkhttps://github.com/sharkymark
on Mar 10, 2023https://github.com/coder/coder/issues/6554#issuecomment-1463744580
@gaoletianhttps://github.com/gaoletian
https://github.com/gaoletian
gaoletianhttps://github.com/gaoletian
on Mar 11, 2023https://github.com/coder/coder/issues/6554#issuecomment-1464845660
Sign up for freehttps://github.com/signup?return_to=https://github.com/coder/coder/issues/6554
Sign in to commenthttps://github.com/login?return_to=https://github.com/coder/coder/issues/6554
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.