Az DevOps Pipeline ERROR: SonarQube server [https://xxxxxx.com/sonar] can not be reached

Dear all,
I’m fighting regularly with same issue and not all the time
My configuration is:

  • Azure DevOps CI (Build Pipeline)
  • Simple project with basic code files (JS, XML & SQL)
  • SonarQube Community Edition 8.9 (updated last monday)

The pipeline can be executed on Windows 2016 or Windows 2019 server from Microsoft Pool with same result. Some pipeline Run will have the issue, same pipeline just run Sonar scan later with success (no pipeline change, and no server change).
The error I can share is:


2021-05-19T15:47:05.2120083Z ##[section]Starting: Run Code Analysis
2021-05-19T15:47:05.2251871Z ==============================================================================
2021-05-19T15:47:05.2252317Z Task         : Run Code Analysis
2021-05-19T15:47:05.2252709Z Description  : Run scanner and upload the results to the SonarQube server.
2021-05-19T15:47:05.2253076Z Version      : 4.20.0
2021-05-19T15:47:05.2253374Z Author       : sonarsource
2021-05-19T15:47:05.2254071Z Help         : Version: 4.20.0. This task is not needed for Maven and Gradle projects since the scanner should be run as part of the build.

[More Information](http://redirect.sonarsource.com/doc/install-configure-scanner-tfs-ts.html)
2021-05-19T15:47:05.2254750Z ==============================================================================
2021-05-19T15:47:05.5036874Z [command]C:\Windows\system32\cmd.exe /D /S /C "D:\a\_tasks\SonarQubeAnalyze_6d01813a-9589-4b15-8491-8164aeb38055\4.20.0\sonar-scanner\bin\sonar-scanner.bat"
2021-05-19T15:47:09.5030505Z INFO: Scanner configuration file: D:\a\_tasks\SonarQubeAnalyze_6d01813a-9589-4b15-8491-8164aeb38055\4.20.0\sonar-scanner\bin\..\conf\sonar-scanner.properties
2021-05-19T15:47:09.5301267Z INFO: Project root configuration file: NONE
2021-05-19T15:47:10.0845914Z INFO: SonarScanner 4.6.1.2450
2021-05-19T15:47:10.0851579Z INFO: Java 11.0.11 AdoptOpenJDK (64-bit)
2021-05-19T15:47:10.0857911Z INFO: Windows Server 2019 10.0 amd64
2021-05-19T15:47:13.3664192Z INFO: User cache: C:\Users\VssAdministrator\.sonar\cache
2021-05-19T15:47:18.8208113Z ##[error]ERROR: SonarQube server [https://xxxxxx.com/sonar] can not be reached
2021-05-19T15:47:18.8218853Z ERROR: SonarQube server [https://xxxxxx.com/sonar] can not be reached
2021-05-19T15:47:18.8219382Z INFO: ------------------------------------------------------------------------
2021-05-19T15:47:18.8219764Z INFO: EXECUTION FAILURE
2021-05-19T15:47:18.8220149Z INFO: ------------------------------------------------------------------------
2021-05-19T15:47:18.8220527Z INFO: Total time: 9.384s
2021-05-19T15:47:18.8414779Z INFO: Final Memory: 3M/17M
2021-05-19T15:47:18.8416425Z ##[error]ERROR: Error during SonarScanner execution
2021-05-19T15:47:18.8417671Z ERROR: Error during SonarScanner execution
2021-05-19T15:47:18.8481413Z 
2021-05-19T15:47:18.8482471Z ##[error]org.sonarsource.scanner.api.internal.ScannerException: Unable to execute SonarScanner analysis
2021-05-19T15:47:18.8483555Z org.sonarsource.scanner.api.internal.ScannerException: Unable to execute SonarScanner analysis
2021-05-19T15:47:18.8484774Z ##[error]at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.lambda$createLauncher$0(IsolatedLauncherFactory.java:85)
2021-05-19T15:47:18.8490615Z 
2021-05-19T15:47:18.8499947Z ##[error]at java.base/java.security.AccessController.doPrivileged(Native Method)
2021-05-19T15:47:18.8502174Z 
2021-05-19T15:47:18.8503170Z ##[error]at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(IsolatedLauncherFactory.java:74)
2021-05-19T15:47:18.8504802Z 
2021-05-19T15:47:18.8505760Z ##[error]at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(IsolatedLauncherFactory.java:70)
2021-05-19T15:47:18.8511741Z ##[error]at org.sonarsource.scanner.api.EmbeddedScanner.doStart(EmbeddedScanner.java:185)
	at org.sonarsource.scanner.api.EmbeddedScanner.start(EmbeddedScanner.java:123)
	at org.sonarsource.scanner.cli.Main.execute(Main.java:73)
	at org.sonarsource.scanner.cli.Main.main(Main.java:61)
2021-05-19T15:47:18.8513079Z 
2021-05-19T15:47:18.8513972Z 	at org.sonarsource.scanner.api.EmbeddedScanner.doStart(EmbeddedScanner.java:185)
2021-05-19T15:47:18.8515849Z 	at org.sonarsource.scanner.api.EmbeddedScanner.start(EmbeddedScanner.java:123)
2021-05-19T15:47:18.8528020Z 	at org.sonarsource.scanner.cli.Main.execute(Main.java:73)
2021-05-19T15:47:18.8528535Z 	at org.sonarsource.scanner.cli.Main.main(Main.java:61)
2021-05-19T15:47:18.8529923Z ##[error]Caused by: java.lang.IllegalStateException: Fail to get bootstrap index from server
	at org.sonarsource.scanner.api.internal.BootstrapIndexDownloader.getIndex(BootstrapIndexDownloader.java:42)
2021-05-19T15:47:18.8532249Z Caused by: java.lang.IllegalStateException: Fail to get bootstrap index from server
2021-05-19T15:47:18.8533974Z ##[error]at org.sonarsource.scanner.api.internal.JarDownloader.getScannerEngineFiles(JarDownloader.java:58)
	at org.sonarsource.scanner.api.internal.JarDownloader.download(JarDownloader.java:53)
	at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.lambda$createLauncher$0(IsolatedLauncherFactory.java:76)
	... 7 more
2021-05-19T15:47:18.8535047Z 
2021-05-19T15:47:18.8535471Z 	at org.sonarsource.scanner.api.internal.JarDownloader.getScannerEngineFiles(JarDownloader.java:58)
2021-05-19T15:47:18.8536048Z 	at org.sonarsource.scanner.api.internal.JarDownloader.download(JarDownloader.java:53)
2021-05-19T15:47:18.8536718Z 	at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.lambda$createLauncher$0(IsolatedLauncherFactory.java:76)
2021-05-19T15:47:18.8537188Z 	... 7 more
2021-05-19T15:47:18.8537768Z ##[error]Caused by: javax.net.ssl.SSLException: Connection reset
2021-05-19T15:47:18.8538587Z Caused by: javax.net.ssl.SSLException: Connection reset
2021-05-19T15:47:18.8539855Z ##[error]at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:127)
	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:349)
	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:292)
2021-05-19T15:47:18.8541014Z 	at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:127)
2021-05-19T15:47:18.8541516Z 	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:349)
2021-05-19T15:47:18.8542006Z 	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:292)
2021-05-19T15:47:18.8553632Z ##[error]at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:287)
	at java.base/sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1591)
	at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:989)
	at org.sonarsource.scanner.api.internal.shaded.okio.Okio$2.read(Okio.java:140)
	at org.sonarsource.scanner.api.internal.shaded.okio.AsyncTimeout$2.read(AsyncTimeout.java:237)
	at org.sonarsource.scanner.api.internal.shaded.okio.RealBufferedSource.indexOf(RealBufferedSource.java:358)
	at org.sonarsource.scanner.api.internal.shaded.okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:230)
	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http1.Http1ExchangeCodec.readHeaderLine(Http1ExchangeCodec.java:242)
	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http1.Http1ExchangeCodec.readResponseHeaders(Http1ExchangeCodec.java:213)
	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.Exchange.readResponseHeaders(Exchange.java:115)
	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:94)
	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:43)
	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:94)
	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:88)
	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
