Coder.com

C

Coder.com

Join the community to ask questions about Coder.com and get answers from other members.

Join

mysql connection error

why i cannot connect to mysql in dockers coder@ErpDemo:~/ERP-ULTRA$ mysql -u root ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)...

Java Spring Boot access service?

Hi I am very very new to Coder... I built and deployed a Java Spring Boot app using Dev Container template and VSCode. I have started the service but cannot access it using localhost:8080 (same as when running Intellij locally). How can I expose the service so I can access it and test that it is running? I also tried the url 'Open in browser' from vs-server and it also did not work....

Kasm + Kubernates Deployment Problems

Hi, I use Kubernates Deployment template and wanted to add https://registry.coder.com/modules/kasmvnc did what it says just edit agent id but still having issue. ``` module "kasmvnc" { count = data.coder_workspace.me.start_count...

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
Next