-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
needs-triageIssue that require triageIssue that require triage
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
I deployed it using docker. The health check displayed by opening the interface through the web page was normal. I downloaded Docker (Devcontainer) Templates and created Workspaces. When I clicked on vscode, the local vscode could not be connected and when I clicked on the code-server, the web page kept loading.
Relevant Log Output
last workspaces logs:
=== No onCreateCommand script specified
=== No updateContentCommand script specified
=== Running postCreateCommand as the "root" user...
=== Running init command as user "root": ["/bin/sh" "-c" "#!/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=\"${BINARY_DIR:-$(mktemp -d -t coder.XXXXXX)}\"\nBINARY_NAME=coder\nBINARY_URL=http://103.106.191.182:7080/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}\"
⚙️ Creating settings file...
Installing code-server!
######
🥳 code-server has been installed in /tmp/code-server
👷 Running code-server in the background...
Check logs at /tmp/code-server.log!
open terminal /tmp/code-server.log:
cat /tmp/code-server.log
[2025-02-21T16:50:01.721Z] info code-server 4.97.2 34b8d2ed69811c3315a465f01492e9448c9254aa
[2025-02-21T16:50:01.724Z] info Using user-data-dir /root/.local/share/code-server
[2025-02-21T16:50:01.759Z] info Using config file /root/.config/code-server/config.yaml
[2025-02-21T16:50:01.759Z] info HTTP server listening on http://127.0.0.1:13337/
[2025-02-21T16:50:01.760Z] info - Authentication is disabled
[2025-02-21T16:50:01.760Z] info - Not serving HTTPS
[2025-02-21T16:50:01.760Z] info Session server listening on /root/.local/share/code-server/code-server-ipc.sock
[16:50:10]
[16:50:10] Extension host agent started.Expected Behavior
It is expected that clicking on the local vscode of VS Code Desktop can connect to the remote one, and clicking on the URL redirected by code-server can load the content.
Steps to Reproduce
The URL that you click on code-server to jump to is still loading.

Click VS Code, the local vscode cannot be connected.
Environment
- Host OS: Ubuntu 24.04
- Coder version: images: ghcr.io/coder/coder:latest、ghcr.io/coder/envbuilder:latest、
Additional Context
No response
Metadata
Metadata
Assignees
Labels
needs-triageIssue that require triageIssue that require triage
