Agent stuck at connecting
Hey, I run Coder behind Traefik for SSL. I can reach my Coder instance, but if I click on a running workspace the agent is stuck on Connecting. Another user had a similar issue with HAProxy, but I do not understand how they solved it.
8 Replies
Hi, I think I am the other user.
I have removed the domain from my config and replaced it with the internal IP of my network. I have also disabled SSL, as this was handled by HAProxy for me.
this is my current .env file for coder. did you put
0.0.0.0
or your actual ip at CODER_ADDRESS
?the actual ip
did you add the port :7080 behind that?
coder-coder-1 | listen "116.203.142.26:443": listen tcp 116.203.142.26:443: bind: cannot assign requested address
I think I cant bind to 443 since traefik uses that port already. should I just switch to the default port?As you can see I use port 443, but if I know it correctly it doesn't matter which one you use.
ok
hm i also cant bind to 7080 which is the default port which is currently not in use
haha i found the problem
so
CODER_ADDRESS
is still 0.0.0.0:7080
, but I changed CODER_ACCESS_URL
to the domain i configured in traefik. for example https://coder.[XYZ].dev