Coder.com

C

Coder.com

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

Join

Coder Login error

I get this when I do coder login on windows, And I get this on the coder side when it tries to load a browser.....

Make GIT_SSH_COMMAND envvar optional

Is it possible to make the setting of GIT_SSH_COMMAND optional? We have a product setup with a lot of repositories that need to be checked out if someone starts developing. As an optimization, we use the following ssh-command in git:
core.sshcommand=ssh -o ControlMaster=auto -o ControlPath="/build/.ssh/ssh-%r@%h:%p" -o ControlPersist=60 -o BatchMode=yes
core.sshcommand=ssh -o ControlMaster=auto -o ControlPath="/build/.ssh/ssh-%r@%h:%p" -o ControlPersist=60 -o BatchMode=yes
...

logout ends up on sub-sub-domain

When I log out of coder, it ends up going to a URL that looks like this: https://coder-logout.mysubdomain.mydomain.io/api/logout?redirect_uri=https%3A%2F%2Fcode.mydomain.io%2Flogin The coder-logout sub-sub-domain isn't necessary, is it? Any way to stop this?...

Coder templates create fail

I deploy coder in kubernetes but appear error when I create a template, please help, thx
No description

cannot create workspace using docker-image-builds

During workspace creation using docker-image-builds template I'm getting this issue: Error: failed to solve with frontend dockerfile.v0: failed to create LLB definition: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed...

No Coder Logs

Taking this over from general. What I want to do: Monitor Coder Web Logins with fail2ban just to be sure, but I can't find the logs anywhere. System: Debian Bullseye, Coder running as Systemd Service. Nothing else is running on the system despite what's neccessary for coder itself and standard system tools like ssh server. ...

Launching Coder Crashes (Terraform error)

I have attached a screenshot of the log.
No description

Port ForwardingSSL issues

Hey everyone, I just ran into an issue with port forwarding using the coder WebUI. When I try to open a website using port forwarding on port 443 I only get
The plain HTTP request was sent to HTTPS port
The plain HTTP request was sent to HTTPS port
- Apparently it always uses http instead of https? I also tried to use the CLI port forward, but of course this leads to an SSL error as the domain names don't match. Basically what I want is to access the website that is being developed inside the workspace with https, not http. ...

[git auth] Private repo from github org not found

Hello! I've noticed that i can't clone private repo from github organizations i'm in. It says not found, but i can clone my own private repo easily. Is it the default behavior and if yes, how can i bypass it? ...

SSH in k8s install not working

Hi, I've gotten coder working in my k8s cluster, which is an experimental cluster on a number of VPSes. I can connect to it/ log in via the access URL I've created (i.e. coder.atsomedomain.com) and via the CLI I have installed locally. I've uploaded a template and can create a workspace. However, the port forward URL and SSH aren't working. The SSH connection times out it seems. I've read through a ton of issues and threads here and I believe this might be an issue with how I have ingress set up. My initial question is, can someone explain how the connectivity is supposed to happen between the client/ user and the workspace via SSH? Is port 22 necessary by chance? From what I was reading, it isn't. Yet, SSH isn't working. Any tips on how to trouble shoot this problem would be greatly appreciated....

Cloudflare tunnel

Is there anyway, to expose coder site using cloudflare tunnel system. I mean steps same like for self-hosting? I suppose to add my domain in coder settings?

Could someone help me add a mount to a template?

I found a template https://github.com/bpmct/coder-templates/tree/main/desktop-container But I want to be able to share a file between it and the host so id like to mount a host directory as a volume in the container. however im new to everything so idk what I'm doing...

Problem running sysbox template with coder.

I discovered this template(https://github.com/sharkymark/v2-templates/tree/main/docker-in-docker), when tried make docker work in docker. Installed sysbox but on build state in coder i got error:``` Error: Unable to start container: Error response from daemon: failed to create shim task: OCI runtime create failed: container_linux.go:425: starting container process caused: process_linux.go:607: container init caused: process_linux.go:578: handleReqOp caused: rootfs_init_linux.go:366: failed to mk...

How can coder use a docker swarm to deploy the workspaces?

I have a docker swarm consisting of 5 nodes. How can coder use this swarm to deploy workspaces. Also how will the home volume mounts be handled in this case. as they are currently on the main (leader) node.

404 Errors when setting up code-server

I am using nginx with code-server, but I'm not sure why I get these errors. I have just set it up. Let me post my nginx config in the next message...
No description

Terraform throws an error when the coder starts the server (no access)

Hello. now I am at home in Russia and there is no access to releases.hashicorp.com/. I am using raspberry pi as a host with tailscale. Can I somehow bypass the links to terraform and do everything offline? Provided that terraform is already installed, for example. I see only one way, to use a vpn. Are there any other ways?...

Cloudflare and ssl errors

Hello, currently I am using caddy to reverse proxy my server. When using the wildcard domain I realized that there are ssl mismatches and the server refuses to work. Any idea on how to fix?
No description

SSH connection hangs up forever

Hey! i've got quite a problem 🥲 Whenever I spin up a docker-based workspace, its connections info (code-server, ssh, terminal, etc) on the are loading for ever (see image below). Same goes for the ssh CLI; ```...
No description

If I install it then I should be able to access it on my browser right?

I've installed coder following the guide, cant access the server through the internal ip (no vpn or filewall) I use ipadress:3000 in my browser

Coder behind Reverse Proxy and Port Forwarding

Good evening everyone, just a quick question since I'm kinda Stuck: Does Coder Server need any open Ports besides 443 by default? 80 should only be used for Let's Encrypt but since I'm using DNS Challenge it shouldn't matter. Or am I missing something? To clarify, my current setup is as follows: Router with Port Forwarding -> Reverse Proxy -> Coder Server ...