Hannsr
04/25/2023, 3:27 PMAgent is taking too long to start so I can't port forward.colin (rust enthusiast)
04/25/2023, 3:35 PMHannsr
04/25/2023, 3:37 PMStandalone release has been installed into /tmp/code-server/lib/code-server-4.8.3Extend your path to use code-server: PATH="/tmp/code-server/bin:$PATH"Then run with: code-serverDeploy code-server for your team with Coder: https://github.com/coder/coderHannsr
04/25/2023, 3:37 PM# install and start code-server
curl -fsSL https://code-server.dev/install.sh | sh -s -- --method=standalone --prefix=/tmp/code-server --version 4.8.3
/tmp/code-server/bin/code-server --auth none --port 13337 >/tmp/code-server.log 2>&1 &Hannsr
04/25/2023, 3:53 PMHannsr
04/25/2023, 4:03 PMcode-server.log shows no errors as well:
[2023-04-25T15:52:16.111Z] info Wrote default config file to ~/.config/code-server/config.yaml
[2023-04-25T15:52:16.331Z] info code-server 4.11.0 85e083580dec27ef19827ff42d3c9257d56ea7e3
[2023-04-25T15:52:16.332Z] info Using user-data-dir ~/.local/share/code-server
[2023-04-25T15:52:16.338Z] info Using config file ~/.config/code-server/config.yaml
[2023-04-25T15:52:16.338Z] info HTTP server listening on http://127.0.0.1:13337/
[2023-04-25T15:52:16.338Z] info - Authentication is disabled
[2023-04-25T15:52:16.338Z] info - Not serving HTTPS
Code Server is also listening on Port 13337:
sudo netstat -tulpn | grep ':13337'
tcp 0 0 127.0.0.1:13337 0.0.0.0:* LISTEN -
I really don't get it.colin (rust enthusiast)
04/25/2023, 6:20 PM/tmp/coder-agent.logcolin (rust enthusiast)
04/25/2023, 6:20 PMHannsr
04/25/2023, 6:24 PMcolin (rust enthusiast)
04/25/2023, 6:25 PMHannsr
04/25/2023, 6:26 PMcolin (rust enthusiast)
04/25/2023, 6:29 PMHannsr
04/25/2023, 7:37 PM/tmp/coder-agent-init.log which only had one line. The /tmp/coder-agent.log has much more. This is right after the script finished:
2023-04-25 16:13:41.328 [DEBUG] (tailnet.wgengine) <./../../../tailscale.com/wgengine/userspace.go:270> NewUserspaceEngine [v1] u
sing fake (no-op) tun device
2023-04-25 16:13:41.328 [DEBUG] (tailnet.wgengine) <./../../../tailscale.com/wgengine/userspace.go:274> NewUserspaceEngine [v1] u
sing fake (no-op) OS network configurator
2023-04-25 16:13:41.328 [DEBUG] (tailnet.wgengine) <./../../../tailscale.com/wgengine/userspace.go:278> NewUserspaceEngine [v1] u
sing fake (no-op) DNS configurator
2023-04-25 16:13:41.328 [DEBUG] (tailnet.wgengine) <./../../../tailscale.com/net/dns/logger.go:98> NewManager.func1 dns: using dns
.noopManager
2023-04-25 16:13:41.328 [DEBUG] (tailnet.wgengine) <./../../../tailscale.com/wgengine/userspace.go:334> NewUserspaceEngine link s
tate: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.17.0.3/16]} v4=true v6=false}
2023-04-25 16:13:41.328 [DEBUG] (tailnet.wgengine) <./../../../tailscale.com/wgengine/magicsock/magicsock_linux.go:306> trySetSocketBu
ffer.func1 magicsock: failed to force-set UDP read buffer size to 7340032: operation not permitted
2023-04-25 16:13:41.328 [DEBUG] (tailnet.wgengine) <./../../../tailscale.com/wgengine/magicsock/magicsock_linux.go:310> trySetSocketBu
ffer.func1 magicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted
2023-04-25 16:13:41.328 [DEBUG] (tailnet.wgengine) <./../../../tailscale.com/wgengine/magicsock/magicsock_linux.go:306> trySetSocketBu
ffer.func1 magicsock: failed to force-set UDP read buffer size to 7340032: operation not permittedHannsr
04/25/2023, 7:38 PM2023-04-25 16:13:41.328 [DEBUG] (tailnet.wgengine) <./../../../tailscale.com/wgengine/magicsock/magicsock_linux.go:310> trySetSocketBu
ffer.func1 magicsock: failed to force-set UDP write buffer size to 7340032: operation not permitted
2023-04-25 16:13:41.328 [DEBUG] (tailnet.wgengine) <./../../../tailscale.com/wgengine/magicsock/magicsock.go:666> NewConn [v1] couldn't
create raw v4 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailable
2023-04-25 16:13:41.328 [DEBUG] (tailnet.wgengine) <./../../../tailscale.com/wgengine/magicsock/magicsock.go:672> NewConn [v1] couldn't
create raw v6 disco listener, using regular listener instead: raw disco listening disabled, SO_MARK unavailablecolin (rust enthusiast)
04/25/2023, 7:39 PMHannsr
04/25/2023, 7:39 PMHannsr
04/25/2023, 7:42 PM2023-04-25 16:14:52.664 [DEBUG] <./codersdk/client.go:259> (*Client).Request.func2 sdk response {"method": "PATCH", "url": "https://our.domain/api/v2/workspaceagents/me/startup-logs", "status": 200, "body": "", "trace_id": "8d0875409e8570fee2a61fa3b99f3754", "span_i
d": "9426f8d4071a4db1"}Hannsr
04/25/2023, 7:43 PM{
"message": "Workspace agent token invalid.",
"detail": "An agent token must be a valid UUIDv4. (len 33)"
}colin (rust enthusiast)
04/25/2023, 7:51 PMcolin at coder.comHannsr
04/25/2023, 7:52 PMHannsr
04/25/2023, 8:01 PM