2021-05-19T15:47:18.8560607Z 	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:287)
2021-05-19T15:47:18.8561182Z 	at java.base/sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1591)
2021-05-19T15:47:18.8561763Z 	at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:989)
2021-05-19T15:47:18.8562313Z 	at org.sonarsource.scanner.api.internal.shaded.okio.Okio$2.read(Okio.java:140)
2021-05-19T15:47:18.8562908Z 	at org.sonarsource.scanner.api.internal.shaded.okio.AsyncTimeout$2.read(AsyncTimeout.java:237)
2021-05-19T15:47:18.8563552Z 	at org.sonarsource.scanner.api.internal.shaded.okio.RealBufferedSource.indexOf(RealBufferedSource.java:358)
2021-05-19T15:47:18.8564229Z 	at org.sonarsource.scanner.api.internal.shaded.okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:230)
2021-05-19T15:47:18.8564966Z 	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http1.Http1ExchangeCodec.readHeaderLine(Http1ExchangeCodec.java:242)
2021-05-19T15:47:18.8565745Z 	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http1.Http1ExchangeCodec.readResponseHeaders(Http1ExchangeCodec.java:213)
2021-05-19T15:47:18.8566514Z 	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.Exchange.readResponseHeaders(Exchange.java:115)
2021-05-19T15:47:18.8567254Z 	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:94)
2021-05-19T15:47:18.8568097Z 	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
2021-05-19T15:47:18.8568788Z 	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:43)
2021-05-19T15:47:18.8569462Z 	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
2021-05-19T15:47:18.8570148Z 	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
2021-05-19T15:47:18.8570823Z 	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:94)
2021-05-19T15:47:18.8571488Z 	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
2021-05-19T15:47:18.8572173Z 	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
2021-05-19T15:47:18.8572862Z 	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
2021-05-19T15:47:18.8573520Z 	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
2021-05-19T15:47:18.8574239Z 	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:88)
2021-05-19T15:47:18.8574954Z 	at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
2021-05-19T15:47:18.8582390Z ##[error]at org.sonarsource.scanner.api.internal.shaded.okhttp.RealCall.getResponseWithInterceptorChain(RealCall.java:221)
	at org.sonarsource.scanner.api.internal.shaded.okhttp.RealCall.execute(RealCall.java:81)
	at org.sonarsource.scanner.api.internal.ServerConnection.callUrl(ServerConnection.java:115)
	at org.sonarsource.scanner.api.internal.ServerConnection.downloadString(ServerConnection.java:99)
	at org.sonarsource.scanner.api.internal.BootstrapIndexDownloader.getIndex(BootstrapIndexDownloader.java:39)
	... 10 more
	Suppressed: 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.encodeAlert(SSLSocketOutputRecord.java:81)
		at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:380)
		... 39 more
