Coder.com

C

Coder.com

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

Join

USBIP Dev Kit Tunnel for Embedded SW Dev

I'm evaluating if I can use a CDE for embedded SW dev. For this, I want to forward a locally connected dev kit into a Coder workspace. Testing with standard STM32F4 eval board connected via USB. So far so good, but right now I'm stuck because I don't know if this is a Coder/USBIP/PICNIC error usbip: error: import device. Does anybody know? Locally installed and run Coder in WSL2 on Windows. USBIP kernel space drivers are included in WSL2 kernel, corresponding user space tools are alternatives: ```...

git clone using https does not work in an rstudio environment

I am creating an rstudio docker container, I can get git clone via ssh to work by copying over the relevant env vars to a .Renviron file in the use home dir. If I start the same workspace with code-server I can immediately clone a repo from the gitlab server that I have set up with external auth. I cannot however do the same if I start this workspace in the context of R studio. I instead am asked to add the username and password. Any help would be greatly appreciated...

Devcontainer with GPU access

Here’s a message you can use for Discord: --- Hi everyone, ...

Workspaces are constantly disconnecting from the Server

Hi everyone 🙂 We're facing issues with our Coder deployment, hosted in a corporate network. We've been getting a lot of reports from users facing disconnections. We've tried some things - the most useful one was disabling STUN servers - but no solution seems to stick. I'm attaching today's latency issues from Grafana, a screenshot from the health DERP page and the health endpoint response....
No description

button leads to discord invite

Hello can anyone help me im trying to make a button that opens an invite to a discord server (winforms C# .net framework)

Git commit still uses the email from my Coder account

Previous context: https://discord.com/channels/747933592273027093/971231372373033030/1302557051834339368 Hello! I have removed the env values concerning Git in my template: ```tf These environment variables allow you to make Git commits right away after creating a...

"main.tf line 167"

Good evening all! I'm completely new to Coder and I was following the quickstart instructions at https://coder.com/docs/tutorials/quickstart for a Windows 11 Home machine. I got both Coder and Docker installed on my machine, but when I try to Build a workspace I get this error:...

Single Coder server instance crashing with 20ish or so workspaces

We have been giving Coder a trial and have seen really great improvements to DX. But we did run into an issue with 20 or so workspaces running seemingly crashed the server instance. @Théo asked to upload some info we found regarding the issue. From working with our Platform Engineer, here's what we can share:...
No description

Code market place setup

Hello, I would like to setup code market place, does some how have a poc for the tls reverse proxy ? I'm not really sure how to start.. Thanks...

delete a workspace from cli fails when it was created on behalf of another user

To manage a workshop, I wrote some script to create and delete the proper number of users and workspaces. I had no issue to create the workspace on behalf of each user like this: ``` echo "Please input the number of users you want to create:" read number...

Multitenancy with Coder

Hi, I hope this question isn't as silly as my last one was. 😊 I read in the docs, that to allow for the usage of secrets other Terraform providers would need to access external APIs with, I'd need to start up the Coder pod (in k8s scenario), with the secrets already loaded as environment variables. (Do correct me if I am wrong!)...

different behaviour between desktop VSCode and code-server using gradio app

In the context of a workshop, I'll be using a piece of code involving a gradio app. The minimal code I have with the issue is the following: ``` import gradio as gr...
No description

Uniqueness in workspace naming

Are workspace names unique or rather do they enforce uniqueness? I guess I could test this. But, I figured I'd be lazy and just ask. 😛

Is there a way to have a number of coder_agents defined from a single resource block?

I'm looking to have something like the following so that I can define an arbitrary number of nodes and have all of them report their stats in the Coder page. When I do this, I get errors related to duplicate resource definitions. One such example is error: template import provision for start: duplicate metadata resource: libvirt_domain.node Full template's source can be found here. Is something like this possible, or am I going to have to figure out a different way to go about this? ```...

VSCode Desktop hangs after workspace update

Using VSCode on my Windows Desktop, conntected to Coder running on a Linux Docker. After a change in the Dockerfile of my rust environment in the Coder template, I am always unable to reconnect with VSC Desktop, after applying that update to the coresponding workspace. Failed to set up dynamic port forwarding connection over SSH to the VS Code Server. I don't really understand what this is supposed to tell me, since I didnt setup SSH with Coder, only HTTP(S). Is this a known issue or should i...

Coder on Windows

Running coder server on Windows results in Postgres errors: ``` 2024-11-09 20:58:52.203 [erro] coderd.dbrollup: failed to rollup data ... error= execute transaction: github.com/coder/coder/v2/coderd/database.(*sqlQuerier).runTx...

Bug with local exec in a module

Local exec works fine in terraform script in root, but once it is in any module, it is throwing weird errors. To reproduce this issue create following template: |main.tf |/module/main.tf ```...
No description

Unable to create/delete workspace -- text file busy

Whenever I try to create or delete a workspace in my self-hosted Coder, I get this error: ``` Initializing the backend... Initializing provider plugins......
No description

Save template with failing build

Hi, would it be possible to add some option of saving a template even though the build is failing? When working on some changes I want to be able to back them up to be able to work on them next day for example.

Build devcontainer from hostPath and not git repo - Coder in k8s

Hello, I supposed that this is highly unusual and it's not going to be possible but: we have a NFS storage mounted to every k8s node which is then passed as a hostPath to pods. Users have .devcontainer in .gitignore becuase everyone uses different config and devs don't want to use one, universal devcontainer per project. Is it possible to build and open devcontainer from a given path to envbuilder instead of a git repository?
Next