[warn] net.devtunnel: periodically re-register tunnel
I'm attempting to set up coder (via docker) for a class, and I get an error when trying to connect to the URL provided. Interestingly, it manages to get the tunnel URL in 0ms.
12 Replies
<#1287932062493446247>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
My guess is that the firewall is blocking something?
Is it possible to use a local IP rather than the tunnel URL?
When I send my env vars to this, I get this
yeah so your firewall is probably blocking access to our try.coder.app tunnel
yes, by setting the access URL, but I can see that you already did
is your Coder instance behind a load balancer/reverse proxy?
I don't believe so. It's running on a Debian VM with all network traffic allowed.
okay, since the access URL has to be any URL where your Coder server can be access, it doesn't seem to be correct here
can you access the UI via https://192.168.0.81 ?
Not on the VM and not from outside the VM
Found out why, I forgot to use the port of 7080 set at CODER_HTTP_ADDRESS
Is it It's fine to set the port to 80 or 443?
yes
you have to use the exact URL that is used to access the UI basically
To make coder work on HTTP and HTTPS, would I simply add these lines to my docker compose?
Answer, is yes. Thank you very much @Phorcys !
yes
closing the issue since you got it figured out!
please leave any feedback on the docs/the product/etc in #feedback :)
@Phorcys closed the thread.