Excuetion failure in bamboo build when connecting to sonarqube

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 comments

Comment

Log in or Sign up to comment
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

3,749 views 8 7
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you