Coder.com

C

Coder.com

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

Join

failed to WebSocket dial: failed to send handshake request on private EKS

I have a private EKS cluster with cert-manager and DNS installed on the cluster. Attached are my test files. I exec inside the pod with a kubectl exec command. Once I'm inside the pod I log into coder with the coder login command. From there I pull, modify, and push my template. When I run the coder template push command I get the following error: coder template push -y === ✔ Queued [0ms] ==> ⧗ Running...

Intercept builds via API

Is there any way we can intercept builds via API and cancel them before provisioning resources? I saw in the premium that we can set quotas. Thanks...

Jupyterlab how to

I used ``` module "jupyterlab" { count = data.coder_workspace.me.start_count...
No description

custom image with desktop and kasmvnc

hi all, i am student at 42 Mulhouse (france), i was trying coder for maybe add it on our campus. the goal was to deliver desktop at demand for students i have success install coder on our talos cluster, and i can open vscode on a basic kubernetes template. someone can put me on the right way to get a debian or ubuntu with a desktop manager and kasmvnc access or a tutorial to build my own image ( stored on our harbor)...

Users redirected to Login page periodically...

Using Github as our auth, we're seeing that there is some randomness to when users are redirected to the login page. Sometimes it will be tens of minutes after they logged in last, and othertimes they'll be logged in for a day. We also see them get the login page any time there is any kind of intermittent error in the coder backend. I'd like to have some more predictabiliity here... what can we do to tune the length of our developer login sessions and improve their resilience?...

Gitlab external auth

Hi folks, need some help with my setup. Here are the details. - Running in GKE on GCP - Running helm via TF (chart version 16.6.6, latest coder image) - Gitlab.com as my external auth...

start Coder with docker port forwarding

Hello, I started coder in docker, and made the docker template , started 1 workspace with it. I started the dev server, but can't access the url via the browser while working in the vscode in the browserof the coder workspace. Can I get some help please?...

port forwarding in docker version

how can i use the port forwarding in docker version

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
Next