Coder.com

C

Coder.com

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

Join

Coder-app share level not respected when using wildcard access URL

Hey all - Thanks for all the thoughtfulness around port forwarding/sharing. We have a use case where we share code-server publicly via #4378 and it works well - we were able to view forwarded ports via path publicly....

GUI Application Development

Is it possible for a coder workspace to be set up to support development of apps that use a GUI? Things such as JavaFX, PyQT and other toolkits for GUI development....

workspace for developing react

I have a self hosted coder instance running on my personal server that I access from behind a wireguard vpn. the source code for my workspace is this: when I run the react app using the “npm run dev” command, coder opens another tab that gives me a “bad 502 gateway” error. how can I troubleshoot this?...

Copying from Coder host to Docker Template

Hey all, I'm trying to build a docker image on the coder host dynamically (unfortunately, I cannot use another external platform due to license issues). The problem is, that the installer has severy GBs, so it's too large to put it next to the Dockerfile. I tried to overcome this by copying the installer from the host's filesystem with "COPY" in docker, but appearently the file cannot be found. Can anyone help me with that?...

Public local host

#help Hi all, I am a newbie. When I install Coder based on https://coder.com/docs/install. in my Ubuntu PC. Everything is ok, I can create my template with docker in a local host ( 127.0.0.0.3000). Now I want to publicize this local host on the server so my friends can access it. Does Everyone have an idea or document to handle it? Could you share it with me? Thank you and best regards, bung bu...
Solution:
You may now consider us in Ng a reverse proxy to expose the local port 127.0.0.1:3000 to your Network. See these three guides. https://coder.com/docs/admin/configure#tls--reverse-proxy...

Updated Coder version and now I’m getting database errors with Docker Compose

Earlier this week I got a message that Coder had a new version. I upgraded and now I’m getting an error when running the docker compose. It’s showing that the user authentication for the DB failed. Tried looking for existing discussions on this issue but could not find anything. How should I fix the DB connection?
No description

GCP VMs fail to start sporadically with "desired_status can only accept RUNNING value" error

We are using Coder to manager GCP VMs with devcontainers, and occasionally the machine will get into a state where it is unable to start, getting the following terraform error: ``` Error: When creating an instance, desired_status can only accept RUNNING value on main.tf line 334, in resource "google_compute_instance" "vm": 334: resource "google_compute_instance" "vm" {...

My rpi 3 code-server only runs when I access the config file (sudo nano config.yaml)

Only after I ssh into my pi, and "sudo nano config.yaml" the address works...

Configuring Coder to work with multiple external urls

The main configuration for coder only allows specifying a single access url or wildcard access url. Is it possible to configure for it to work with multiple external urls? The main use case is that we have the main coder url at https://coder.somecompany.local and we want to make coder available to another group of users living in a different network segment where the access is through a different reverse proxy at https://coder.specialgroup.local and the only access is browser only (no direct connection) In addition, how do we also make this work with dashboard based port forwarded apps, which requires the use of wildcard access url instead?...

api/v2/templates Route not found

Hello, I am trying to use this API endpoint (api/v2/templates) that is listed in the documentation (https://coder.com/docs/api/templates#get-all-templates) but I receive the error "Route not found". Is this endpoint exclusive to the enterprise license ?

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