Caused by: java.net.SocketException: Connection reset
	at java.base/java.net.SocketInputStream.read(SocketInputStream.java:186)
	at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
	at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:478)
	at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:472)
	at java.base/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:70)
	at java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1364)
	at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:973)
	... 35 more
ERROR: 
ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.
2021-05-19T15:47:18.8586485Z 
2021-05-19T15:47:18.8586985Z 	at org.sonarsource.scanner.api.internal.shaded.okhttp.RealCall.getResponseWithInterceptorChain(RealCall.java:221)
2021-05-19T15:47:18.8587641Z 	at org.sonarsource.scanner.api.internal.shaded.okhttp.RealCall.execute(RealCall.java:81)
2021-05-19T15:47:18.8588223Z 	at org.sonarsource.scanner.api.internal.ServerConnection.callUrl(ServerConnection.java:115)
2021-05-19T15:47:18.8588844Z 	at org.sonarsource.scanner.api.internal.ServerConnection.downloadString(ServerConnection.java:99)
2021-05-19T15:47:18.8589500Z 	at org.sonarsource.scanner.api.internal.BootstrapIndexDownloader.getIndex(BootstrapIndexDownloader.java:39)
2021-05-19T15:47:18.8589947Z 	... 10 more
2021-05-19T15:47:18.8590372Z 	Suppressed: java.net.SocketException: Connection reset by peer: socket write error
2021-05-19T15:47:18.8590882Z 		at java.base/java.net.SocketOutputStream.socketWrite0(Native Method)
2021-05-19T15:47:18.8591368Z 		at java.base/java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:110)
2021-05-19T15:47:18.8592016Z 		at java.base/java.net.SocketOutputStream.write(SocketOutputStream.java:150)
2021-05-19T15:47:18.8592549Z 		at java.base/sun.security.ssl.SSLSocketOutputRecord.encodeAlert(SSLSocketOutputRecord.java:81)
2021-05-19T15:47:18.8593062Z 		at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:380)
2021-05-19T15:47:18.8593443Z 		... 39 more
2021-05-19T15:47:18.8593766Z Caused by: java.net.SocketException: Connection reset
2021-05-19T15:47:18.8594213Z 	at java.base/java.net.SocketInputStream.read(SocketInputStream.java:186)
2021-05-19T15:47:18.8594695Z 	at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
2021-05-19T15:47:18.8595178Z 	at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:478)
2021-05-19T15:47:18.8595717Z 	at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:472)
2021-05-19T15:47:18.8596494Z 	at java.base/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:70)
2021-05-19T15:47:18.8597092Z 	at java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1364)
2021-05-19T15:47:18.8597774Z 	at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:973)
2021-05-19T15:47:18.8598198Z 	... 35 more
2021-05-19T15:47:18.8598452Z ERROR: 
2021-05-19T15:47:18.8598832Z ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.
2021-05-19T15:47:18.8946933Z ##[error]The process 'D:\a\_tasks\SonarQubeAnalyze_6d01813a-9589-4b15-8491-8164aeb38055\4.20.0\sonar-scanner\bin\sonar-scanner.bat' failed with exit code 1
2021-05-19T15:47:18.9001748Z ##[section]Finishing: Run Code Analysis

