Hi Aravind

Thanks, I have managed to do 'curl -O 
http://localhost:8153/go/admin/agent-launcher.jar' successfully. The 
version of go-server is:

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

On Monday, July 11, 2016 at 4:48:16 PM UTC+1, Aravind SV wrote:
>
> Hello Hugh,
>
> Your messages were caught in the spam filter. I marked them as not spam. 
> That's why the duplicates. Which version of the GoCD server is this on? I'd 
> go to the agent node and try to do a: curl -O 
> http://localhost:8153/go/admin/agent-launcher.jar or a wget 
> http://localhost:8153/go/admin/agent-launcher.jar
>
> Cheers,
> Aravind
>
> On Mon, Jul 11, 2016 at 11:38 AM, Hugh Acland <[email protected] 
> <javascript:>> wrote:
>
>> 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 [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to