Thanks to visit codestin.com
Credit goes to github.com

Skip to content

How to connect to my workspace on ZorinOS if it is not booting? #3359

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
im-coder-lg opened this issue Aug 2, 2022 · 14 comments
Closed

How to connect to my workspace on ZorinOS if it is not booting? #3359

im-coder-lg opened this issue Aug 2, 2022 · 14 comments

Comments

@im-coder-lg
Copy link
Contributor

Righty, screenshots:
image
It has been half an hour and it still doesn't connect. Same with other workspaces too. My console is like this:
image
So, any ideas why my Zorin install is doing like this? My Pi doesn't do this, which is a bit weird.
PS: My docker install on this needs sudo, FYI.

@kylecarbs
Copy link
Member

Could you grab the logs for the container?

@im-coder-lg
Copy link
Contributor Author

How?

@im-coder-lg
Copy link
Contributor Author

im-coder-lg commented Aug 2, 2022

If you mean this, then this is the workspace creation logs:

20:13:36.072
20:13:36.213
20:13:36.279
Initializing the backend...
20:13:36.346
20:13:36.413
Initializing provider plugins...
20:13:36.479
- Finding coder/coder versions matching "0.4.3"...
20:13:36.813
- Finding kreuzwerker/docker versions matching "~> 2.16.0"...
20:13:36.975
- Using coder/coder v0.4.3 from the shared cache directory
20:13:37.039
- Using kreuzwerker/docker v2.16.0 from the shared cache directory
20:13:37.163
20:13:37.229
Terraform has created a lock file .terraform.lock.hcl to record the provider
20:13:37.296
selections it made above. Include this file in your version control repository
20:13:37.372
so that Terraform can guarantee to make the same selections by default when
20:13:37.438
you run "terraform init" in the future.
20:13:37.505
20:13:37.580
Terraform has been successfully initialized!
20:13:37.706
20:13:37.773
You may now begin working with Terraform. Try running "terraform plan" to see
20:13:37.846
any changes that are required for your infrastructure. All Terraform commands
20:13:37.913
should now work.
20:13:37.980
20:13:38.046
If you ever set or change modules or backend configuration for Terraform,
20:13:38.139
rerun this command to reinitialize your working directory. If you forget, other
20:13:38.419
commands will detect it and remind you to do so if necessary.
20:13:38.488
Terraform 1.2.1
20:13:38.556
data.coder_workspace.me: Refreshing...
20:13:38.622
data.coder_workspace.me: Refresh complete after 0s [id=343a7178-7986-44a3-b535-6af4201bd758]
20:13:38.746
coder_agent.main: Plan to create
20:13:38.813
coder_app.code-server: Plan to create
20:13:38.889
docker_volume.home_volume: Plan to create
20:13:38.955
docker_container.workspace[0]: Plan to create
20:13:39.038
Plan: 4 to add, 0 to change, 0 to destroy.
20:13:39.163
coder_agent.main: Creating...
20:13:39.255
coder_agent.main: Creation complete after 0s [id=2676c571-99c0-4fb0-b7f8-abe63742c6fe]
20:13:39.322
coder_app.code-server: Creating...
20:13:39.389
docker_volume.home_volume: Creating...
20:13:39.455
coder_app.code-server: Creation complete after 0s [id=cefd0719-acfd-4108-9fb8-e44ea003c0b0]
20:13:39.523
docker_volume.home_volume: Creation complete after 0s [id=coder-lokesh-testbuntu-home]
20:13:39.589
docker_container.workspace[0]: Creating...
20:13:48.314
docker_container.workspace[0]: Still creating... [10s elapsed]
20:13:58.315
docker_container.workspace[0]: Still creating... [20s elapsed]
20:14:08.315
docker_container.workspace[0]: Still creating... [30s elapsed]
20:14:18.315
docker_container.workspace[0]: Still creating... [40s elapsed]
20:14:28.316
docker_container.workspace[0]: Still creating... [50s elapsed]
20:14:38.316
docker_container.workspace[0]: Still creating... [1m0s elapsed]
20:14:48.317
docker_container.workspace[0]: Still creating... [1m10s elapsed]
20:14:58.317
docker_container.workspace[0]: Still creating... [1m20s elapsed]
20:15:08.318
docker_container.workspace[0]: Still creating... [1m30s elapsed]
20:15:18.318
docker_container.workspace[0]: Still creating... [1m40s elapsed]
20:15:28.319
docker_container.workspace[0]: Still creating... [1m50s elapsed]
20:15:39.229
docker_container.workspace[0]: Still creating... [2m0s elapsed]
20:15:50.510
docker_container.workspace[0]: Still creating... [2m11s elapsed]
20:16:00.695
docker_container.workspace[0]: Still creating... [2m23s elapsed]
20:16:10.695
docker_container.workspace[0]: Still creating... [2m33s elapsed]
20:16:20.696
docker_container.workspace[0]: Still creating... [2m43s elapsed]
20:16:30.698
docker_container.workspace[0]: Still creating... [2m53s elapsed]
20:16:35.594
docker_container.workspace[0]: Creation complete after 2m58s [id=1ef62ce3256390e908f6c621bdeaab40248b0afc5907023558b2657a72d8cded]
20:16:36.807
Apply complete! Resources: 4 added, 0 changed, 0 destroyed.
20:16:36.998
Outputs: 0

