Coder.com

C

Coder.com

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

Join

I have coder setup in kubernetes and trying to setup workspace in kubernetes as well.

I tied to setup workspace but I get
Error: Invalid attribute in provider configuration
unable to convert log level unknown
'config_path' refers to an invalid path: "/home/coder/.kube/config": stat /home/coder/.kube/config: no such file or directory
Error: Invalid attribute in provider configuration
unable to convert log level unknown
'config_path' refers to an invalid path: "/home/coder/.kube/config": stat /home/coder/.kube/config: no such file or directory
Now the question is where should I configure that kube config? when I setup the coder with helm so it can be used by every workspace? or with in terraform of workspace?...

'unmarshal array into Go value of type' when trying to do `coder config-ssh`

``` $ coder config-ssh fetch workspace configs failed: json: cannot unmarshal array into Go value of type codersdk.WorkspacesResponse Run 'coder config-ssh --help' for usage....

How to connect VSCode to workspace

Hi there, I just spawned a coder/coder to test. I have a first workspace up using the docker template. I am now wondering how to work from my local computer inside my workspace using VSCode. I've seen the option of using the VSCode in the web, but not sure how to connect my local VSCode. I can use remote SSH but is there any other option provided by code-server ?...

unexpected non-JSON response

I was adding the code server images for coderOSS and I got a error.
No description

Running workspace inside k8s pods

General question, what backends are most people running? I'm all for the k8s approach as its the easiest way for me (on top of other benefits) - but I'm not sure if this is where Coders' focus is at. For example, I can't seem to "port forward" or use coder config-ssh command. Are these supported when coder runs inside of a pod? For example, while wildcard domains is configured, I get ```Port forward...
No description

Download coder-agent from a host with untrusted CA certificate

Hello! I'm using the example k8s template for running inside a k8s pod. When the pod spins up it tries to download using curl the coder-agent itself (directly from the running server). The server is host with a selfsigned ssl certificate, thus, curl command fails. ```curl -fsSL --compressed https://coder.example/bin/coder-linux-amd64 -o coder │ │ curl: (60) SSL certificate problem: unable to get local issuer certificate │...

Getting 404 upon coder login

Hi all, I've just installed coder on k8s and wanted to create my first template. The server is accessible from an https endpoint but when running coder login https://coder-server.example I get a 404 for the token url. (the internal-auth?show_token=true path) Am I missing something obvious here? Image...
No description

provision failed

so my server died(maybe resource overallocation) so i did hard reboot now i cant start workspaces again getting error "provision failed" when i try to start them...
No description

VS Code remote - SSH re-installing code-server

Hello Is it normal for VS code to re-install code server on first connect using SSH? Also the extensions I install from the browser app code-server are not installed when I connect to the workspace with VS Code Remote SSH. ...
No description

401 when running coder

I followed the AWS quickstart guide to set-up coder, workspace-wise I'm using the aws-linux template. I'm now getting 401s when running git (through coder gitssh) within the workspace: ``` coder@coder-alex-alexcodermain:~$ git clone [email protected]:kelseyhightower/nocode.git...

Docs for prometheus

Is there any documentation for prometheus metrics ?

Need help with installation

for installation i am following this https://github.com/coder/coder/tree/main/examples/web-server/caddy i got this error ...I don't get it i have Caddyfile in same directory ......
No description

Websocket HTTP1.1

Hi, im trying to use nginx reverse proxy but i cant upload a template... Error: WebSocket protocol violation: handshake request must be at least HTTP/1.1: "HTTP/1.0" NGINX Config https://hastebin.com/agidukuduh...

how can I configure the x-forwarded-for support?

I saw this was added in the last release but how can I configure it? https://github.com/coder/coder/pull/4684...

Azure Quickstart Failing

Hey, I worked through the Quickstart guide for Azure, but I run into issues on Creating and Uploading Your First Template. I installed Azure CLI and logged in via service principal. But the command coder templates create receives errors from Azure CLI:
Error: building AzureRM Client: obtain subscription() from Azure CLI: parsing json result from the Azure CLI: waiting for the Azure CLI: exit status 1: ERROR: Please run 'az login' to setup account.
Error: building AzureRM Client: obtain subscription() from Azure CLI: parsing json result from the Azure CLI: waiting for the Azure CLI: exit status 1: ERROR: Please run 'az login' to setup account.
...

can't create templates in docker deploy

Q2: how can i use my own domain replay default?
No description

coder port-forward on Windows freezes request sometimes

Hello, tried the port-forwarding with the coder binary, and now I am infront of stuck requests (for minutes) which won't finish properly. But if you reload a few times, the requests maybe start to work properly again, for a short time. VSCode remote ssh extensions included port forwarding doesn't seem to have this problem and with ssh -L it is also better....

Container can't download install.sh

My setup includes an AWS instance which runs coderd/provisionerd behind a proxy. A desktop on a separate network, which I have physical access to, is running Docker. All three are on a VPN network using tailscale, and I have the AWS instance set as a tailscale 'exit node' for the desktop. I configured two example templates, the docker, and the docker-code-server examples. In this configuration, I can access the coder instance from the browser at my public domain. I am able to log in and spin up the templates. I can log into the terminal on them. On the code-server example I can load the remote vs code instance in the browser. All of this works great. However, I noticed the docker example never stars the code-server instance....
No description

SSH Config for other apps?

I love that I can just run coder ssh my-workspace and get connected to my workspace, even if the IP has changed. However, I'd like to use some other GUI programs to do remote editing, which manage SSH connections on their own (as in, not through the coder CLI). Is there anyway to easily configure programs like these to connect to my workspace without constantly editing to change the IP address?...
No description