Workspace creation times out.
On creating a new workspace using the starter docker template, it shows the agents are unhealthy. On looking at the docker container logs, I see this:
I'm able to resolve DNS on the same network that the container is running in but the workspace container, for some reason, is unable to resolve the tunnel url.
7 Replies
<#1327064179173097472>
Category
Help needed
Product
Coder (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
hello, I'm not sure what the issue can be, try forcing DNS inside your template via https://registry.terraform.io/providers/kreuzwerker/docker/latest/docs/resources/container#dns-1
otherwise change your
CODER_ACCESS_URL
to not use the tunnel -> https://coder.com/docs/admin/setup#access-url
hey @digineo, any luck?@Phorcys, no luck. I gave up after trying a couple different things. I tried creating the workspace with and without setting
CODER_ACCESS_URL
. I even tried different Linux distros 😅. This doesn’t appear to be an issue on mac. The bridge network on docker seems to be able to use the local dns resolver without any problems.what happens when setting the
CODER_ACCESS_URL
?same dns resolution error. I have my own DNS name with cloudflare. I tunnel the traffic using a Cloudflare Tunnel. It isn’t able to resolve that domain either.
sorry to hear that
sadly i'm unsure on how to help you further with this as it seems to be an issue with your setup
i'll close the issue but please reopen it if you find more clues on what the issue could be or if you ever manage to fix it!
@Phorcys closed the thread.