Hi
I am trying to get go-agent to connect to server on localhost.
I keep getting this error:
ERROR com.thoughtworks.go.agent.launcher.ServerBinaryDownloader - Couldn't update admin/agent-launcher.jar. Sleeping for 1m. Error: java.lang.Exception: Couldn't access Go Server with base url: http://localhost:8153/go/admin/agent-launcher.jar: java.net.ConnectException: Connection refused
I have this in my /etc/default/go-agent:
GO_SERVER=127.0.0.1
export GO_SERVER
GO_SERVER_PORT=8153
export GO_SERVER_PORT
AGENT_WORK_DIR=/var/lib/${SERVICE_NAME:-go-agent}
export AGENT_WORK_DIR
DAEMON=Y
VNC=N
export JAVA_HOME="/usr/lib/jvm/java-7-openjdk-amd64/jre" # SET_BY_GO_INSTALLER__DONT_REMOVE
What am I doing wrong here? I have had this working on other machines before.
thanks
--
You received this message because you are subscribed to the Google Groups "go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Go Version: 16.6.0 (3590-af0f8b8ae8a4342ab748ce80224971887f018ccc)
and the go-agent is 16.6.0 3590
(I just downloaded the DEBs from the website)
I really don't see why it is not working on this box. I have just managed to get it working on another VM.
Thanks
go 15750 0.1 1.5 2570568 61316 ? Sl 15:35 0:01 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java -jar /usr/share/go-agent/agent-bootstrapper.jar 127.0.0.1 8153
go 15767 0.6 6.4 1949232 260744 ? Sl 15:35 0:10 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java -Dcruise.console.publish.interval=10 -Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandom -Dagent.launcher.version=Unknown -Dagent.plugins.md5=d1a8e4434cbf9868d96efe98147f1c47 -Dagent.binary.md5=M7VLVRjsxWOPUY6+DhkuBw== -Dagent.launcher.md5=dXwGRFnX3o1pgkQggCM/dA== -jar agent.jar https://127.0.0.1:8154/go/
go 16196 1.2 18.5 3775084 751040 ? Sl 10:56 3:49 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java -server -Djava.security.egd=file:/dev/./urandom -Xms512m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m -Duser.language=en -Djruby.rack.request.size.threshold.bytes=30000000 -Duser.country=US -Dcruise.config.dir=/etc/go -Dcruise.config.file=/etc/go/cruise-config.xml -Dcruise.server.port=8153 -Dcruise.server.ssl.port=8154 -jar /usr/share/go-server/go.jar
go 15767 0.6 6.4 1949232 260744 ? Sl 15:35 0:10 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java -Dcruise.console.publish.interval=10 -Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandom -Dagent.launcher.version=Unknown -Dagent.plugins.md5=d1a8e4434cbf9868d96efe98147f1c47 -Dagent.binary.md5=M7VLVRjsxWOPUY6+DhkuBw== -Dagent.launcher.md5=dXwGRFnX3o1pgkQggCM/dA== -jar agent.jar https://127.0.0.1:8154/go/
Is it possible that the agent is caching the start up settings somewhere?
--