Coder.com

C

Coder.com

Community server for Coder.com, an open-source platform for cloud development environments.

Join

help

📢︱announcements

Unable to verify first certificate

Hello, In our setup we use self signed certificates. Accessing the web-ui works fine and also workspaces are built as well. The issue is when we try to authenticate with the vs-code plugin, we receive the error from the image. Even if we select the insecure option the error persists. Attached you can see the settings we use....
No description

Active workspace metrics via prometheus

We are unfortunately not using k8s for our current coder deployment, and I already looked at the observability repo here: https://github.com/coder/observability/tree/main?tab=readme-ov-file and found that many of the dashboards there are strongly tied to k8s metrics on top of the prometheus metrics from coder. I would like to display on a dashboard the current active workspaces, however, this does not seem possible with the current prometheus metrics, maybe I'm wrong.. Has anyone figured out a way to reliably display the current "running" workspace count, purely with the coder prometheus metrics?...

Unable to start workspaces due to http 500 errors from registry.coder.com

We are suddenly getting the errors below when trying to start workspaces (with Coder V2.13.4) Does anyone know what's going on? ``` Error: Error accessing remote module registry...

Memory and CPU limitations do not apply in NOMAD

main.tf (image: NOMAD set up with 1 core and 1 gb)...
No description

Is is possible to have control policies when using Github or GitLab authentication?

I’m in the process to replace Gitpod with a self hosted Coder installation. The setup went well and I wrote an article about it. Now, to have a more comfortable way to handle the workshop, I need to allow attendees to connect and have a workspace the easiest way. Currently, I just have to give them the workshop repository on GitLab or Github with the proper Gitpod configuration file. To do that with Coder, I need several things. The first one, is a way to allow them to connect to my Coder with an account they already have....

EACS03: get healthz endpoint: tls: failed to verify certificate: x509:

From what I see, I am getting these certificate errors due to them being made for 127.0.0.1 rather than 192.168.0.81. (I am not able to use Tunneling due to firewall restrictions.) In a likely related note, I am unable to use workspaces as they become unhealthy/unresponsive. Any ideas would be greately appreciated....
No description

Docker in Docker with sysbox cant find the deamon

Hello, I have installed coder with docker-compose. Also installed sysbox on the host that coder runs. I am trying to get docker to work inside the docker container but i get cannot connect to the docker daemon at unix:///var/run/docker.sock. is the docker daemon running? My dockerfile is the following:...

[warn] net.devtunnel: periodically re-register tunnel

I'm attempting to set up coder (via docker) for a class, and I get an error when trying to connect to the URL provided. Interestingly, it manages to get the tunnel URL in 0ms.
No description

Tailscale in workspace

Error: process "/bin/sh -c sudo tailscaled & sudo tailscale up --authkey=tskey-auth-kruFRdH1Cn1-pfp --tun=userspace-networking --outbound-http-proxy-listen=localhost:3128 --web" did not complete successfully: exit code: 1 on main.tf line 167, in resource "docker_image" "main": 167: resource "docker_image" "main" {...
No description

Devcontainer template fails to pull private repo, ssh-agent not available

``` envbuilder v1.0.0-rc.6+23d086e - Build development environments from repositories in a container #1: 🔑 Using SSH authentication! #1: 🔑 No SSH key found, falling back to agent! #1: ❌ Failed to connect to SSH agent: error creating SSH agent: "SSH agent requested but SSH_AUTH_SOCK not-specified"...

Golang Template

Hi there, does anyone have a golang template with go version 1.22 or 1.23? The base golang image from coder has a too old version for me and I haven't figured out yet how to install a newer version in the coder workspace Thanks in advance!...

No port-forwarding in the web UI

(from @DuckyDev in #general)

Is this an anti-pattern for coder?

I’m exploring Coder for my team members and I’m wondering if creating a docker template that install Postgres and Redis would be an anti-pattern mainly because of the infrastructures required to run the services.

Use custom install Script as Terraform Resource

Hi, I want to create my own template containing some custom installs. The base template is Docker Container and I want to extend it. Now I am unsure if I should use the Dockerfile to do the installations or if I should use a Terraform Resource. I want to place the instructions in a .sh file executed as the current workspace user with the home dir as the workdir.

deploying void in coder-server

I just found this new vscode fork called void and wondering if we can deploy void as code editor using code server

aws_ecr_repository auth error on EC2 envbuilder

``` resource "aws_ecr_repository" "cache_repo" { name = "coder-${data.coder_workspace.me.id}-${data.coder_workspace.me.name}-cache" tags = { Coder_Provisioned = "true"...
Solution:
```tf resource "aws_ecr_repository" "cache_repo" { name = "coder-${data.coder_workspace.me.id}-${data.coder_workspace.me.name}-cache" tags = {...

AWS EC2 (Devcontainer) fails with custom repo

Replacing the starting repo withhttps://github.com/KyleDavisDev-Preply/build-tools/commit/0ada6f0b3c28ad46fb570d3394d551eda34641b8 causes the coder agent to fail. The logs freeze at step 2 taking a snapshot... then everything becomes unresponsive till it becomes unhealthy....

Cant write in code-server

Hey, I recently updated to ipadOS 18 and now I can write for about around 30 seconds but after that it freezes (I cant write anything else or move the cursor using the keyboard. Clicking to set the cursor works. I can open a new tab and I can write there. Only in code-server).

what url callback in external auth ?

i already create my template with external auth with self-hosted gitea to clone my code , and i create clinet_id with callback url with /login/oauth/authorize , after i login in gitea url it still on the same page and my template still disabled i dont have any idea with callback is ? should i need to redirect to my workspace url or something else ?...

AWS ECS?

Hi, is it possible to run coder's control plane in ECS, and have it provision using Ec2?