Coder.com

C

Coder.com

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

Join

web terminal font, want to change

I have just created a fresh Debian 12 instance and loaded Coder on it. Then created a standard “docker” template and opened it up in the provided web terminal. The font that is being used is “DejaVu Sans”. How do I change the web terminal to use a different font; I want to use a Nerd Font. Thanks...

ENVBUILDER_CACHE_REPO is always empty

Hi, I'm not sure what I'm doing wrong but ENVBUILDER_CACHE_REPO always remains empty in the env of the pod, even after multiple restarts. Here are some snippets of my config. LMK if you need more of my configuration and I will provide. I'm using latest versions of coder/coder, hashicorp/kubernetes and coder/envbuilder providers. Envbuilder image is on 1.0.3. Thanks in advance guys 🙂 Otherwise, it works perfectly ```json locals { ... envbuilder_env = {...

Clicking 'Restart' on Unhealthy Coder Agent Stops Workspace Instead of Restarting

When the 'Restart' button is clicked while the Coder agent is marked as unhealthy, the workspace is stopped instead of restarting as expected.

Can't delete a workspace which uses devcontainers

I created a new workspace using Docker DevContainers, but I'm unable to delete the workspace. It's throwing an error that says: Error: Unable to remove Docker image: Error response from daemon: conflict: unable to remove repository reference "ghcr.io/coder/envbuilder:latest" (must force) - container d5711f770661 is using its referenced image 6d1d6302ce48....

Virtual Keyboard opens all the time

Hello Everyone ! I installed code-server on one of my machines to work remotely on my tablet. So far everything works, except when i am on code-server (tablet-side) on Google Chrome. As soon as i click on a button (eg : open the File Explorer) or when i slide to go down my code, it opens my tablet keyboard, wich become quickly unpleasant. Has anyone already had this problem ? And solved it ?...

I am trying to setup Git Auth with Coder Envbuilder

I'm trying to set up GitHub authentication with Coder's Envbuilder, but I'm a bit lost when it comes to configuring Terraform. Here's what I've done so far:
I briefly looked at the .tf file and placed the coder_external_auth block below the coder_workspace_owner. ...

KasmVNC in coder not working with my personalized template

Hi, First, good job on coder, it is a very nice tool. About the error. I have coder installed in a Kubernetes cluster k3s with traefik. Using this template https://github.com/sharkymark/v2-templates/tree/main/src/pod-idea-vnc I access correctly the VNC client trough the browser. ...
No description

Intellij does not accept workspace

Hi, I am at the very beginning of evaluating Coder. I am using IDEA version 2024.2.1 with Coder Plugin version 2.14.2 on Windows 11 and have Coder version v2.15.0+190cd1c installed in a very rudimentary way on Debian 12, with a simple workspace created. When I want to start remote development with Coder, the created workspaces are displayed, but the "select IDE and project" button is inactive. Which step did I miss in the installation instructions? Thx
No description

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!...