It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Published in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

696 views 2 7
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you