Skip to content

Commit 02a4282

Browse files
committed
add gcp-linux
1 parent 2368d56 commit 02a4282

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

examples/templates/gcp-linux/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,17 @@ a service account:
4949
`code-server` is installed via the `startup_script` argument in the `coder_agent`
5050
resource block. The `coder_app` resource is defined to access `code-server` through
5151
the dashboard UI over `localhost:13337`.
52+
53+
## Troubleshooting
54+
55+
### Agent is stuck "connecting" or "disconnected"
56+
57+
This often occurs because the virtual machine cannot reach your Coder access URL. If you are not using Coder's [public tunnel](https://coder.com/docs/coder-oss/latest/admin/configure#tunnel), you must [configure your access URL](https://coder.com/docs/coder-oss/latest/admin/configure#access-url) as a public address or one within the same VPC as workspaces.
58+
59+
You can also use the SSH console to log into the VM and check the agent logs.
60+
61+
```sh
62+
cat /tmp/coder-agent.log
63+
```
64+
65+
![GCP SSH](https://raw.githubusercontent.com/coder/coder/main/docs/images/quickstart/google-cloud-platform/gcp-example-debug.png)

0 commit comments

Comments
 (0)