Hi Team,
We have installed QB server in the Whirlpool GCP cloud and the agent in the HCL GCP cloud. After starting the build agent with 8810 port and enabling the connectivity, we could see the build agent under the active nodes in the QB console and able to execute the scripts in the agent server.
But the problem here is, its not connecting with 8811 port i.e., secured port. And its getting stuck in the inactive nodes after authorizing when we start with 8811 port and could see below error while its trying to connect.
Could you please suggest if we need to import any certs of the build agent in the QB server?
Error:
2024-07-30 16:35:24,670 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.bootstrap.Bootstrap - Benchmarking...
2024-07-30 16:35:25,483 [WrapperStartStopAppMain] INFO com.pmease.quickbuild.bootstrap.Bootstrap - Connecting to server 'https://100.96.137.35:8811'...
2024-07-30 16:35:25,932 [WrapperStartStopAppMain] ERROR com.pmease.quickbuild.bootstrap.Bootstrap - Error connecting server.
com.caucho.hessian.client.HessianRuntimeException: com.caucho.hessian.client.HessianRuntimeException: Error connecting 'https://100.96.137.35:8811/service/co
nnect'
at com.caucho.hessian.client.HessianProxy.sendRequest(HessianProxy.java:285)
at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:171)
at com.sun.proxy.$Proxy18.connect(Unknown Source)
at com.pmease.quickbuild.bootstrap.Bootstrap.init(Bootstrap.java:453)
at com.pmease.quickbuild.bootstrap.Bootstrap.main(Bootstrap.java:125)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:429)
at java.lang.Thread.run(Thread.java:750)
Caused by: com.caucho.hessian.client.HessianRuntimeException: Error connecting 'https://100.96.137.35:8811/service/connect'
at com.caucho.hessian.client.HessianURLConnection.getOutputStream(HessianURLConnection.java:101)
at com.caucho.hessian.client.HessianProxy.sendRequest(HessianProxy.java:283)
... 10 more
Caused by: java.net.ConnectException: Connection refused (Connection refused)
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:607)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:293)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
at sun.net.www.protocol.https.HttpsClient. (HttpsClient.java:264)
at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:203)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:189)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1342)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1317)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:264)
at com.caucho.hessian.client.HessianURLConnection.getOutputStream(HessianURLConnection.java:99)
... 11 more
Thank you!
Regards,
Maniraj SV