C
Coder.com5mo ago
Hrode

Missing "Open ports" feature

Hi, I tried coder in CLI mode to test, and it worked well. I switched to the docker version (the one I intend to use), and noticed the absence of the "Open ports" function.. Could be related: the console shows a error GET http://coder.internal/api/v2/integrations/jfrog/xray-scan?workspace_id=65029a0a-7d95-40f5-8b75-28ac22040c02&agent_id=8c885cdb-cb78-4d6f-acba-d74d6957642a 404 (Not Found), the response to which is {"message": "Route not found."}. Here's my docker run :
docker run -d -it
-v $CODER_DATA:/home/coder/.config
-v /var/run/docker.sock:/var/run/docker.sock
--group-add $DOCKER_GROUP
-p 80:3000
-e CODER_HTTP_ADDRESS=0.0.0.0:3000
-e CODER_ACCESS_URL=http://coder.internal
ghcr.io/coder/coder:latest
docker run -d -it
-v $CODER_DATA:/home/coder/.config
-v /var/run/docker.sock:/var/run/docker.sock
--group-add $DOCKER_GROUP
-p 80:3000
-e CODER_HTTP_ADDRESS=0.0.0.0:3000
-e CODER_ACCESS_URL=http://coder.internal
ghcr.io/coder/coder:latest
Did I miss something?
Solution:
you are missing the wildcard URL definitions (CODER_WILCARD_ACCESS_URL environment variable)
Jump to solution
6 Replies
Codercord
Codercord5mo ago
<#1255667267308355706>
Category
Bug report
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Phorcys
Phorcys5mo ago
hey, that error looks unrelated
Solution
Phorcys
Phorcys5mo ago
you are missing the wildcard URL definitions (CODER_WILCARD_ACCESS_URL environment variable)
Phorcys
Phorcys5mo ago
even though it says URL in the name don't include https:// for this one
Hrode
HrodeOP5mo ago
It works. Thank you very much.
Want results from more Discord servers?
Add your server