unexpected application error
Hello ,
One of the devs on my team is unable to use coder. He logs in fine using okta, but when he clicks create workspace it immediately blows up with a JavaScript error ( see attached screen shot) . He’s logged in and out , used a private window but to no effect....
Solution:
I deleted the user and when he logged in again it all works
Gitlab git functionality not working after token refresh after workspace is created
Hey all,
I'm using Gitlab external auth for my git functionality currently. The GIT_ASKPASS interraction works just fine when I create a new workspace, but after ~12h or so (seemingly this line up with the tokens expiration + renewal but I'm not positive) I start seeing the folowing error:
```...
Solution:
Internal error exchanging Oauth code
Hello, I'm running coder on premises using docker-compose. After having set up the external-auth using gitlab on prem, this is what I'm facing:
1. coder workspace terminal shows a link to request the oauth in gitlab ✓
2. When visitting the url I land into gitlab to authorize the gitlab application to use my account ✓
3. After clicking on authorize it redirects me to coder with the message:
tls: failed to verify certificate: x509: certificate signed by unknown authority
❌...API delete workspace
Hello guys, is there a way how to delete workspace using API? I can create it, but for
DELETE
method I'm getting 405 NOT ALLOWED
and I couldn't find anything in docs. Thanks!Solution:
Local User w/Enterprise Container
When using a starter Docker template, the buildfile shown here, creates a local user that is the person who is logging into the workspace.
``` FROM ubuntu RUN apt-get update ...
``` FROM ubuntu RUN apt-get update ...
Accessing an sql server from outside the workspace
Hi, I have coder deployed on a k8s cluster and a workspace using docker in docker. I have deployed an sql server in the workspace using docker compose, exposing 1433 and 1434 (TCP). Our team wants to be able to access that sql server from outside the workspace. Is this possible? If it is what’s the best way of doing it?
Stuck on docker_image.main
After installing code inside docker and creating a docker template and then a workspace it is stuck seemingly infinitely on docker_image.main: Still creating...
Eventually it fails because ====================
Coder: Build has been detected as hung for 5 minutes and will be terminated.
====================...
Set a Default URI w/Dotfiles Module
Is it possible to set a default URI for the repository when using this module?
Failed to read downloaded context
Hello,
I've setup Coder for the first time today using the Docker image.
When trying to launch a workspace, I have the following issue, can you help me figuring out how to fix it?...
Error: couldn't parse owner groups ""
Everything has been working fine for the past few months, but this morning I ran into this error when starting my workspace.
```
Error: couldn't parse owner groups ""
on main.tf line 22, in data "coder_workspace" "me":...
Solution:
this should be fixed now in v0.20.1 now
Access module through VPN IP instead of Tunnel
I installed the JetBrains Gateway module like this:
```
module "jetbrains_gateway" {
source = "registry.coder.com/modules/jetbrains-gateway/coder"...
Change port forward url to coder.domain.tld/xxxxx
Is it possible for me to change the url for port forwarding to coder.domain.tld/xxxxx like the code-server instances are? I am unable to use the *.coder.domain.tld format due to cloudflare requiring advanced certificate manager for 2 step subdomains.
Unexpected error, shutting down server: install terraform: install: context deadline exceeded
guys i am getting this error when i run coder server in my ubuntu laptop
Setting up a Privileged Sidecar
Following the documentation here: https://coder.com/docs/v2/latest/templates/docker-in-workspaces#use-a-privileged-sidecar-container-in-docker-based-templates
I started with the starter template for docker containers.
Addded the resource block for a private network, the dind container and updated the networks_advanced entry and the DOCKER_HOST env setting in the workspace container.
...
iOS install
I want to install the code-server on my iphone and when the
Configure iSH to use an earlier version of NodeJS with nano /etc/apk/repositories and edit v3.14 to v3.12 on both repository links.
part came the iSH cant find the APKINDEX.tar.gz couze its not existing...
CLion missing
Hi ,
Running latest version on K8s EKS , When connecting from Jetbrains Gateway , or from CLion using the remote dev option I do not get Clion in the list of available IDEs - PyCharm , IntelliJ, PhpStorm all there. Any ideas why?...
Authentication within Coder workspaces
Hi guys !
We have an issue with authentication within workspaces. Specifically, we are making a system where Coder is just of the tools, and we've setup an SSO auth scheme with Zitadel. As you can imagine, what we want to have is users authenticating just once into Zitadel, and then having access to our entire system. So within the workspace user should be able to pull his repositories from self-hosted GitLab, an in general have access to all his resources within our system without the need to re-authenticate from within workspace as well.
For that, we need to somehow pass an access token from Coder into workspace. We know we can do that with the
coder_workspace
data source, owner_oidc_access_token
attribute, but this only works on workspace startup. How do we refresh the access token after it expires? Right now, we have to restart workspace to get a new valid access token....PV Permissions?
So I've deployed the Coder server to our K8s cluster via the helm chart; however, starting up a workspace fails on permission attempting to write to the /home/coder directory.
I'm guessing because I created a persistent volume which ofc is mounted as root.
How are ppl getting around this?...
import resources?
somehow my tf state has been messed up and coder is trying to recreate my home volume. how can I import my previous volume?
Docker-in-Docker with sysbox on Kubernetes
Hi! I'm trying to setup sysbox-runc using the instructions provided in https://coder.com/docs/v2/latest/templates/docker-in-workspaces#use-sysbox-in-kubernetes-based-templates (and previously installing the sysbox on the k8s cluster in question). However, when I'm creating a new workspace I get the following error:
```
Error: pods "coder-artyom-artyom-test-sysbox-coder" is forbidden: pod rejected: RuntimeClass "sysbox-runc" not found
on main.tf line 205, in resource "kubernetes_pod" "main":
205: resource "kubernetes_pod" "main" {...