I run the same pipeline 10 min before with success for sonar scanner, as you can see in screenshot, i have many time success and error, only this issue is creating the error:

The Pipeline Task for sonar preparation is as following:

steps:
- task: SonarSource.sonarqube.15B84CA1-B62F-4A2A-A403-89B77A063157.SonarQubePrepare@4
  displayName: 'Prepare analysis on SonarQube'
  inputs:
    SonarQube: 'YYYY-SonarQube'
    scannerMode: CLI
    configMode: manual
    cliProjectKey: YYYYCI
    cliProjectName: '[YYYY]-[YYYY-CI]'
    extraProperties: |
     # Additional properties that will be passed to the scanner, 
     # Put one key=value per line, example:
     # sonar.exclusions=**/*.bin
     system.debug=true
     sonar.projectversion=$(Build.BuildNumber)
  continueOnError: true

Sonar Server is available from Internet and we tested that without any issue from any server
SonarServer is configured correctly and another CI Server based on MAVEN does not have this situation.

Thanks a lot for your help

Fabrice

Hi @fromelard ,

Can you add sonar.verbose=true to the extraProperties key in that Prepare analysis on SonarQube task and provide the logs here?

Please post the logs from Run Code Analysis step as well.

Joe

OK i’m taking the note, but as I explained, this error doesn’t appear all the time.
I retried today several times without issue.
I will retry later and see if the error come back
Thanks

1 Like

Dear all,
I’m fighting since a couple of hours to this issue on another pipeline which was working well right before.
I added the option as you asked and also place the Az DevOps pipeline debugging option
You can find in attachment the 2 log files for these 2 tasks
executeAnalysis.txt (47.1 KB)
PrepareTask.txt (19.8 KB)

I hope you can help me to fix that issue

Fab

Hi @fromelard ,

Thanks for sharing the logs. This kind of error is generally caused by something on your network (e.g. proxy) that’s blocking the upload of the report analysis bundle to the server.

Please also read this thread and see if it helps: Pull Request Decoration SSL error on Azure Devops Server

You may be missing certain certificates in your keystore on the agent or the agent isn’t configured properly for SSL.

Joe

Dear Joe,

Thanks a lot for your response, we looked that case, but in our infrastructure, SonarQube is placed into a Kubernetes infrastructure behind an F5 BigIP solution and there is no real SSL config into.

We are still fighting with this bug with the current version (8.9 Community).

