Gouda
CCoder.com
•Created by Gouda on 4/29/2024 in #help
Coder AWS EC2 (Linux) template not working for me :/
This is the error I got in the logs
It just keep trying to connect, but keeps failing
I prolly try to use a coder Auth token instead? Will update if it works
32 replies
CCoder.com
•Created by Gouda on 4/29/2024 in #help
Coder AWS EC2 (Linux) template not working for me :/
- GET https://url/api/v2/workspaceagents/aws-instance-identity: unexpected status code 401: API key or external proxy authentication required, but none provided: Try logging in using 'coder login'.
2024-04-29 06:22:55.232 [info] connecting to coderd
2024-04-29 06:22:55.234 [debu] sdk request method=POST url=http:/url/api/v2/workspaceagents/aws-instance-identity body=""
2024-04-29 06:22:55.275 [debu] sdk response method=POST url=http://url/api/v2/workspaceagents/aws-instance-identity status=401 body="" trace_id="" span_id=""
2024-04-29 06:22:55.275 [warn] run exited with error ...
error= exchange token:
github.com/coder/coder/v2/agent.(*agent).run
/home/runner/actions-runner/_work/coder/coder/agent/agent.go:739
32 replies
CCoder.com
•Created by Gouda on 4/29/2024 in #help
Coder AWS EC2 (Linux) template not working for me :/
The template used aws-instance-identity as the Auth method in the coder agent resource so I just followdd it
32 replies
CCoder.com
•Created by Gouda on 4/29/2024 in #help
Coder AWS EC2 (Linux) template not working for me :/
I'm guessing the error is due to this, but idk how to fix this
32 replies
CCoder.com
•Created by Gouda on 4/29/2024 in #help
Coder AWS EC2 (Linux) template not working for me :/
I checked the logs, I get a 401 error when it sends an sdk to the url
Which says smh like url/api/v2/workspacesagent/aws-instance-identiy
32 replies
CCoder.com
•Created by Gouda on 4/29/2024 in #help
Coder AWS EC2 (Linux) template not working for me :/
Ah
32 replies
CCoder.com
•Created by Gouda on 4/29/2024 in #help
Coder AWS EC2 (Linux) template not working for me :/
My main problem are that code-server isn't installed in the instance
When I checked the /tmp directory, it was missing
32 replies
CCoder.com
•Created by Gouda on 4/29/2024 in #help
Coder AWS EC2 (Linux) template not working for me :/
Like url/api/v2
32 replies
CCoder.com
•Created by Gouda on 4/29/2024 in #help
Coder AWS EC2 (Linux) template not working for me :/
It works when I tried getting an api
32 replies
CCoder.com
•Created by Gouda on 4/29/2024 in #help
Coder AWS EC2 (Linux) template not working for me :/
Do i try using coder login <url>?
32 replies
CCoder.com
•Created by Gouda on 4/29/2024 in #help
Coder AWS EC2 (Linux) template not working for me :/
Ah ic
32 replies
CCoder.com
•Created by Gouda on 4/29/2024 in #help
Coder AWS EC2 (Linux) template not working for me :/
The domain name is diff
32 replies
CCoder.com
•Created by Gouda on 4/29/2024 in #help
Coder AWS EC2 (Linux) template not working for me :/
32 replies
CCoder.com
•Created by Gouda on 4/29/2024 in #help
Coder AWS EC2 (Linux) template not working for me :/
Will I be able to ssh into the docker workspace?
Cause I am trying to imement it using ansible. So I tried using an ec2 instead
32 replies
CCoder.com
•Created by Gouda on 4/29/2024 in #help
Coder AWS EC2 (Linux) template not working for me :/
Did anyone faced this error before, or know what causes this problem
So far I still do not know what caused this error, all it says that the workspace is unhealthy :PandaSad:
32 replies