# SonarQube Analyze failed

**URL:** <https://community.sonarsource.com/t/sonarqube-analyze-failed/98888>\
**Category:** SonarQube Server / Community Build\
**Tags:** scanner\
**Created:** [September 7, 2023, 9:38pm UTC](https://community.sonarsource.com/t/sonarqube-analyze-failed/98888 "2023-09-07T21:38:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![taoxie99](https://avatars.discourse-cdn.com/v4/letter/t/b5ac83/32.png) [@taoxie99](https://community.sonarsource.com/u/taoxie99)\
**Post date:** [September 7, 2023, 9:38pm UTC](https://community.sonarsource.com/t/sonarqube-analyze-failed/98888/1 "2023-09-07T21:38:06Z")

</div>

Must-share information (formatted with [Markdown](https://commonmark.org/help/)):

- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)  
SonarQube Enterprise edition 9.9 build 65466  
Scanner: 4.8.0.2856  
java 11.0.15 b4 bit

- how is SonarQube deployed: zip, Docker, Helm  
SonarQube is on a VM in Azure  
Sonar-scanner is running within an Azure devops self-hosted agent.

- what are you trying to achieve  
Run SonarQube analyze

- what have you tried so far to achieve this  
Tried to enable the log  
Tried to run on different Azure DevOps Agent  
PR works but the trigger by the check-in branch failed

**Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!**

```auto
2023-09-07T21:13:15.2776183Z 21:13:13.076 INFO: CPD Executor CPD calculation finished (done) | time=1549ms
2023-09-07T21:13:15.2776954Z 21:13:13.091 DEBUG: SCM revision ID '88e4fee31f8efda4b2a9c902bbc5cd0638d7930c'
2023-09-07T21:13:18.2877511Z 21:13:18.282 INFO: Load New Code definition
2023-09-07T21:13:18.4199429Z 21:13:18.407 DEBUG: GET 200 https://sonar.dssinc.com/api/new_code_periods/show.protobuf?project=TRMW_UI&branch=FedRAMP | time=125ms
2023-09-07T21:13:18.4274276Z 21:13:18.422 INFO: Load New Code definition (done) | time=140ms
2023-09-07T21:13:19.7234668Z 21:13:19.716 INFO: Analysis report generated in 5362ms, dir size=6.4 MB
2023-09-07T21:14:53.2386866Z 21:14:53.222 INFO: Analysis report compressed in 93506ms, zip size=4.5 MB
2023-09-07T21:14:53.2393733Z 21:14:53.222 INFO: Analysis report generated in C:\agent\_work\18\s\.scannerwork\scanner-report
2023-09-07T21:14:53.2443031Z 21:14:53.222 DEBUG: Upload report
2023-09-07T21:15:28.1161764Z 21:15:28.097 DEBUG: eslint-bridge server will shutdown
2023-09-07T21:15:28.1166419Z 21:15:28.097 DEBUG: eslint-bridge server closed
2023-09-07T21:15:28.1169383Z 21:15:28.097 INFO: Time spent writing ucfgs 4356ms
2023-09-07T21:15:51.0810355Z 21:15:51.063 INFO: ------------------------------------------------------------------------
2023-09-07T21:15:51.0812341Z 21:15:51.063 INFO: EXECUTION FAILURE
2023-09-07T21:15:51.0813364Z 21:15:51.063 INFO: ------------------------------------------------------------------------
2023-09-07T21:15:52.0656864Z 21:15:51.079 INFO: Total time: 33:16.489s
2023-09-07T21:15:52.1870902Z 21:15:52.171 INFO: Final Memory: 331M/1104M
2023-09-07T21:15:52.1879884Z 21:15:52.171 INFO: ------------------------------------------------------------------------
2023-09-07T21:15:52.1950177Z ##[error]21:15:52.171 ERROR: Error during SonarScanner execution
2023-09-07T21:15:52.1971075Z 
2023-09-07T21:15:52.1972884Z ##[error]java.lang.IllegalStateException: Failed to upload report: Fail to request url: https://sonar.dssinc.com/api/ce/submit?projectKey=TRMW_UI&characteristic=branch%3DFedRAMP&characteristic=branchType%3DBRANCH
2023-09-07T21:15:52.1974787Z java.lang.IllegalStateException: Failed to upload report: Fail to request url: https://sonar.dssinc.com/api/ce/submit?projectKey=TRMW_UI&characteristic=branch%3DFedRAMP&characteristic=branchType%3DBRANCH
2023-09-07T21:15:52.1977066Z ##[error]at org.sonar.scanner.report.ReportPublisher.upload(ReportPublisher.java:226)
	at org.sonar.scanner.report.ReportPublisher.execute(ReportPublisher.java:154)
2023-09-07T21:15:52.1978647Z at org.sonar.scanner.report.ReportPublisher.upload(ReportPublisher.java:226)
2023-09-07T21:15:52.1985571Z ##[error]at org.sonar.scanner.scan.SpringProjectScanContainer.doAfterStart(SpringProjectScanContainer.java:376)
	at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:188)
	at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:167)
	at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:137)
	at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:188)
	at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:167)
	at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:72)
	at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:66)
	at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2023-09-07T21:15:52.1989704Z 
2023-09-07T21:15:52.1990335Z at org.sonar.scanner.scan.SpringProjectScanContainer.doAfterStart(SpringProjectScanContainer.java:376)
2023-09-07T21:15:52.1991327Z at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:188)
2023-09-07T21:15:52.1992284Z at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:167)
2023-09-07T21:15:52.1993200Z at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:137)
2023-09-07T21:15:52.1994163Z at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:188)
2023-09-07T21:15:52.1995108Z at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:167)
2023-09-07T21:15:52.1995897Z at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:72)
2023-09-07T21:15:52.1996609Z at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:66)
2023-09-07T21:15:52.1997447Z at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
2023-09-07T21:15:52.1998290Z at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2023-09-07T21:15:52.2004043Z ##[error]at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
	at com.sun.proxy.$Proxy0.execute(Unknown Source)
	at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
	at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
	at org.sonarsource.scanner.cli.Main.execute(Main.java:126)
	at org.sonarsource.scanner.cli.Main.execute(Main.java:81)
	at org.sonarsource.scanner.cli.Main.main(Main.java:62)
2023-09-07T21:15:52.2007926Z at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2023-09-07T21:15:52.2008899Z at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2023-09-07T21:15:52.2009720Z at java.base/java.lang.reflect.Method.invoke(Method.java:566)
2023-09-07T21:15:52.2010547Z at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
2023-09-07T21:15:52.2011288Z at com.sun.proxy.$Proxy0.execute(Unknown Source)
2023-09-07T21:15:52.2011983Z at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
2023-09-07T21:15:52.2012823Z at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
2023-09-07T21:15:52.2013577Z at org.sonarsource.scanner.cli.Main.execute(Main.java:126)
2023-09-07T21:15:52.2014250Z at org.sonarsource.scanner.cli.Main.execute(Main.java:81)
2023-09-07T21:15:52.2014915Z at org.sonarsource.scanner.cli.Main.main(Main.java:62)
2023-09-07T21:15:52.2019387Z ##[error]Caused by: java.lang.IllegalStateException: Fail to request url: https://sonar.dssinc.com/api/ce/submit?projectKey=TRMW_UI&characteristic=branch%3DFedRAMP&characteristic=branchType%3DBRANCH
	at org.sonarqube.ws.client.HttpConnector.doCall(HttpConnector.java:208)
	at org.sonarqube.ws.client.HttpConnector.post(HttpConnector.java:158)
	at org.sonarqube.ws.client.HttpConnector.call(HttpConnector.java:115)
	at org.sonar.scanner.bootstrap.DefaultScannerWsClient.call(DefaultScannerWsClient.java:87)
	at org.sonar.scanner.report.ReportPublisher.upload(ReportPublisher.java:224)
	... 21 more
2023-09-07T21:15:52.2022664Z Caused by: java.lang.IllegalStateException: Fail to request url: https://sonar.dssinc.com/api/ce/submit?projectKey=TRMW_UI&characteristic=branch%3DFedRAMP&characteristic=branchType%3DBRANCH
2023-09-07T21:15:52.2023954Z at org.sonarqube.ws.client.HttpConnector.doCall(HttpConnector.java:208)
2023-09-07T21:15:52.2024707Z at org.sonarqube.ws.client.HttpConnector.post(HttpConnector.java:158)
2023-09-07T21:15:52.2025479Z at org.sonarqube.ws.client.HttpConnector.call(HttpConnector.java:115)
2023-09-07T21:15:52.2026312Z at org.sonar.scanner.bootstrap.DefaultScannerWsClient.call(DefaultScannerWsClient.java:87)
2023-09-07T21:15:52.2027159Z at org.sonar.scanner.report.ReportPublisher.upload(ReportPublisher.java:224)
2023-09-07T21:15:52.2027739Z ... 21 more
2023-09-07T21:15:52.2035622Z ##[error]Caused by: java.net.SocketException: Connection reset by peer: socket write error
	at java.base/java.net.SocketOutputStream.socketWrite0(Native Method)
	at java.base/java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:110)
	at java.base/java.net.SocketOutputStream.write(SocketOutputStream.java:150)
	at java.base/sun.security.ssl.SSLSocketOutputRecord.deliver(SSLSocketOutputRecord.java:346)
	at java.base/sun.security.ssl.SSLSocketImpl$AppOutputStream.write(SSLSocketImpl.java:1208)
	at okio.OutputStreamSink.write(JvmOkio.kt:57)
	at okio.AsyncTimeout$sink$1.write(AsyncTimeout.kt:99)
	at okio.RealBufferedSink.emitCompleteSegments(RealBufferedSink.kt:255)
	at okio.RealBufferedSink.write(RealBufferedSink.kt:146)
2023-09-07T21:15:52.2043324Z Caused by: java.net.SocketException: Connection reset by peer: socket write error
2023-09-07T21:15:52.2045330Z at java.base/java.net.SocketOutputStream.socketWrite0(Native Method)
2023-09-07T21:15:52.2046593Z at java.base/java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:110)
2023-09-07T21:15:52.2047406Z at java.base/java.net.SocketOutputStream.write(SocketOutputStream.java:150)
2023-09-07T21:15:52.2048290Z at java.base/sun.security.ssl.SSLSocketOutputRecord.deliver(SSLSocketOutputRecord.java:346)
2023-09-07T21:15:52.2049329Z at java.base/sun.security.ssl.SSLSocketImpl$AppOutputStream.write(SSLSocketImpl.java:1208)
2023-09-07T21:15:52.2050205Z at okio.OutputStreamSink.write(JvmOkio.kt:57)
2023-09-07T21:15:52.2050885Z at okio.AsyncTimeout$sink$1.write(AsyncTimeout.kt:99)
2023-09-07T21:15:52.2051720Z at okio.RealBufferedSink.emitCompleteSegments(RealBufferedSink.kt:255)
2023-09-07T21:15:52.2057156Z ##[error]at okhttp3.internal.http1.Http1ExchangeCodec$KnownLengthSink.write(Http1ExchangeCodec.kt:271)
	at okio.ForwardingSink.write(ForwardingSink.kt:29)
	at okhttp3.internal.connection.Exchange$RequestBodySink.write(Exchange.kt:218)
	at okio.RealBufferedSink.emitCompleteSegments(RealBufferedSink.kt:255)
	at okio.RealBufferedSink.writeAll(RealBufferedSink.kt:194)
	at okhttp3.RequestBody$Companion$asRequestBody$1.writeTo(RequestBody.kt:167)
	at okhttp3.MultipartBody.writeOrCountBytes(MultipartBody.kt:157)
	at okhttp3.MultipartBody.writeTo(MultipartBody.kt:93)
	at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.kt:59)
2023-09-07T21:15:52.2060247Z 
2023-09-07T21:15:52.2060875Z at okhttp3.internal.http1.Http1ExchangeCodec$KnownLengthSink.write(Http1ExchangeCodec.kt:271)
2023-09-07T21:15:52.2061657Z at okio.ForwardingSink.write(ForwardingSink.kt:29)
2023-09-07T21:15:52.2062385Z at okhttp3.internal.connection.Exchange$RequestBodySink.write(Exchange.kt:218)
2023-09-07T21:15:52.2063155Z at okio.RealBufferedSink.emitCompleteSegments(RealBufferedSink.kt:255)
2023-09-07T21:15:52.2063881Z at okio.RealBufferedSink.writeAll(RealBufferedSink.kt:194)
2023-09-07T21:15:52.2064619Z at okhttp3.RequestBody$Companion$asRequestBody$1.writeTo(RequestBody.kt:167)
2023-09-07T21:15:52.2065371Z at okhttp3.MultipartBody.writeOrCountBytes(MultipartBody.kt:157)
2023-09-07T21:15:52.2066070Z at okhttp3.MultipartBody.writeTo(MultipartBody.kt:93)
2023-09-07T21:15:52.2066829Z at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.kt:59)
2023-09-07T21:15:52.2076471Z ##[error]at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
	at org.sonarqube.ws.client.OkHttpClientBuilder.addHeaders(OkHttpClientBuilder.java:222)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:34)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
	at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
	at okhttp3.internal.connection.RealCall.execute(RealCall.kt:154)
	at org.sonarqube.ws.client.HttpConnector.doCall(HttpConnector.java:206)
	... 25 more
21:15:52.187 ERROR: 
21:15:52.187 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.
2023-09-07T21:15:52.2082159Z at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
2023-09-07T21:15:52.2082964Z at org.sonarqube.ws.client.OkHttpClientBuilder.addHeaders(OkHttpClientBuilder.java:222)
2023-09-07T21:15:52.2083771Z at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
2023-09-07T21:15:52.2084823Z at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:34)
2023-09-07T21:15:52.2085605Z at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
2023-09-07T21:15:52.2086367Z at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
2023-09-07T21:15:52.2087103Z at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
2023-09-07T21:15:52.2087948Z at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
2023-09-07T21:15:52.2088818Z at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
2023-09-07T21:15:52.2089666Z at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
2023-09-07T21:15:52.2090516Z at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
2023-09-07T21:15:52.2091370Z at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
2023-09-07T21:15:52.2092111Z at okhttp3.internal.connection.RealCall.execute(RealCall.kt:154)
2023-09-07T21:15:52.2092831Z at org.sonarqube.ws.client.HttpConnector.doCall(HttpConnector.java:206)
2023-09-07T21:15:52.2093351Z ... 25 more
2023-09-07T21:15:52.2093680Z 21:15:52.187 ERROR: 
2023-09-07T21:15:52.2094237Z 21:15:52.187 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.
2023-09-07T21:15:52.6901665Z ##[error]The process 'C:\agent\_work\_tasks\SonarQubeAnalyze_6d01813a-9589-4b15-8491-8164aeb38055\4.36.0\sonar-scanner\bin\sonar-scanner.bat' failed with exit code 1
2023-09-07T21:15:52.7046935Z ##[section]Finishing: SonarQubeAnalyze

```

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [September 11, 2023, 6:47am UTC](https://community.sonarsource.com/t/sonarqube-analyze-failed/98888/2 "2023-09-11T06:47:19Z")

</div>

Hey there.

It seems like either SonarQube or whatever is sitting in front of your SonarQube server (to serve SonarQube over HTTPS, normally some kind of reverse proxy) is rejecting or closing the request. Do you see anything in the server logs?

---

<div class="post-metadata">

**Author:** ![taoxie99](https://avatars.discourse-cdn.com/v4/letter/t/b5ac83/32.png) [@taoxie99](https://community.sonarsource.com/u/taoxie99)\
**Post date:** [September 11, 2023, 2:30pm UTC](https://community.sonarsource.com/t/sonarqube-analyze-failed/98888/3 "2023-09-11T14:30:26Z")

</div>

Hi Colin,

Which log do you suggest to check? Can you provide the location of the log file?

---

<div class="post-metadata">

**Author:** ![anon67236913](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@anon67236913](https://community.sonarsource.com/u/anon67236913)\
**Post date:** [September 11, 2023, 5:10pm UTC](https://community.sonarsource.com/t/sonarqube-analyze-failed/98888/4 "2023-09-11T17:10:12Z")

</div>

Hi Victor,

you need to check the logs in `$SONARQUBE_HOME/logs`  
see [Troubleshooting](https://docs.sonarsource.com/sonarqube/latest/setup-and-upgrade/troubleshooting/)

Gilbert

---

<div class="post-metadata">

**Author:** ![taoxie99](https://avatars.discourse-cdn.com/v4/letter/t/b5ac83/32.png) [@taoxie99](https://community.sonarsource.com/u/taoxie99)\
**Post date:** [September 21, 2023, 2:27pm UTC](https://community.sonarsource.com/t/sonarqube-analyze-failed/98888/5 "2023-09-21T14:27:50Z")

</div>

The log files didn’t show any related info:

Here is the latest run error in Azure DevOps pipeline:

```auto
2023-09-20T21:36:15.8628003Z 21:36:15.862 INFO: EXECUTION FAILURE
2023-09-20T21:36:15.8629836Z 21:36:15.862 INFO: ------------------------------------------------------------------------
2023-09-20T21:36:15.8630876Z 21:36:15.862 INFO: Total time: 23:19.885s
2023-09-20T21:36:16.6603513Z 21:36:16.659 INFO: Final Memory: 347M/1167M
2023-09-20T21:36:16.6604739Z 21:36:16.659 INFO: ------------------------------------------------------------------------
2023-09-20T21:36:16.6667417Z ##[error]21:36:16.659 ERROR: Error during SonarScanner execution
2023-09-20T21:36:16.6682882Z ##[debug]Processed: ##vso[task.logissue type=error;]21:36:16.659 ERROR: Error during SonarScanner execution
2023-09-20T21:36:16.6684114Z 21:36:16.659 ERROR: Error during SonarScanner execution
2023-09-20T21:36:16.6693886Z ##[error]java.lang.IllegalStateException: Failed to upload report: Fail to request url: https://sonar.dssinc.com/api/ce/submit?projectKey=TRMW_UI&characteristic=branch%3DDevOps-SQ-ERROR&characteristic=branchType%3DBRANCH
	at org.sonar.scanner.report.ReportPublisher.upload(ReportPublisher.java:226)
	at org.sonar.scanner.report.ReportPublisher.execute(ReportPublisher.java:154)
	at org.sonar.scanner.scan.SpringProjectScanContainer.doAfterStart(SpringProjectScanContainer.java:376)
	at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:188)
	at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:167)
	at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:137)
	at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:188)
	at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:167)
	at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:72)
	at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:66)
	at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
	at com.sun.proxy.$Proxy0.execute(Unknown Source)
	at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
	at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
	at org.sonarsource.scanner.cli.Main.execute(Main.java:126)
	at org.sonarsource.scanner.cli.Main.execute(Main.java:81)
	at org.sonarsource.scanner.cli.Main.main(Main.java:62)
[SonarQube Server log.txt|attachment](upload://t08s8N3QHwql9oNLobsO3buMcGz.txt) (2.0 KB)

```

---

<div class="post-metadata">

**Author:** ![taoxie99](https://avatars.discourse-cdn.com/v4/letter/t/b5ac83/32.png) [@taoxie99](https://community.sonarsource.com/u/taoxie99)\
**Post date:** [September 21, 2023, 2:30pm UTC](https://community.sonarsource.com/t/sonarqube-analyze-failed/98888/6 "2023-09-21T14:30:09Z")

</div>

The log files didn’t show any related info, see attached file.

Here is the latest run error in Azure DevOps pipeline:

```auto
2023-09-20T21:36:15.8628003Z 21:36:15.862 INFO: EXECUTION FAILURE
2023-09-20T21:36:15.8629836Z 21:36:15.862 INFO: ------------------------------------------------------------------------
2023-09-20T21:36:15.8630876Z 21:36:15.862 INFO: Total time: 23:19.885s
2023-09-20T21:36:16.6603513Z 21:36:16.659 INFO: Final Memory: 347M/1167M
2023-09-20T21:36:16.6604739Z 21:36:16.659 INFO: ------------------------------------------------------------------------
2023-09-20T21:36:16.6667417Z ##[error]21:36:16.659 ERROR: Error during SonarScanner execution
2023-09-20T21:36:16.6682882Z ##[debug]Processed: ##vso[task.logissue type=error;]21:36:16.659 ERROR: Error during SonarScanner execution
2023-09-20T21:36:16.6684114Z 21:36:16.659 ERROR: Error during SonarScanner execution
2023-09-20T21:36:16.6693886Z ##[error]java.lang.IllegalStateException: Failed to upload report: Fail to request url: https://sonar.dssinc.com/api/ce/submit?projectKey=TRMW_UI&characteristic=branch%3DDevOps-SQ-ERROR&characteristic=branchType%3DBRANCH
	at org.sonar.scanner.report.ReportPublisher.upload(ReportPublisher.java:226)
	at org.sonar.scanner.report.ReportPublisher.execute(ReportPublisher.java:154)
	at org.sonar.scanner.scan.SpringProjectScanContainer.doAfterStart(SpringProjectScanContainer.java:376)
	at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:188)
	at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:167)
	at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:137)
	at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:188)
	at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:167)
	at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:72)
	at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:66)
	at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
	at com.sun.proxy.$Proxy0.execute(Unknown Source)
	at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
	at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
	at org.sonarsource.scanner.cli.Main.execute(Main.java:126)
	at org.sonarsource.scanner.cli.Main.execute(Main.java:81)
	at org.sonarsource.scanner.cli.Main.main(Main.java:62)
[SonarQube Server log.txt|attachment](upload://t08s8N3QHwql9oNLobsO3buMcGz.txt) (2.0 KB)

```