Looking F5 BigIP log, we don’t have any issue into but Azure DevOps Pipeline step is giving a failed status randomly (5 fails for 6 executions started during around 2.5 Hour)

With this error resume


I placed the raw log in attachment
sonarQubeError-Log.txt (293.8 KB)

But the support engineer looked the SonarQube log and found this 2 errors repeating many times:

First One:

java.lang.OutOfMemoryError: Java heap space
Dumping heap to java_pid244.hprof ...
Heap dump file created [749673402 bytes in 6.411 secs]
Exception in thread "I/O dispatcher 2" Exception in thread "I/O dispatcher 3" java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
	at java.base/java.util.concurrent.ConcurrentHashMap$KeySetView.iterator(Unknown Source)
	at java.base/java.util.Collections$UnmodifiableCollection$1.<init>(Unknown Source)
	at java.base/java.util.Collections$UnmodifiableCollection.iterator(Unknown Source)
	at org.apache.http.impl.nio.reactor.BaseIOReactor.validate(BaseIOReactor.java:210)
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:280)
	at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)
	at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:591)
	at java.base/java.lang.Thread.run(Unknown Source)
2021.07.19 15:38:16 INFO  ce[AXq_ahAC7IRGx1gool8j][o.s.c.t.s.ComputationStepExecutor] Execute component visitors | status=FAILED | time=41313ms
2021.07.19 15:38:16 INFO  ce[AXq_ahAC7IRGx1gool8j][o.s.c.t.p.a.p.PostProjectAnalysisTasksExecutor] Webhooks | globalWebhooks=0 | projectWebhooks=0 | status=SUCCESS | time=18ms
2021.07.19 15:38:16 ERROR ce[AXq_ahAC7IRGx1gool8j][o.s.c.t.CeWorkerImpl] Failed to execute task AXq_ahAC7IRGx1gool8j
java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects
2021.07.19 15:38:16 INFO  ce[AXq_ahAC7IRGx1gool8j][o.s.c.t.CeWorkerImpl] Executed task | project=CORPAFLPesticidesAppCORPAFLPesticidesAppCI | type=REPORT | id=AXq_ahAC7IRGx1gool8j | submitter=svc_azDevOpsAccount | status=FAILED | time=52566ms
2021.07.19 15:38:17 ERROR ce[][o.a.h.i.n.c.InternalHttpAsyncClient] I/O reactor terminated abnormally
org.apache.http.nio.reactor.IOReactorException: I/O dispatch worker terminated abnormally
	at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:359)
	at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.execute(PoolingNHttpClientConnectionManager.java:221)
	at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1.run(CloseableHttpAsyncClientBase.java:64)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.OutOfMemoryError: Java heap space

Second One

