`coder_app` resource doesn't proxy non localhost addresses

I have PGAdmin running in a separate container with the hostname pgadmin. I have specified a coder_app resource like this:
resource "coder_app" "pgadmin" {
agent_id = coder_agent.main.id
name = "PGAdmin"
url = "http://pgadmin/"
icon = "icons/pgadmin.svg"
relative_path = true
}
resource "coder_app" "pgadmin" {
agent_id = coder_agent.main.id
name = "PGAdmin"
url = "http://pgadmin/"
icon = "icons/pgadmin.svg"
relative_path = true
}
However I just get the following error message:
PGAdmin is offline!
read tcp [ipv6-here]:44715: connection reset by peer
PGAdmin is offline!
read tcp [ipv6-here]:44715: connection reset by peer
Any help would be much appreciated
4 Replies
dorkbydesign
dorkbydesignOP•3y ago
it works when the url is localhost or some address that is pointed to 127.0.0.1 in /etc/hosts inside the container if i curl http://pgadmin it works
kyle
kyle•3y ago
We'll certainly fix this! Could you make a GitHub issue instead? I'm happy to if not
dorkbydesign
dorkbydesignOP•3y ago
done 🙂
dorkbydesign
dorkbydesignOP•3y ago
GitHub
coder_app resource doesn't proxy non localhost addresses · Issue ...
I have PGAdmin running in a separate container with the hostname pgadmin. I have specified a coder_app resource like this: resource "coder_app" "pgadmin" { agent...
Want results from more Discord servers?
Add your server