Coder.com

C

Coder.com

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

Join

Access Workspace Web does not work with returning Code 302

Hi all, I'm trying to setup sagemath with jupyter. I got everything running and sage -n jupyter via supervisord in the background and an access via the main.tf file, but jupyter returns a 302 to the location /tree? and it seems the code-server passes that 302 towards the users freshly opened browser window resulting in the browser to got to coder.domain.com/tree? which returns a 404. How can i tell coder to follow redirects, before returning the response to the user?

Cannot change namespace value for Devcontainer in K8s

Hi, I have deployed Coder from helm chart in my cluster in specific "coder" namespace I'm facing issue when creating devcontainer workspace. Really need help. I also mounted kubeconfig file to /home/coder/.kube by and I'm sure content in it is correct. Then I created a template by choosing Devcontainers (Kubernetes) stater template....

cant creat workspaces

when I creat workspaces always waiting.I don't know why
No description

Air-gapped Coder VS Code Desktop - Failed to download VS Code Server

As title says, could not get Coder to work with VS Code desktop in an air gapped network, VS Code look for a server cli and tries to go online to https://update.code.visualstudio.com/comit:.../cli-alpine-x64/stable...

Workspace unhealthy + Advise on big picture

This is my for setting template on gcp vm - when i manually create workspace in the UI, it says, Agent is unhealthy Big picture 1. I want to provision repos (both public repos and private repos that I have with me) to developers when they click a button in my platform UI...

`oauth2-proxy` allow proxied authentication

I am currently using Azure AD as an OAuth provider but am aggregating my deployment's need for user authentication (including Coder and other apps) by authenticating once via oauth2-proxy. However, according to Coder docs, auth via proxy is not yet supported. I am not yet familiar with Coder's source code but am willing to pitch in to this as a feature. Is header-based or proxied auth already included i...

`coder_agent` METADATA not working in Coder API

When using coder agent metadata, the behaviour is correct in the UI (the value is displayed based on the script definition), but when calling curl -X GET http://coder-server:8080/api/v2/users/{user}/workspace/{workspacename} . The instance that has the agent assigned has a json parameter agents , but there is no corresponding metadata to the one defined in the coder agent. How to access coder agent metadata?

Creating a JupyterLab instance

It might be simple, but I can't get a JupyterLab instance going. The goal is to spin up an AWS EC2 instance. I can do that with VSCode without issue. I add the module from here but get a few errors on launch - https://registry.coder.com/modules/jupyterlab ...

Several Questions/Problems Regarding JetBrains Rider with Coder

Hello! I setup Coder via Portainer with this compose file https://pastebin.com/dWw8fzGW. I created a docker compose template and then on that I made a new workspace for testing purposes since this is the first time I have used Coder. From there, I wanted to use JetBrains Rider to connect to coder so I used JetBrains Gateway and used the Coder plugin and connected to the workspace and all is good. I obviously now want to make a solution for my app and going into new solutions in Rider brings up t...
No description

One Kubernetes cluster for Coder and one for the workspaces: how do I specify the ~/.kube/config for

My first battlefield experience with Coder does not went as I expected, but mainly my fault. In all what I need to figure out, we are going to try to have 2 separate Kubernetes cluster: - one will be hosting Coder itself - one for all the workspaces...

Older workspace no longer working

I went to fire up an older workspace and I seem to have issues with it. My first issue was I was installing an older version of Coder for the agent (the version was fixed for some reason). Now my workspace is running (in k8s), but when VSCode tries to set the remote connection, I get this error:...
No description

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

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