LightningSnow
LightningSnow
CCoder.com
Created by LightningSnow on 6/5/2024 in #help
Unhealthy network using coder access url
For me it is confusing that the Coder instance seems to be working despite there being healhcheck errors. Hinting that something is broken when it is indeed working correctly,
48 replies
CCoder.com
Created by LightningSnow on 6/5/2024 in #help
Unhealthy network using coder access url
I have been able to create workspaces and templates using my domain
48 replies
CCoder.com
Created by LightningSnow on 6/5/2024 in #help
Unhealthy network using coder access url
They all resolve to the correct IP address of the machine running my coder instance. Curl works on every machine except ones running in my local network. I think the router is not resolving its external IP address to the local IP address.
48 replies
CCoder.com
Created by LightningSnow on 6/5/2024 in #help
Unhealthy network using coder access url
The domain record is pointing at my home router
48 replies
CCoder.com
Created by LightningSnow on 6/5/2024 in #help
Unhealthy network using coder access url
I think my problem is not coming across well. I have successfully hit my coder instance externally using my domain pointing at my home network. I did this by setting the access url to my domain name. However the health check fails because I can’t curl my domain from the coder machine. I think it is because the coder machine is running inside my local network. How can I fix this?
48 replies
CCoder.com
Created by LightningSnow on 6/5/2024 in #help
Unhealthy network using coder access url
How do I accomplish the same thing with my domain poinitng at my IP address
48 replies
CCoder.com
Created by LightningSnow on 6/5/2024 in #help
Unhealthy network using coder access url
I think I am having trouble with NAT hairpinning. When I run coder server without an access url. Everything looks good but it uses the default access url with try-coder in the domain name. Which I assume is running on a different server.
48 replies
CCoder.com
Created by LightningSnow on 6/5/2024 in #help
Unhealthy network using coder access url
I'm trying it now
48 replies
CCoder.com
Created by LightningSnow on 6/5/2024 in #help
Unhealthy network using coder access url
I'll try the changes, I am fairly certain I tried what you are suggesting and it wasn't working. What I provided worked more for me then what was suggested in the docs.
48 replies
CCoder.com
Created by LightningSnow on 6/5/2024 in #help
Unhealthy network using coder access url
Would love some guidance on how the health route is supposed to work
48 replies
CCoder.com
Created by LightningSnow on 6/5/2024 in #help
Unhealthy network using coder access url
I had to proxy the healthz check because it kept failing even though I could get a 200 by curling curl -v ${CODER_ACCESS_URL}/healthz I had the same issue with the websockects
48 replies
CCoder.com
Created by LightningSnow on 6/5/2024 in #help
Unhealthy network using coder access url
{
debug
on_demand_tls {
ask http://localhost:5555/
}
}

http://localhost:5555 {
respond "OK" 200
}



coder.placeholder.com, *.coder.placeholder.com {
@websockets {
header Connection *Upgrade*
header Upgrade websocket
}
reverse_proxy /healthz localhost:5555
reverse_proxy @websockets coder:7080
reverse_proxy coder:7080
tls {
on_demand
issuer acme {
}
}
}
{
debug
on_demand_tls {
ask http://localhost:5555/
}
}

http://localhost:5555 {
respond "OK" 200
}



coder.placeholder.com, *.coder.placeholder.com {
@websockets {
header Connection *Upgrade*
header Upgrade websocket
}
reverse_proxy /healthz localhost:5555
reverse_proxy @websockets coder:7080
reverse_proxy coder:7080
tls {
on_demand
issuer acme {
}
}
}
I removed any mentions to sensitive data
48 replies
CCoder.com
Created by LightningSnow on 6/5/2024 in #help
Unhealthy network using coder access url
Yes, I started it with https://
48 replies
CCoder.com
Created by LightningSnow on 6/5/2024 in #help
Unhealthy network using coder access url
I am not sure why it is giving the error EACS03 if I can reach the health endpoint
48 replies
CCoder.com
Created by LightningSnow on 6/5/2024 in #help
Unhealthy network using coder access url
I tried that and I am able to load the coder dashboard using the above URL. However the Access URL check fails even though I can hit https://coder.placeholder.com/healtz from the browser.
48 replies
CCoder.com
Created by LightningSnow on 6/5/2024 in #help
Unhealthy network using coder access url
No description
48 replies
CCoder.com
Created by LightningSnow on 6/5/2024 in #help
Unhealthy network using coder access url
By access I mean, I was able to create an admin user, login, and make it to the Health page.
48 replies
CCoder.com
Created by LightningSnow on 6/5/2024 in #help
Unhealthy network using coder access url
I was able to access the Coder instance in my browser using https://coder.placeholder.com then I saw the errors on the health page.
48 replies
CCoder.com
Created by LightningSnow on 6/5/2024 in #help
Unhealthy network using coder access url
CODER_HTTP_ADDRESS=127.0.0.1:3000 CODER_ACCESS_URL=coder.placeholder.com (my real domain is hosted via Route 53 pointing an A record at my home WAN)
48 replies
CCoder.com
Created by El Gonezo on 4/20/2024 in #help
Custom URL
I tried using CODER_ACCESS_URL to accomplish the same thing asked in this ticket. The health dashboard in coder starts getting errors. Is there an extra step I’m missing?
5 replies