Coder.com

C

Coder.com

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

Join

error persistently

First of all, good day friends, it gives an error like this, how can I solve it, a friend of mine made a suggestion, but it didn't happen again <hr style="width: 300px; margin-left: 150px;"> how can I do it
No description

Missing "Open ports" feature

Hi, I tried coder in CLI mode to test, and it worked well. I switched to the docker version (the one I intend to use), and noticed the absence of the "Open ports" function.. Could be related: the console shows a error GET http://coder.internal/api/v2/integrations/jfrog/xray-scan?workspace_id=65029a0a-7d95-40f5-8b75-28ac22040c02&agent_id=8c885cdb-cb78-4d6f-acba-d74d6957642a 404 (Not Found), the response to which is {"message": "Route not found."}. ...
Solution:
you are missing the wildcard URL definitions (CODER_WILCARD_ACCESS_URL environment variable)

Devcontainer Failed to Clone Github Private Repo

I am trying to setup workspaces by using devcontainer templates found in: https://github.com/coder/coder/blob/main/examples/templates/devcontainer-docker/main.tf I have also setup Github external authentication as mentioned here: https://coder.com/docs/@6b5f959/admin/git-providers During the workspace creation the authentication with GitHub is also valid....
No description

Setup Coder in locked VLAN

I have tested Coder on AWS EC2 instance and it works great. I am a high school CS teacher and my lab is on a VLAN. The school Board has blocked all ports except 433 (https) going out and everything coming in. The problem I am having is when I start up Coder it goes out https and creates an external access URL....

Jetbrains Toolbox stuck on waiting for backend

Hello so I'm trying to use jetbrains toolbox and self hosted coder(on docker) on the main.tf i added this part: module "jetbrains_gateway" {...
No description

Run docker build inside workspace

Hello, I'm deploying coder user kubernetes. I need to build a docker image and push it to a private registry. Is it possible to run docker build inside of a workspace?

vscode-web module is still resetting Copilot credentials.

I was able to set up the CODER_WILDCARD_ACCESS_URL and use vscode-web with a subdomain set on my DNS. This, however, has not fixed the issue of my Copilot extension from asking for Github credentials every time I use vscode-web after having it idle for a while. Specifically for my use case, I’m using vscode-web on an iPad and have it saved on my home screen. I’m guessing the connection is being reset. Any ideas on what I can try to save my Github creds so I don’t have to allow vscode-web ever...

Docker Devcontainer Template Broken?

So I'm using the Devcontainer template from https://registry.coder.com/templates/devcontainer-docker (slightly customized to add a cache), and every single workspace start just gets completely hung on volume creation step and refuses to move forward from there. Coder is deployed locally via Docker compose, and just to make sure reading through the docks as privileged mode turned on. Running the envbuilder locally (same internet connection and VM) with all the correct parameters works perfectly fine. And takes just a couple minutes without the cache, and like 30 seconds with cache. And Github CodeSpaces also works. So I just don't understand what is broken at this point....

Hashed password not being asked for

Good morning, There is a 99% chance that I have just set this up wrong, however I have not been able to find any youtube videos or previous posts clarifying where I am going wrong. I created the docker-compose.yml file ```yaml --- services:...

Access url is throwing a cert error

I have coder deployed using helm on a k3s cluster. I also have a self signed CA which is needed to authenticate requests to https://coder.lan values.yaml files: ```YAML coder:...
Solution:
found the solution to the issue: ```YAML coder: certs: secrets:...

Create a dedicated workspace for each user

I am investigating to see if I would be able to replace Gitpod with Coder for my workshop needs. A first test for me can be a conference I have from 8 to 10th July. I have a workshop with something like 20 attendees. ...

create my first custom image

Now that I have a running coder in my Kube and tested it with base template, I need to customize it to fit my usage. I was previously using Gitpod for this and I already have a docker image and it is pushed in my registry. but I always end with workspaces: ```Workspace is unhealthy...

How to increase size of workspace volume?

Hey, all. Home user here, loving Coder so far. I'm cloning a monorepo into my workspace which is quite large. When I install all the dependencies and build, I run out of space. Host is a Mac running Docker Desktop....
Solution:
actually it seems now you can extend the virtual disk's size ! https://stackoverflow.com/a/48561621...

set template description ( the name the users see when creating )

Hi, We moved all template / image creation and mgmt to Gitlab. One issue though - how do we set the display name the users see when creating the template when pushing it for the first time ? I cant see a parameter for that in the cli ?...

Automation for importing the .code-profile inside terraform template

Hello, I have created a workspace using available kubernetes template on coder server. Now I am able to connect to the workspace, But I want an existing .code-profile to be imported inside my workspace. I understand that the terraform templates in coder can be modified, however is there any way to modify the template in such a way that whenever a workspace is created using that template, automatically the profile gets loaded within that workspace.

Sync local file into coder workspace

We are trying to setup coder for our RoR project, for this project we setup our secrets using onePassword for every environment. The way it works is we populate using onePassword an .env.docker file, we would love to automatically sync our local .env.docker file with the coder one, is this possible? 🤔 This way we prevent installing onePassword CLI on coder machine

Troubleshooting steps for SCIM

From @mark - https://discord.com/channels/747933592273027093/971231372373033030/1250830381255495783 --- Are there any troubleshooting steps for SCIM integration (presumably) performing wonky actions like randomly suspending my Coder users? It seems every day around 4--5% of my users are getting suspended and there's no cause given in the audit log....

Coder envbuilder container starts logging 401 errors when using "Update" option

I am seeing an issue where when I use the "Update" option in the coder dashboard after a template change, the coder process get stuck in this state, where it gets 401 errors trying to talk to the coder agent URL. The issue is resolved by using the "Restart" option instead. ``` 2024-06-12 19:43:20.920 [info] connecting to coderd 2024-06-12 19:43:20.934 [warn] run exited with error ... error= GET https://coder.example.com/api/v2/workspaceagents/me/rpc?version=2.1: unexpected status code 401: unexpected non-JSON response "": Try logging in using 'coder login'....

Not releasing the memory after Terraform task completed

Hi, I've noticed high memory usage after starting a workspace or updating the template. Typically, it only takes around 100MB, but the memory usage spikes and persists when performing such tasks. I expect the memory usage to decrease after an interval with no further activity. However, it seems Coder does not intend to release this memory, and I often have to restart Coder to release them. Besides, it uses ~300MB even after I have restarted Coder. Maybe it is because of the code-server or the JetBrains gateway?...
No description

Persisting container state across workspace restarts

I am working on setting up development environments with envbuilder, and I would like to emulate the behavior of GitHub Codespaces, where a container is only re-created during a "rebuild" which is distinct from a "restart" in their system. The motivation for this is to persist dotfiles changes that the user may have made. Is there a way to do this? I've been through https://coder.com/docs/templates/resource-persistence and tried disabling the "count" parameter on the coder_agent terraform resource in the template, but the container is still being re-created....