2021.07.19 15:50:42 ERROR ce[AXq_dhIM7IRGx1gool84][o.s.s.es.BulkIndexer] Fail to execute bulk index request: org.elasticsearch.action.bulk.BulkRequest@48c4faf9
java.lang.IllegalStateException: Request cannot be executed; I/O reactor status: STOPPED
	at org.apache.http.util.Asserts.check(Asserts.java:46)
	at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase.ensureRunning(CloseableHttpAsyncClientBase.java:90)
	at org.apache.http.impl.nio.client.InternalHttpAsyncClient.execute(InternalHttpAsyncClient.java:123)
	at org.elasticsearch.client.RestClient.lambda$performRequestAsync$1(RestClient.java:370)
	at org.elasticsearch.client.Cancellable.runIfNotCancelled(Cancellable.java:81)
	at org.elasticsearch.client.RestClient.performRequestAsync(RestClient.java:368)
	at org.elasticsearch.client.RestClient.performRequestAsync(RestClient.java:357)
	at org.elasticsearch.client.RestHighLevelClient.internalPerformRequestAsync(RestHighLevelClient.java:1793)
	at org.elasticsearch.client.RestHighLevelClient.performRequestAsync(RestHighLevelClient.java:1754)
	at org.elasticsearch.client.RestHighLevelClient.performRequestAsyncAndParseEntity(RestHighLevelClient.java:1720)
	at org.elasticsearch.client.RestHighLevelClient.bulkAsync(RestHighLevelClient.java:571)
	at org.sonar.server.es.EsClient.bulkAsync(EsClient.java:119)
	at org.elasticsearch.action.bulk.Retry$RetryHandler.execute(Retry.java:193)
	at org.elasticsearch.action.bulk.Retry.withBackoff(Retry.java:48)
	at org.elasticsearch.action.bulk.BulkRequestHandler.execute(BulkRequestHandler.java:51)
	at org.elasticsearch.action.bulk.BulkProcessor.execute(BulkProcessor.java:443)
	at org.elasticsearch.action.bulk.BulkProcessor.execute(BulkProcessor.java:452)
	at org.elasticsearch.action.bulk.BulkProcessor.awaitClose(BulkProcessor.java:319)
	at org.sonar.server.es.BulkIndexer.stop(BulkIndexer.java:122)
	at org.sonar.server.rule.index.RuleIndexer.doIndexRules(RuleIndexer.java:150)
	at org.sonar.server.rule.index.RuleIndexer.index(RuleIndexer.java:123)
	at org.sonar.server.rule.index.RuleIndexer.postCommit(RuleIndexer.java:115)
	at org.sonar.server.rule.index.RuleIndexer.commitAndIndex(RuleIndexer.java:108)
	at org.sonar.ce.task.projectanalysis.issue.AdHocRuleCreator.persistAndIndex(AdHocRuleCreator.java:114)
	at org.sonar.ce.task.projectanalysis.issue.RuleRepositoryImpl.persistAndIndex(RuleRepositoryImpl.java:79)
	at org.sonar.ce.task.projectanalysis.issue.RuleRepositoryImpl.lambda$saveOrUpdateAddHocRules$0(RuleRepositoryImpl.java:75)
	at java.base/java.util.HashMap$Values.forEach(Unknown Source)
	at org.sonar.ce.task.projectanalysis.issue.RuleRepositoryImpl.saveOrUpdateAddHocRules(RuleRepositoryImpl.java:75)
	at org.sonar.ce.task.projectanalysis.step.PersistAdHocRulesStep.execute(PersistAdHocRulesStep.java:40)
	at org.sonar.ce.task.step.ComputationStepExecutor.executeStep(ComputationStepExecutor.java:81)
	at org.sonar.ce.task.step.ComputationStepExecutor.executeSteps(ComputationStepExecutor.java:72)
	at org.sonar.ce.task.step.ComputationStepExecutor.execute(ComputationStepExecutor.java:59)
	at org.sonar.ce.task.projectanalysis.taskprocessor.ReportTaskProcessor.process(ReportTaskProcessor.java:81)
	at org.sonar.ce.taskprocessor.CeWorkerImpl$ExecuteTask.executeTask(CeWorkerImpl.java:212)
	at org.sonar.ce.taskprocessor.CeWorkerImpl$ExecuteTask.run(CeWorkerImpl.java:194)
	at org.sonar.ce.taskprocessor.CeWorkerImpl.findAndProcessTask(CeWorkerImpl.java:160)
	at org.sonar.ce.taskprocessor.CeWorkerImpl$TrackRunningState.get(CeWorkerImpl.java:135)
	at org.sonar.ce.taskprocessor.CeWorkerImpl.call(CeWorkerImpl.java:87)
	at org.sonar.ce.taskprocessor.CeWorkerImpl.call(CeWorkerImpl.java:53)
	at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125)
	at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:69)
	at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
