The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Excuetion failure in bamboo build when connecting to sonarqube

sravyakunagu
December 7, 2017

we have configured SSL in apache for Sonarqube and while we running plan from bamboo we are recieving cannot establish connection, socket time out errors .

Below is the log fro same, can someone help us on this.

 

rror	06-Dec-2017 11:24:26	ERROR: SonarQube server [https://xxxxx(specific url in place).com/sonar] can not be reached
build	06-Dec-2017 11:24:26	INFO: ------------------------------------------------------------------------
build	06-Dec-2017 11:24:26	INFO: EXECUTION FAILURE
build	06-Dec-2017 11:24:26	INFO: ------------------------------------------------------------------------
build	06-Dec-2017 11:24:26	INFO: Total time: 5.431s
build	06-Dec-2017 11:24:26	INFO: Final Memory: 4M/121M
build	06-Dec-2017 11:24:26	INFO: ------------------------------------------------------------------------
error	06-Dec-2017 11:24:26	ERROR: Error during SonarQube Scanner execution
error	06-Dec-2017 11:24:26	org.sonarsource.scanner.api.internal.ScannerException: Unable to execute SonarQube
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory$1.run(IsolatedLauncherFactory.java:84)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory$1.run(IsolatedLauncherFactory.java:71)
error	06-Dec-2017 11:24:26		at java.security.AccessController.doPrivileged(Native Method)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(IsolatedLauncherFactory.java:71)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(IsolatedLauncherFactory.java:67)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.EmbeddedScanner.doStart(EmbeddedScanner.java:218)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.EmbeddedScanner.start(EmbeddedScanner.java:156)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.cli.Main.execute(Main.java:74)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.cli.Main.main(Main.java:61)
error	06-Dec-2017 11:24:26	Caused by: java.lang.IllegalStateException: Fail to get bootstrap index from server
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.internal.Jars.getBootstrapIndex(Jars.java:100)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.internal.Jars.getScannerEngineFiles(Jars.java:76)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.internal.Jars.download(Jars.java:70)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.internal.JarDownloader.download(JarDownloader.java:39)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory$1.run(IsolatedLauncherFactory.java:75)
error	06-Dec-2017 11:24:26		... 8 more
error	06-Dec-2017 11:24:26	Caused by: java.net.SocketTimeoutException: connect timed out
error	06-Dec-2017 11:24:26		at java.net.PlainSocketImpl.socketConnect(Native Method)
error	06-Dec-2017 11:24:26		at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
error	06-Dec-2017 11:24:26		at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
error	06-Dec-2017 11:24:26		at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
error	06-Dec-2017 11:24:26		at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
error	06-Dec-2017 11:24:26		at java.net.Socket.connect(Socket.java:589)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.platform.Platform.connectSocket(Platform.java:124)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.RealConnection.connectSocket(RealConnection.java:220)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.RealConnection.connect(RealConnection.java:146)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:186)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:121)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.StreamAllocation.newStream(StreamAllocation.java:100)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:120)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.internal.shaded.okhttp.RealCall.getResponseWithInterceptorChain(RealCall.java:179)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.internal.shaded.okhttp.RealCall.execute(RealCall.java:63)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.internal.ServerConnection.callUrl(ServerConnection.java:113)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.internal.ServerConnection.downloadString(ServerConnection.java:98)
error	06-Dec-2017 11:24:26		at org.sonarsource.scanner.api.internal.Jars.getBootstrapIndex(Jars.java:96)
error	06-Dec-2017 11:24:26		... 12 more
error	06-Dec-2017 11:24:26	ERROR: 
error	06-Dec-2017 11:24:26	ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.
simple	06-Dec-2017 11:24:26	Failing task since return code

 

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events