C
Coder.com7mo ago
ei.do

Workspace stuck on loading

i am creating a proof on concept for coder, I have it on a debian on dedicated server, I am exposing coder directly via https + zerossl certificate. Workspaces always loading, nothing is displayed then I get Workspace is unhealthy Your workspace is running but 1 agent is unhealthy I really appreciate help in fixing this issue and many thanks in advance you all ----- env --- / firewall is disabled, tried also with nginx x the same. / template: https://github.com/sharkymark/v2-templates/blob/main/src/docker-dev-container/main.tf / coder.env CODER_ACCESS_URL=https://xyzpoc.dev CODER_WILDCARD_ACCESS_URL=*.xyzpoc.app CODER_HTTP_ADDRESS=1.2.3.4:80 CODER_DISABLE_DIRECT_CONNECTIONS=true CODER_TLS_ADDRESS=1.2.3.4:443 CODER_REDIRECT_TO_ACCESS_URL=true CODER_TLS_CERT_FILE=/etc/coder/fullchain.cer CODER_TLS_ENABLE=true CODER_TLS_KEY_FILE=/etc/coder/cert.key CODER_VERBOSE=true CODER_STRICT_TRANSPORT_SECURITY=1 CODER_TELEMETRY_ENABLE=false CODER_DISABLE_NETWORK_TELEMETRY=true CODER_TUNNEL=false CODER_TLS_MIN_VERSION=tls12 CODER_DERP_SERVER_ENABLE=true CODER_DERP_SERVER_REGION_NAME=DE CODER_DERP_FORCE_WEBSOCKETS=true CODER_PG_CONNECTION_URL="postgresql://user:[email protected]:5432/coderdb?sslmode=disable"
GitHub
v2-templates/src/docker-dev-container/main.tf at main · sharkymark/...
Coder CDE Terraform templates and tips. Contribute to sharkymark/v2-templates development by creating an account on GitHub.
No description
No description
No description
Solution:
using curl -L https://coder.com/install.sh | sh to install coder on debian 12, always got the loading state and then unhealthy the server has new image and nothing installed only coder. I tried to expose it directly to 443, and tried with nginx .. always no load ...
Docker - Coder Docs
Install Coder using Docker
From An unknown user
From An unknown user
Jump to solution
12 Replies
Phorcys
Phorcys7mo ago
GitHub
coder/examples/templates/devcontainer-docker at main · coder/coder
Provision remote development environments via Terraform - coder/coder
Phorcys
Phorcys7mo ago
also, can the Docker containers created for the workspace reach http://xyzpoc.dev? (try docker execing in one of them)
ei.do
ei.doOP7mo ago
used it, the same output. I tested on another server the same, but what worked, the only worked solution was to use docker-compose.
Phorcys
Phorcys7mo ago
what do you mean?
Solution
ei.do
ei.do7mo ago
using curl -L https://coder.com/install.sh | sh to install coder on debian 12, always got the loading state and then unhealthy the server has new image and nothing installed only coder. I tried to expose it directly to 443, and tried with nginx .. always no load only worked when I used alternative methods https://coder.com/docs/install/docker so, I installed docker, and copied the docker-compose file from your github repo and then added a debian service to run the docker composer up for coder, this way, it worked and now I have a runing workspaces and template.
Docker - Coder Docs
Install Coder using Docker
From An unknown user
From An unknown user
emircanerkul
emircanerkul2w ago
@Phorcys Could we wake this dead post?
emircanerkul
emircanerkul2w ago
I'm using official Kubernetes (Deployment)
emircanerkul
emircanerkul2w ago
Ah people really tent to find workarounds https://github.com/coder/coder/issues/15053 no luck in this also
emircanerkul
emircanerkul2w ago
No description
emircanerkul
emircanerkul2w ago
generated pod looking good
No description
emircanerkul
emircanerkul2w ago
no idea... where is the problemm
Codercord
Codercord2w ago
@Phorcys closed the thread.

Did you find this page helpful?