Coder.com

C

Coder.com

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

Join

Stopping a workspace via API endpoints

I would like to know if stopping a workspace using Coder API is possible.

Is it normal that `context.secrets.store` is dropping secrets on developer window reload?

Taking a stab at writing an extension, and decided to store an API token for my extension in context.secrets.store but I noticed that it isn't there anymore in the browser that did Developer: Reload Window. Am I supposed to use something else for persistent secret storage or just not do Developer: Reload Window?

Enteprise Licence Pricing

I was wondering if there is anywhere I can find the pricing details for the enterprise licence to unlock the premium features. I had a look through the website but could not seem to locate this information. I hope the pricing model is transparent and not based on the typical enterprise approach of "let us know your budget, and we’ll let you know the cost." Many thanks in advance for your help....

Docker in Docker on envbuilder has permission issues on non-root user Devcontainers.

Hi all, I was able to run native Coder on my Linux machine, and everything is now working. My question is just that when I use Envbuilder to build devcontainer, the docker socket runs properly, but I can't seem to apply the necessary Docker permissions on the coder user, only the root has access to docker CLI. I am using sysbox, my resource "docker_container" contains ```{ ......

SCP for coder instance?

I am a new coder user, just trying to get the OSS version set up for our org to try it out. One thing that I would like to do is to SCP a file to/from the coder instance. I know there is the coder ssh tool in the CLI, but this of course does not quite accomplish what I'd like - to be able to contact my coder instance via the default scp and ssh binaries on my machine. What is the best approach here?

EWS01: websocket dial: failed to WebSocket dial: failed to send handshake request

I'm having this error. I already setup self signed certificate, cluster issuer and using below values. But still having the issue. Using k3s, it able to create pods but sockets are having trouble due to tls.
EWS01: websocket dial: failed to WebSocket dial: failed to send handshake request: Get "https://coder.lab.dttdata.com/api/v2/debug/ws": tls: failed to verify certificate: x509: certificate is valid for dc5503177ca435d680300ed475c2fda7.162e42cad00d0384ec662ce16b45b7d9.traefik.default, not coder.lab.dttdata.com
...

Health check behind Cloudflare Zero Trust

Hello,
netcheck: measuring HTTP(S) latency of coder (999): Get "https://woo.cloudflareaccess.com/cdn-cgi/access/login/mycool.domain?kid=475fa3b3af1772616cd8a7b9ffc1fca94481a0fe8e1c234996e9ace1e4739708&redirect_url=%2Fderp%2Flatency-check&meta=eyJraWQ...gibberish...yCnF96Akl1XC2V18ug": only one conn expectednetcheck: [v1] report: udp=true v6=false v6os=true mapvarydest=false hair= portmap= v4a=myip:37822 derp=0
netcheck: measuring HTTP(S) latency of coder (999): Get "https://woo.cloudflareaccess.com/cdn-cgi/access/login/mycool.domain?kid=475fa3b3af1772616cd8a7b9ffc1fca94481a0fe8e1c234996e9ace1e4739708&redirect_url=%2Fderp%2Flatency-check&meta=eyJraWQ...gibberish...yCnF96Akl1XC2V18ug": only one conn expectednetcheck: [v1] report: udp=true v6=false v6os=true mapvarydest=false hair= portmap= v4a=myip:37822 derp=0
...

Occasional freeze with many docker workspaces on 1 big machine

Ok so I think I got myself into trouble with https://pad.ws Here's my very naïve setup: I run Coder on a single machine with docker compose, 125GiB and 32cpu as you can see in the screenshot At the time i'm writing this, there is 160+ workspaces (75 currently running)...
No description

Does the Jetbrains Gateway module only support AMD64 hosts?

When we try to use the Jetbrains Gateway module on an ARM64/AARCH64 host, the client hangs and we get this error inf the jetbrains stderr.log file on the worker: /home/coder/.cache/JetBrains/RemoteDev/dist/PY-251.23774.444/bin/remote-dev-server.sh: 80: /home/coder/.cache/JetBrains/RemoteDev/dist/PY-251.23774.444/bin/remote-dev-server: Exec format error It works OK on AMD64. Is this a known issue?...

The provider coder/coder does not support data source "coder_git_auth".

hi, i added github similar to the docs but getting the following error when pushing the template. ```sh 2025-04-17 14:52:35.713+02:00 Error: Invalid data source...

jfrog oauth not working

Hey I am trying to setup an external auth config for artifactory. I’ve been following the docs here. https://coder.com/docs/admin/integrations/jfrog-artifactory I have set the following for my coder deployment ...
Solution:
Ahhh never mind I found the issue, in the jfrog integration config the callback url was referencing our prod instance not staging. Silly me.

I'm using traefik to handle ssl for coder - will this create any security issues?

Is there anything else that I should pay attention to? I've attached docker compose for the containers running on my server.

performance local hosted version

At our office we are trying to get a local server setup for a a couple of devs to use. We are however having a lot of performance issues when we are trying to run our development environment. When using npm run dev our performance is not acceptable. We are suspecting it might be because of the cpu's single thread performance. Does coder have any recommended CPU's or other hardware requirements to run the workloads smoothly? Thank you in advance....
Solution:
It's only specifically an issue when running npm run dev. After further investigation we saw our CPU is bad at single threaded workloads which the npm run dev is. When testing it on a system with a different cpu with higher single thread performance

if there a way to limit resource usage for each workspace?

for example, workspace can only use 10 cores and 16 GB max, etc.

can't find "write coder on coder" template

hi, i just found about coder and super excited to try it out. i want to use the coding agent feature. i am following the tutorial on https://coder.com/docs/ai-coder/create-template but i can't see the "write coder on coder" template in my local setup to duplicate. what am i missing?...
No description

Help deploying Coder in offline/internal network with external domain & SSL (behind uni IT proxy)

Hi yall, I'm trying to deploy Coder in a university lab environment for my prof, but I'm running into challenges due to network restrictions and proxy handling by the university's IT department. ⚙️ Goal...

newbie question :)

hello all! so i setup a self-hosted instance of coder. I am using the out of the box docker devcontainer workspace template. I chose the custom url which points to my personal github repository. I followed the guide where I needed to create a github oauth app. I got the callback url, client secret id and client id setup as env vars to the systemd service running coder. how do I provide my git credentials to the workspace? however, when i launct he worksspace i get this error...

How to use External Auth to pull down Github NPM packages?

HI! I'm experimenting with Coder right now how it hooks up with Github. I've got it connected into Github for user-authentication, as well as configured for external auth. We can spin up a workspace that checks out code using the github_token returned by the auth, and we've verified that the token then has access to other repositories that the user has access to. So far so good. Where we're struggling now is using the same token to access Github's package repository (NPM). Here's what we've done so far: 1. Made sure the Github App has read:packages permissions....

how do I get in touch with enterprise sales? email doesn't seem to work.

I am trying to buy an enterprise license but can't seem to reach anyone.