Edit reason: TMI

@kylecarbs
Copy link
Member

Ahh, I mean the Docker container logs. eg. docker logs 1ef62ce3256390e908f6c621bdeaab40248b0afc5907023558b2657a72d8cded

@im-coder-lg
Copy link
Contributor Author

Here:

~ docker logs 1ef62ce3256390e908f6c621bdeaab40248b0afc5907023558b2657a72d8cded
+ trap waitonexit EXIT
+ mktemp -d -t coder.XXXXXX
+ BINARY_DIR=/tmp/coder.hFBqDc
+ BINARY_NAME=coder
+ BINARY_URL=http://127.0.0.1:3000/bin/coder-linux-amd64
+ cd /tmp/coder.hFBqDc
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
error: failed to download coder agent
+ sleep 30
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
error: failed to download coder agent
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ echo Trying again in 30 seconds...
+ sleep 30
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ sleep 30
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ echo Trying again in 30 seconds...
+ sleep 30
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ sleep 30
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ sleep 30
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ sleep 30
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ sleep 30
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...
+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://127.0.0.1:3000/bin/coder-linux-amd64 -o coder
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
+ sleep 30
error: failed to download coder agent
       command returned: 7
Trying again in 30 seconds...

@im-coder-lg
Copy link
Contributor Author

im-coder-lg commented Aug 2, 2022

My CODER AGENT is NOT installed???

@kylecarbs
Copy link
Member

Seems like it's trying to dial 127.0.0.1:3000.

The access URL can actually be dynamically set with a Coder provider block:

provider "coder" {
  url = "https://<your access url>"
}

@im-coder-lg
Copy link
Contributor Author

But my access URL is 127.0.0.1:3000

@kylecarbs
Copy link
Member

Inside the Docker container, that would hit the localhost address. Are you using the Docker host gateway? Maybe try setting URL to: host.docker.internal:3000 in the provider block.

@im-coder-lg
Copy link
Contributor Author

Are you using the Docker host gateway?

I don't know what that means, can you elucidate on this?

Maybe try setting URL to: host.docker.internal:3000 in the provider block.

I'll try - having a problem with Postgres.

@kylecarbs
Copy link
Member

@im-coder-lg
Copy link
Contributor Author

I'll have to continue tomorrow. Need to sleep, and be a good kid for the day, but I'll try checking the article. Thanks for your help @kylecarbs!

@kylecarbs
Copy link
Member

Of course. Our provider access URL documentation is lacking, and this might help fix it!

@maryna-hankevich
Copy link

looks like the same issue as #3292

@kylecarbs kylecarbs closed this as not planned Won't fix, can't repro, duplicate, stale Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants