Mac agent unable to connect to server

32 views
Skip to first unread message

Manojsai katakam

unread,
Jan 5, 2024, 5:47:07 PM1/5/24
to go...@googlegroups.com
Hi all,

We have an issue to Mac agent connecting to the gocd server. 
Go-server version: 20.5.0
Go-agent version: 20.5.0

Logs : 

$hostname:Go Agent di$ ./bin/go-agent console
Running go-agent...
wrapper  | --> Wrapper Started as Console
wrapper  | Java Service Wrapper Standard Edition 64-bit 3.5.41
wrapper  |   Copyright (C) 1999-2019 Tanuki Software, Ltd. All Rights Reserved.
wrapper  |     http://wrapper.tanukisoftware.com
wrapper  |   Licensed to ThoughtWorks for GoCD Agent
wrapper  |
wrapper  | Launching a JVM...
jvm 1    | WrapperManager: Initializing...
jvm 1    | [Fri Jan 05 16:31:18 CST 2024] Starting process:
jvm 1    | [Fri Jan 05 16:31:18 CST 2024]   Working directory    : /path/to/Go Agent
jvm 1    | [Fri Jan 05 16:31:18 CST 2024]   Application arguments: [-serverUrl, http://192.168.60.122:8154/go]
jvm 1    | [Fri Jan 05 16:31:18 CST 2024]            GoCD Version: 20.5.0-11820
jvm 1    | [Fri Jan 05 16:31:18 CST 2024]            Java Version: 11.0.21
jvm 1    | [Fri Jan 05 16:31:18 CST 2024]        Operating System: Mac OS X(13.3.1)
jvm 1    | Could not find file `config/agent-bootstrapper-logback.xml'. Attempting to load from classpath.
jvm 1    | Using classpath resource `jar:onejar:lib/agent-bootstrapper-20.5.0-11820-classes.jar!/config/agent-bootstrapper-logback.xml'.
jvm 1    | SLF4J: Class path contains multiple SLF4J bindings.
jvm 1    | SLF4J: Found binding in [jar:onejar:lib/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
jvm 1    | SLF4J: Found binding in [jar:file://path/to/Go%20Agent/data/deps-5225b8a899113f2c-agent-launcher.jar/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
jvm 1    | SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
jvm 1    | SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
jvm 1    | Could not find file `config/agent-launcher-logback.xml'. Attempting to load from classpath.
jvm 1    | Using classpath resource `jar:file:/path/to/Go%20Agent/data/deps-5225b8a899113f2c-agent-launcher.jar/agent-launcher-20.5.0-11820-classes.jar!/config/agent-launcher-logback.xml

Thanks & Regards,
Manoj K

Chad Wilson

unread,
Jan 6, 2024, 12:49:26 AM1/6/24
to go...@googlegroups.com
There's no error shown in that log file, which just means that the bootstrapper/launcher is starting OK - but doesn't tell us much else.

You need to look at the other agent logs to see why it is failing to register with the server. Look in the logs directory for the others (for most problems you want to look at go-agent.log rather than go-agent-bootstrapper.log or go-agent-launcher.log).

-Chad

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/CAEbMZ9sfq0GnY0n-1wDTLyjoinK4E89j2SNohkRqEuFNZuk7nA%40mail.gmail.com.

Ketan Padegaonkar

unread,
Jan 10, 2024, 8:32:06 AM1/10/24
to go...@googlegroups.com
The gocd url in the config seems wrong. http://192.168.60.122:8154/go - should be port 8153. Port 8154 is supposed to be for https.

- Ketan



--
Reply all
Reply to author
Forward
0 new messages