Coder.com

C

Coder.com

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

Join

[RESOLVED] [Git] Unable to auto-detect email address

Hey! I'm trying to make an initial commit to a specific repo during my Docker image build, but it outputs me this error: ``` Author identity unknown...

Error creating workspace from golang docker image

Error: 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 Using this example https://github.com/coder/coder/tree/main/examples/templates/docker-image-builds...

Kubernetes Pod recreation causing issue.

We are 100% on spot instances for our EKS cluster and I'm trying to manage kubernetes pod with Kuberentes deployment to make sure Pod get self heal whenever it's get re-created. Looks like it's causing issue because of Pod name changes every time it gets recreated and Coder throws error
"error": update replica: github.com/coder/coder/enterprise/replicasync.(*Manager).syncReplicas /home/runner/work/coder/coder/enterprise/replicasync/replicasync.go:292 - sql: no rows in result set
"error": update replica: github.com/coder/coder/enterprise/replicasync.(*Manager).syncReplicas /home/runner/work/coder/coder/enterprise/replicasync/replicasync.go:292 - sql: no rows in result set
...
No description

Workspace state running but not started

Creating a workspace using the default template docker-image-builds and using node as an example

Basic Jupyter setup with code server

Hi everyone just installed coder and trying to set up a template with vscode-server and Jupyter I followed the docs and added the entries in my main,tf file and in templates page the app shows. However when a workspace is deployed there is no option for Jupyter any ideas on this ?
No description

TF_LOG verbose Terraform output?

How do I get Coder to show verbose Terraform logs? I'm trying to start a workspace but getting one of the Terraform AWS provider's less helpful error messages where it doesn't tell you what IAM action it doesn't have permission to complete: ```...

Cannot create DinD container.

I followed the guide here https://coder.com/docs/coder-oss/latest/templates/docker-in-docker#use-a-privileged-sidecar-container-in-kubernetes-based-templates but DinD contianer keeps restarting throwing error.
time="2022-11-21T16:52:47.208505924Z" level=fatal msg="Error starting daemon: open /var/run/docker.pid: permission denied"
time="2022-11-21T16:52:47.208505924Z" level=fatal msg="Error starting daemon: open /var/run/docker.pid: permission denied"
...

Failed to accept WebSocket connection WebSocket protocol violation

I am overhauling our Coder server deployment. It is in a private AWS subnet with an AWS client VPN endpoint allowing my laptop to connect to the subnet. I can use the HTTP API (via simple commands like workspaces list in the CLI) and access the web dashboard. However when I run the template create command I get a weird networking error. This new deployment of Coder is much more locked down and only allows traffic on the port in the access URL. Additionally now the Coder server is behind an Nginx reverse proxy. Here is the full terminal output:...

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