2021.07.19 15:50:42 INFO  ce[AXq_dhIM7IRGx1gool84][o.s.c.t.s.ComputationStepExecutor] Persist new ad hoc Rules | status=FAILED | time=40ms
2021.07.19 15:50:42 INFO  ce[AXq_dhIM7IRGx1gool84][o.s.c.t.p.a.p.PostProjectAnalysisTasksExecutor] Webhooks | globalWebhooks=0 | projectWebhooks=0 | status=SUCCESS | time=20ms
2021.07.19 15:50:42 ERROR ce[AXq_dhIM7IRGx1gool84][o.s.c.t.CeWorkerImpl] Failed to execute task AXq_dhIM7IRGx1gool84
org.sonar.server.es.ElasticsearchException: Fail to execute es requestES refresh request on indices 'rules'
	at org.sonar.server.es.EsClient.execute(EsClient.java:313)
	at org.sonar.server.es.EsClient.refresh(EsClient.java:156)
	at org.sonar.server.es.BulkIndexer.stop(BulkIndexer.java:128)
	at org.sonar.server.rule.index.RuleIndexer.doIndexRules(RuleIndexer.java:150)
	at org.sonar.server.rule.index.RuleIndexer.index(RuleIndexer.java:123)
	at org.sonar.server.rule.index.RuleIndexer.postCommit(RuleIndexer.java:115)
	at org.sonar.server.rule.index.RuleIndexer.commitAndIndex(RuleIndexer.java:108)
	at org.sonar.ce.task.projectanalysis.issue.AdHocRuleCreator.persistAndIndex(AdHocRuleCreator.java:114)
	at org.sonar.ce.task.projectanalysis.issue.RuleRepositoryImpl.persistAndIndex(RuleRepositoryImpl.java:79)
	at org.sonar.ce.task.projectanalysis.issue.RuleRepositoryImpl.lambda$saveOrUpdateAddHocRules$0(RuleRepositoryImpl.java:75)
	at java.base/java.util.HashMap$Values.forEach(Unknown Source)
	at org.sonar.ce.task.projectanalysis.issue.RuleRepositoryImpl.saveOrUpdateAddHocRules(RuleRepositoryImpl.java:75)
	at org.sonar.ce.task.projectanalysis.step.PersistAdHocRulesStep.execute(PersistAdHocRulesStep.java:40)
	at org.sonar.ce.task.step.ComputationStepExecutor.executeStep(ComputationStepExecutor.java:81)
	at org.sonar.ce.task.step.ComputationStepExecutor.executeSteps(ComputationStepExecutor.java:72)
	at org.sonar.ce.task.step.ComputationStepExecutor.execute(ComputationStepExecutor.java:59)
	at org.sonar.ce.task.projectanalysis.taskprocessor.ReportTaskProcessor.process(ReportTaskProcessor.java:81)
	at org.sonar.ce.taskprocessor.CeWorkerImpl$ExecuteTask.executeTask(CeWorkerImpl.java:212)
	at org.sonar.ce.taskprocessor.CeWorkerImpl$ExecuteTask.run(CeWorkerImpl.java:194)
	at org.sonar.ce.taskprocessor.CeWorkerImpl.findAndProcessTask(CeWorkerImpl.java:160)
	at org.sonar.ce.taskprocessor.CeWorkerImpl$TrackRunningState.get(CeWorkerImpl.java:135)
	at org.sonar.ce.taskprocessor.CeWorkerImpl.call(CeWorkerImpl.java:87)
	at org.sonar.ce.taskprocessor.CeWorkerImpl.call(CeWorkerImpl.java:53)
	at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125)
	at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:69)
	at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: Request cannot be executed; I/O reactor status: STOPPED
	at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:888)
	at org.elasticsearch.client.RestClient.performRequest(RestClient.java:283)
	at org.elasticsearch.client.RestClient.performRequest(RestClient.java:270)
	at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1654)
	at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1624)
	at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1594)
	at org.elasticsearch.client.IndicesClient.refresh(IndicesClient.java:689)
	at org.sonar.server.es.EsClient.lambda$refresh$9(EsClient.java:156)
	at org.sonar.server.es.EsClient.execute(EsClient.java:311)
	... 31 common frames omitted
Caused by: java.lang.IllegalStateException: Request cannot be executed; I/O reactor status: STOPPED
	at org.apache.http.util.Asserts.check(Asserts.java:46)
	at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase.ensureRunning(CloseableHttpAsyncClientBase.java:90)
	at org.apache.http.impl.nio.client.InternalHttpAsyncClient.execute(InternalHttpAsyncClient.java:123)
	at org.elasticsearch.client.RestClient.performRequest(RestClient.java:279)
	... 38 common frames omitted

So I have no idea if that 2 errors are linked to the DevOps issue we have, but hope you can help us to find the solution.

Thanks a lot for your support.

Fab