Hello everyone,

We have recently upgraded both server and agent to 21.2.0 and agent is 
still lost contact. Appreciate your thoughts and help. 

Go-server -> up and running.
Go-agent -> go-agent service is up and running but the agent is still in 
lost contact at server side.


we restarted both server and agent and no luck.


I also have another question reg go-agent-1, 2 3.. are these still 
applicable to new version 21.2.0?
When I run "service go-agent-1" we are still getting java version , home 
path error. Not sure if agent-1, 2, 3 are still valid in 21.2.0.

In the /var/log/go-agent/go-agent-launcher.log, we see the below error. 
Your help will be highly appreciated as we have several PROD instances 
running using 18.x versions and we need to upgrade them to 21.2.0 asap. so 
we are trying an upgrade in DEV and facing with these issues. Thank you.
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: 
unable to find valid certification path to requested target at 
java.base/sun.security.provider.certpath.SunCertPathBuilder.build(Unknown 
Source) at 
java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown 
Source) at java.base/java.security.cert.CertPathBuilder.build(Unknown 
Source) ... 51 common frames omitted 2021-05-26 13:58:56,480 ERROR 
[WrapperJarAppMain] ServerBinaryDownloader:88 - Couldn't update 
admin/agent-launcher.jar. Sleeping for 1m. Error: 
javax.net.ssl.SSLHandshakeException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target at 
java.base/sun.security.ssl.Alert.createSSLException(Unknown Source) at 
java.base/sun.security.ssl.TransportContext.fatal(Unknown Source) at 
java.base/sun.security.ssl.TransportContext.fatal(Unknown Source) at 
java.base/sun.security.ssl.TransportContext.fatal(Unknown Source) at 
java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(Unknown
 
Source) at 
java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.onCertificate(Unknown
 
Source) at 
java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.consume(Unknown
 
Source) at java.base/sun.security.ssl.SSLHandshake.consume(Unknown Source) 
at java.base/sun.security.ssl.HandshakeContext.dispatch(Unknown Source) at 
java.base/sun.security.ssl.HandshakeContext.dispatch(Unknown Source) at 
java.base/sun.security.ssl.TransportContext.dispatch(Unknown Source) at 
java.base/sun.security.ssl.SSLTransport.decode(Unknown Source) at 
java.base/sun.security.ssl.SSLSocketImpl.decode(Unknown Source) at 
java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown 
Source) at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown 
Source) at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown 
Source) at 
org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:436)
 
at 
org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:384)
 
at 
org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)
 
at 
org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376)
 
at 
org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393)
 
at 
org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) 
at 
org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) 
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) at 
org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) 
at 
org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
 
at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
 
at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
 
at 
com.thoughtworks.go.agent.launcher.ServerBinaryDownloader.fetchUpdateCheckHeaders(ServerBinaryDownloader.java:104)
 
at 
com.thoughtworks.go.agent.launcher.ServerBinaryDownloader.downloadIfNecessary(ServerBinaryDownloader.java:80)
 
at 
com.thoughtworks.go.agent.launcher.AgentLauncherImpl.doLaunch(AgentLauncherImpl.java:88)
 
at 
com.thoughtworks.go.agent.launcher.AgentLauncherImpl.lambda$launch$0(AgentLauncherImpl.java:68)
 
at 
com.thoughtworks.go.logging.LogConfigurator.runWithLogger(LogConfigurator.java:62)
 
at 
com.thoughtworks.go.agent.launcher.AgentLauncherImpl.launch(AgentLauncherImpl.java:68)
 
at 
com.thoughtworks.go.agent.bootstrapper.AgentBootstrapper.go(AgentBootstrapper.java:76)
 
at 
com.thoughtworks.go.agent.bootstrapper.AgentBootstrapper.lambda$main$0(AgentBootstrapper.java:57)
 
at 
com.thoughtworks.go.logging.LogConfigurator.runWithLogger(LogConfigurator.java:53)
 
at 
com.thoughtworks.go.agent.bootstrapper.AgentBootstrapper.main(AgentBootstrapper.java:57)
 
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method) at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown 
Source) at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown 
Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at 
com.thoughtworks.gocd.Boot.run(Boot.java:90) at 
com.thoughtworks.gocd.Boot.main(Boot.java:56) at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method) at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown 
Source) at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown 
Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at 
org.tanukisoftware.wrapper.WrapperJarApp.run(WrapperJarApp.java:451) at 
java.base/java.lang.Thread.run(Unknown Source) Caused by: 
sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target at 
java.base/sun.security.validator.PKIXValidator.doBuild(Unknown Source) at 
java.base/sun.security.validator.PKIXValidator.engineValidate(Unknown 
Source) at java.base/sun.security.validator.Validator.validate(Unknown 
Source) at 
java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown 
Source) at 
java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown 
Source) ... 46 common frames omitted Caused by: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target at 
java.base/sun.security.provider.certpath.SunCertPathBuilder.build(Unknown 
Source) at 
java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown 
Source) at java.base/java.security.cert.CertPathBuilder.build(Unknown 
Source) ... 51 common frames omitted 

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/592e3f9d-8634-4ccd-8f11-99ff49d7cb21n%40googlegroups.com.

Reply via email to