"The bridge server is unresponsive" error while scanning Typescript project

Hi, I’m using SonarCloud to analyze a Typescript project and I got the “The bridge server is unresponsive” error really often recently. I tried to look it up but no solution found yet. Could you please support me with this case?

  • CI system used: Bitbucket Cloud (size 2x)
  • Scanner command used: sonarsource/sonarcloud-scan:2.0.0 (SONAR_SCANNER_OPTS: “-Xmx8192m”)
  • Languages of the repository: Typescript
  • Error observed
ERROR: Failure during analysis
java.lang.IllegalStateException: The bridge server is unresponsive
	at org.sonar.plugins.javascript.bridge.BridgeServerImpl.request(BridgeServerImpl.java:403)
	at org.sonar.plugins.javascript.bridge.BridgeServerImpl.analyzeTypeScript(BridgeServerImpl.java:367)
	at org.sonar.plugins.javascript.bridge.AnalysisWithProgram.analyze(AnalysisWithProgram.java:163)
	at org.sonar.plugins.javascript.bridge.AnalysisWithProgram.analyzeProgram(AnalysisWithProgram.java:133)
	at org.sonar.plugins.javascript.bridge.AnalysisWithProgram.analyzeFiles(AnalysisWithProgram.java:94)
	at org.sonar.plugins.javascript.bridge.JsTsSensor.analyzeFiles(JsTsSensor.java:132)
	at org.sonar.plugins.javascript.bridge.AbstractBridgeSensor.execute(AbstractBridgeSensor.java:76)
	at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:62)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:75)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.lambda$execute$1(ModuleSensorsExecutor.java:48)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.withModuleStrategy(ModuleSensorsExecutor.java:66)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:48)
	at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:64)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
	at org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer.java:180)
	at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:176)
	at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:147)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
	at org.sonar.scanner.bootstrap.ScannerContainer.doAfterStart(ScannerContainer.java:399)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
	at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart(GlobalContainer.java:127)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
	at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:57)
	at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:51)
	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:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
	at jdk.proxy1/jdk.proxy1.$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)
Caused by: java.net.http.HttpTimeoutException: request timed out
	at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:571)
	at java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:123)
	at org.sonar.plugins.javascript.bridge.BridgeServerImpl.request(BridgeServerImpl.java:398)
	... 39 common frames omitted
2 Likes

Hi,

I got the same error with the same environment. This issue has been occurred many days ago, but I really don’t know how to fix it since this is a managed service from SonarCloud. I guess there must be a problem with sonarcloud-scan.

CI: Bitbucket Cloud
Scanner: sonarsource/sonarcloud-scan:2.0.0
Languages: Typescript
Error messages:

ERROR: Failure during analysis
java.lang.IllegalStateException: The bridge server is unresponsive
	at org.sonar.plugins.javascript.bridge.BridgeServerImpl.request(BridgeServerImpl.java:403)
	at org.sonar.plugins.javascript.bridge.BridgeServerImpl.analyzeTypeScript(BridgeServerImpl.java:367)
	at org.sonar.plugins.javascript.bridge.AnalysisWithProgram.analyze(AnalysisWithProgram.java:163)
	at org.sonar.plugins.javascript.bridge.AnalysisWithProgram.analyzeProgram(AnalysisWithProgram.java:133)
	at org.sonar.plugins.javascript.bridge.AnalysisWithProgram.analyzeFiles(AnalysisWithProgram.java:94)
	at org.sonar.plugins.javascript.bridge.JsTsSensor.analyzeFiles(JsTsSensor.java:132)
	at org.sonar.plugins.javascript.bridge.AbstractBridgeSensor.execute(AbstractBridgeSensor.java:76)
	at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:62)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:75)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.lambda$execute$1(ModuleSensorsExecutor.java:48)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.withModuleStrategy(ModuleSensorsExecutor.java:66)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:48)
	at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:64)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
	at org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer.java:180)
	at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:176)
	at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:147)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
	at org.sonar.scanner.bootstrap.ScannerContainer.doAfterStart(ScannerContainer.java:399)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
	at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart(GlobalContainer.java:127)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
	at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:57)
	at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:51)
	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:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
	at jdk.proxy1/jdk.proxy1.$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)
Caused by: java.io.IOException: HTTP/1.1 header parser received no bytes
	at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:586)
	at java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:123)
	at org.sonar.plugins.javascript.bridge.BridgeServerImpl.request(BridgeServerImpl.java:398)
	... 39 common frames omitted
Caused by: java.io.IOException: HTTP/1.1 header parser received no bytes
	at java.net.http/jdk.internal.net.http.common.Utils.wrapWithExtraDetail(Utils.java:348)
	at java.net.http/jdk.internal.net.http.Http1Response$HeadersReader.onReadError(Http1Response.java:675)
	at java.net.http/jdk.internal.net.http.Http1AsyncReceiver.checkForErrors(Http1AsyncReceiver.java:302)
	at java.net.http/jdk.internal.net.http.Http1AsyncReceiver.flush(Http1AsyncReceiver.java:268)
	at java.net.http/jdk.internal.net.http.common.SequentialScheduler$LockingRestartableTask.run(SequentialScheduler.java:205)
	at java.net.http/jdk.internal.net.http.common.SequentialScheduler$CompleteRestartableTask.run(SequentialScheduler.java:149)
	at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SchedulableTask.run(SequentialScheduler.java:230)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.net.SocketException: Connection reset
	at java.base/sun.nio.ch.SocketChannelImpl.throwConnectionReset(SocketChannelImpl.java:394)
	at java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:426)
	at java.net.http/jdk.internal.net.http.SocketTube.readAvailable(SocketTube.java:1170)
	at java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$InternalReadSubscription.read(SocketTube.java:833)
	at java.net.http/jdk.internal.net.http.SocketTube$SocketFlowTask.run(SocketTube.java:181)
	at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SchedulableTask.run(SequentialScheduler.java:230)
	at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(SequentialScheduler.java:303)
	at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(SequentialScheduler.java:256)
	at java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$InternalReadSubscription.signalReadable(SocketTube.java:774)
	at java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadEvent.signalEvent(SocketTube.java:957)
	at java.net.http/jdk.internal.net.http.SocketTube$SocketFlowEvent.handle(SocketTube.java:253)
	at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.handleEvent(HttpClientImpl.java:979)
	at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.lambda$run$3(HttpClientImpl.java:934)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.run(HttpClientImpl.java:934)

Hey @Nam_Ho and @Thai_Nguyen

Do you know what exact date you started experiencing this issue? I’d like to find out if it aligns with our last deployment of the Javascript/Typescript analyzer on SonarCloud.

It would also be helpful if you coulde provide DEBUG analysis logs (adding -X to the sonar-scanner command or setting sonar.verbose=true).

Hi Colin,

The first time I discovered this issue was in 3 Nov 2023.
To be more specific, the analysis progress is slow, seem to be stuck and failed after around 7-15 minutes of running.
This issue make our CI pipelines take very long time to run and the results are always failed.
Please find the debug logs as below:

02:45:24.404 DEBUG: Analyzing file: file:///opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx
02:45:26.279 DEBUG: Analyzing file "/opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx" with linterId "default"
02:45:27.483 INFO: 58/249 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx
02:45:37.694 INFO: 58/249 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx
02:45:47.961 INFO: 58/249 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx
02:45:58.044 INFO: 58/249 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx
02:46:08.149 INFO: 58/249 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx
02:46:18.417 INFO: 58/249 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx
02:46:28.719 INFO: 58/249 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx
02:46:39.077 INFO: 58/249 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx
02:46:49.567 INFO: 58/249 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx
02:47:01.505 INFO: 58/249 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx
02:47:12.263 INFO: 58/249 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx
02:47:23.213 INFO: 58/249 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx
02:47:28.930 DEBUG: The worker thread exited with code 1
02:47:33.764 INFO: 58/249 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx
02:47:43.764 INFO: 58/249 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx
02:47:53.764 INFO: 58/249 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx
02:48:03.765 INFO: 58/249 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx
02:48:13.765 INFO: 58/249 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx
02:48:23.765 INFO: 58/249 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx
02:48:33.765 INFO: 58/249 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx
02:48:43.765 INFO: 58/249 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx
02:48:53.765 INFO: 58/249 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx
02:49:03.765 INFO: 58/249 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx
02:49:13.766 INFO: 58/249 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx
02:49:23.766 INFO: 58/249 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx
02:49:33.766 INFO: 58/249 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx
02:49:43.766 INFO: 58/249 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx
02:49:53.766 INFO: 58/249 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx
02:50:03.766 INFO: 58/249 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx
02:50:13.767 INFO: 58/249 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx
02:50:23.767 INFO: 58/249 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx
02:50:24.519 DEBUG: The bridge server shut down
02:50:24.521 ERROR: Failure during analysis
java.lang.IllegalStateException: The bridge server is unresponsive
	at org.sonar.plugins.javascript.bridge.BridgeServerImpl.request(BridgeServerImpl.java:403)
	at org.sonar.plugins.javascript.bridge.BridgeServerImpl.analyzeTypeScript(BridgeServerImpl.java:367)
	at org.sonar.plugins.javascript.bridge.AnalysisWithProgram.analyze(AnalysisWithProgram.java:163)
	at org.sonar.plugins.javascript.bridge.AnalysisWithProgram.analyzeProgram(AnalysisWithProgram.java:133)
	at org.sonar.plugins.javascript.bridge.AnalysisWithProgram.analyzeFiles(AnalysisWithProgram.java:94)
	at org.sonar.plugins.javascript.bridge.JsTsSensor.analyzeFiles(JsTsSensor.java:132)
	at org.sonar.plugins.javascript.bridge.AbstractBridgeSensor.execute(AbstractBridgeSensor.java:76)
	at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:62)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:75)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.lambda$execute$1(ModuleSensorsExecutor.java:48)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.withModuleStrategy(ModuleSensorsExecutor.java:66)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:48)
	at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:64)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
	at org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer.java:180)
	at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:176)
	at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:147)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
	at org.sonar.scanner.bootstrap.ScannerContainer.doAfterStart(ScannerContainer.java:399)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
	at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart(GlobalContainer.java:127)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
	at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:57)
	at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:51)
	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:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
	at jdk.proxy1/jdk.proxy1.$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)
Caused by: java.net.http.HttpTimeoutException: request timed out
	at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:571)
	at java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:123)
	at org.sonar.plugins.javascript.bridge.BridgeServerImpl.request(BridgeServerImpl.java:398)
	... 39 common frames omitted

Thank you,
Thai Nguyen

hi Colin

I started experiencing this issue on November 22, 2023
I tried again with the debug option but I didn’t see any differences so I didn’t post the log here. As Thai Nguyen mentioned the scanner took so long to analyze the project and then failed.
We’re having 2 projects using (Vue.js v3 and AWS Cloud project with Typescript) the same scanner but this only happens to the Backend project

I’m having the same issue, I recently set up a connection to the sonar cloud so I thought there was a problem with my setup. For reference, my company is also using typescript, 2 projects ( nx, react, redux)

Hi,

We’re getting the same java.lang.IllegalStateException: The bridge server is unresponsive error in our bitbucket pipeline. This only happens on our JS projects. Our PHP pipeline works fine. This started happening last week.

Any update on the last deployment of the Javascript/Typescript analyzer on SonarCloud? Is that a possible problem?

Thanks,

Hi Colin,

Have you got any updates?
I can see that more and more people have encountered this issue and it prevented us from having our code analyzed.
I already stopped using Sonar Scan in the pipeline in order not to waste money on Sonar until this problem is fixed.

1 Like

Hey y’all.

The last two deployments of our Javascript analyzer were around November 2nd and November 28th respectively which may line up with @Thai_Nguyen’s report.

I’ll flag this for attention from our developers, who may request additional information. To start with:

  • What version of NodeJS is being used for analysis? You should find this in the analysis logs at DEBUG level (sonar-scanner -X)

10:41:20.606 DEBUG: Using Node.js v16.20.2.

  • If you’re using Typescript, what version are you targeting?

  • It’s odd that you all seem to be experiencing the issue with Bitbucket. Can you share your bitbucket-pipelines.yml file?

Hi Colin,

NodeJS version is v18.17.0.

07:53:17.190 DEBUG: Using Node.js v18.17.0.

Typescript version is 5.2.2.
Plugin loaded:

JavaScript/TypeScript/CSS Code Quality and Security 10.10.0.24774 (javascript)

Bitbucket pipeline to run SonarCloud scan:

          - pipe: sonarsource/sonarcloud-scan:2.0.0
            variables:
              SONAR_TOKEN: ${SONAR_TOKEN}
              EXTRA_ARGS: '-Dsonar.sources=src -Dsonar.tests=src -Dsonar.test.inclusions="**/__tests__/**/*,**/__mocks__/**/*,**/*.spec.*,**/*.test.*" -Dsonar.javascript.lcov.reportPaths=coverage/lcov.info -Dsonar.testExecutionReportPaths=test-report.xml'

Best regards,
Thai Nguyen

Thanks @Thai_Nguyen. Can you run an analysis (sonar-scanner -X) with -Dsonar.javascript.node.debugMemory=true and provide those logs?

Hi Colin,

Please find debug log file in attachment.

sonarcloud_debug_logs.txt (67.7 KB)

We encountered the same issue with SonarQube 10.3.0.82913 community edition and SonarScanner 5.0.1.3006. We downgraded SonarScanner to 4.8.1 and the problem vanished.

hi folks,

I am working on JS analyzer and I am looking into this issue. @itg-dave would you mind sharing the logs? Ideally both with scanner 5 and 4.8? I am curious because the scanner version should not have any impact on the analysis.

I will have a look at your logs @Thai_Nguyen and post here if I find smth

1 Like

Well, this is interesting. We switched back to the latest scanner version and had no issue so far. I will setup the project again to test if the issue occurs during an initial scan of the files.

Hi folks,

Do you have any update on this issue? It’s been a long time since this issue occurred but currently I am still encountering it everyday with sonarcloud-scan:2.0.0.

hi @Thai_Nguyen,

it seems that analysis is stuck on /opt/atlassian/pipelines/agent/build/src/components/atoms/ThumbnailImage/ThumbnailImage.component.tsx

I would try to exclude this file from the analysis with sonar.excludes . If possible you can also share the file here and I will try to reproduce the issue on my side.

Also, the logs are cut a bit after JS sensor starts, could you post the logs again from the line

Sensor JavaScript/TypeScript analysis [javascript]

Hi Tibor,

The analysis is stuck on different files, not only the above file:

INFO: 51/307 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/store/middlewares/apiErrorHandler.middleware.ts
INFO: 52/307 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/store/rootReducer.ts
ERROR: Failure during analysis
java.lang.IllegalStateException: The bridge server is unresponsive
INFO: 54/323 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/molecules/PhoneTextField/PhoneTextField.component.tsx
INFO: 54/323 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/molecules/PhoneTextField/PhoneTextField.component.tsx
INFO: 54/323 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/molecules/PhoneTextField/PhoneTextField.component.tsx
ERROR: Failure during analysis
java.lang.IllegalStateException: The bridge server is unresponsive
INFO: 14/319 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/InputField/RhsInputField.component.tsx
INFO: 14/319 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/InputField/RhsInputField.component.tsx
INFO: 14/319 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/InputField/RhsInputField.component.tsx
INFO: 14/319 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/components/atoms/InputField/RhsInputField.component.tsx
ERROR: Failure during analysis
java.lang.IllegalStateException: The bridge server is unresponsive

Please see logs block below as your request:

INFO: 52/307 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/store/rootReducer.ts
ERROR: Failure during analysis
java.lang.IllegalStateException: The bridge server is unresponsive
	at org.sonar.plugins.javascript.bridge.BridgeServerImpl.request(BridgeServerImpl.java:403)
	at org.sonar.plugins.javascript.bridge.BridgeServerImpl.analyzeTypeScript(BridgeServerImpl.java:367)
	at org.sonar.plugins.javascript.bridge.AnalysisWithProgram.analyze(AnalysisWithProgram.java:163)
	at org.sonar.plugins.javascript.bridge.AnalysisWithProgram.analyzeProgram(AnalysisWithProgram.java:133)
	at org.sonar.plugins.javascript.bridge.AnalysisWithProgram.analyzeFiles(AnalysisWithProgram.java:94)
	at org.sonar.plugins.javascript.bridge.JsTsSensor.analyzeFiles(JsTsSensor.java:132)
	at org.sonar.plugins.javascript.bridge.AbstractBridgeSensor.execute(AbstractBridgeSensor.java:76)
	at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:62)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:75)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.lambda$execute$1(ModuleSensorsExecutor.java:48)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.withModuleStrategy(ModuleSensorsExecutor.java:66)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:48)
	at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:64)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
	at org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer.java:180)
	at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:176)
	at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:147)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
	at org.sonar.scanner.bootstrap.ScannerContainer.doAfterStart(ScannerContainer.java:399)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
	at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart(GlobalContainer.java:127)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
	at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:57)
	at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:51)
	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:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
	at jdk.proxy1/jdk.proxy1.$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)
Caused by: java.io.IOException: HTTP/1.1 header parser received no bytes
	at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:586)
	at java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:123)
	at org.sonar.plugins.javascript.bridge.BridgeServerImpl.request(BridgeServerImpl.java:398)
	... 39 common frames omitted
Caused by: java.io.IOException: HTTP/1.1 header parser received no bytes
	at java.net.http/jdk.internal.net.http.common.Utils.wrapWithExtraDetail(Utils.java:348)
	at java.net.http/jdk.internal.net.http.Http1Response$HeadersReader.onReadError(Http1Response.java:675)
	at java.net.http/jdk.internal.net.http.Http1AsyncReceiver.checkForErrors(Http1AsyncReceiver.java:302)
	at java.net.http/jdk.internal.net.http.Http1AsyncReceiver.flush(Http1AsyncReceiver.java:268)
	at java.net.http/jdk.internal.net.http.common.SequentialScheduler$LockingRestartableTask.run(SequentialScheduler.java:205)
	at java.net.http/jdk.internal.net.http.common.SequentialScheduler$CompleteRestartableTask.run(SequentialScheduler.java:149)
	at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SchedulableTask.run(SequentialScheduler.java:230)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.net.SocketException: Connection reset
	at java.base/sun.nio.ch.SocketChannelImpl.throwConnectionReset(SocketChannelImpl.java:394)
	at java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:426)
	at java.net.http/jdk.internal.net.http.SocketTube.readAvailable(SocketTube.java:1170)
	at java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$InternalReadSubscription.read(SocketTube.java:833)
	at java.net.http/jdk.internal.net.http.SocketTube$SocketFlowTask.run(SocketTube.java:181)
	at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SchedulableTask.run(SequentialScheduler.java:230)
	at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(SequentialScheduler.java:303)
	at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(SequentialScheduler.java:256)
	at java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$InternalReadSubscription.signalReadable(SocketTube.java:774)
	at java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadEvent.signalEvent(SocketTube.java:957)
	at java.net.http/jdk.internal.net.http.SocketTube$SocketFlowEvent.handle(SocketTube.java:253)
	at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.handleEvent(HttpClientImpl.java:979)
	at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.lambda$run$3(HttpClientImpl.java:934)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.run(HttpClientImpl.java:934)

INFO: Hit the cache for 0 out of 52
INFO: Miss the cache for 52 out of 52: ANALYSIS_MODE_INELIGIBLE [52/52]
INFO: Sensor JavaScript/TypeScript analysis [javascript] (done) | time=308939ms
INFO: Sensor CSS Rules [javascript]
INFO: 1 source file to be analyzed
INFO: 0/1 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/styles/globals.css
INFO: 0/1 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/styles/globals.css
INFO: 0/1 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/styles/globals.css
INFO: 0/1 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/styles/globals.css
INFO: 0/1 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/styles/globals.css
INFO: 0/1 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/styles/globals.css
INFO: 0/1 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/styles/globals.css
INFO: 0/1 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/styles/globals.css
INFO: 0/1 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/styles/globals.css
INFO: 0/1 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/styles/globals.css
INFO: 0/1 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/styles/globals.css
INFO: 0/1 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/styles/globals.css
INFO: 0/1 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/styles/globals.css
INFO: 0/1 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/styles/globals.css
INFO: 0/1 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/styles/globals.css
INFO: 0/1 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/styles/globals.css
INFO: 0/1 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/styles/globals.css
INFO: 0/1 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/styles/globals.css
INFO: 0/1 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/styles/globals.css
INFO: 0/1 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/styles/globals.css
INFO: 0/1 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/styles/globals.css
INFO: 0/1 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/styles/globals.css
INFO: 0/1 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/styles/globals.css
INFO: 0/1 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/styles/globals.css
INFO: 0/1 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/styles/globals.css
INFO: 0/1 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/styles/globals.css
INFO: 0/1 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/styles/globals.css
INFO: 0/1 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/styles/globals.css
INFO: 0/1 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/styles/globals.css
INFO: 0/1 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/styles/globals.css
INFO: 0/1 files analyzed, current file: /opt/atlassian/pipelines/agent/build/src/styles/globals.css
ERROR: Failure during analysis
java.lang.IllegalStateException: Failure during analysis of file:///opt/atlassian/pipelines/agent/build/src/styles/globals.css
	at org.sonar.plugins.javascript.bridge.CssRuleSensor.analyzeFile(CssRuleSensor.java:149)
	at org.sonar.plugins.javascript.bridge.CssRuleSensor.analyzeFiles(CssRuleSensor.java:116)
	at org.sonar.plugins.javascript.bridge.AbstractBridgeSensor.execute(AbstractBridgeSensor.java:76)
	at org.sonar.plugins.javascript.bridge.CssRuleSensor.execute(CssRuleSensor.java:96)
	at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:62)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:75)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.lambda$execute$1(ModuleSensorsExecutor.java:48)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.withModuleStrategy(ModuleSensorsExecutor.java:66)
	at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:48)
	at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:64)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
	at org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer.java:180)
	at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:176)
	at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:147)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
	at org.sonar.scanner.bootstrap.ScannerContainer.doAfterStart(ScannerContainer.java:399)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
	at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart(GlobalContainer.java:127)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
	at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:57)
	at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:51)
	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:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
	at jdk.proxy1/jdk.proxy1.$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)
Caused by: java.lang.IllegalStateException: The bridge server is unresponsive
	at org.sonar.plugins.javascript.bridge.BridgeServerImpl.request(BridgeServerImpl.java:403)
	at org.sonar.plugins.javascript.bridge.BridgeServerImpl.analyzeCss(BridgeServerImpl.java:373)
	at org.sonar.plugins.javascript.bridge.CssRuleSensor.analyzeFile(CssRuleSensor.java:145)
	... 36 common frames omitted
Caused by: java.net.http.HttpTimeoutException: request timed out
	at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:571)
	at java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:123)
	at org.sonar.plugins.javascript.bridge.BridgeServerImpl.request(BridgeServerImpl.java:398)
	... 38 common frames omitted

INFO: Hit the cache for 0 out of 0
INFO: Miss the cache for 0 out of 0
INFO: Sensor CSS Rules [javascript] (done) | time=337509ms
INFO: Sensor JavaScript/TypeScript Coverage [javascript]
INFO: Analysing [/opt/atlassian/pipelines/agent/build/coverage/lcov.info]
INFO: Sensor JavaScript/TypeScript Coverage [javascript] (done) | time=1257881ms
INFO: Sensor CSS Metrics [javascript]
INFO: Sensor CSS Metrics [javascript] (done) | time=51ms
INFO: Sensor IaC Docker Sensor [iac]
INFO: 0 source files to be analyzed
INFO: 0/0 source files have been analyzed
INFO: Sensor IaC Docker Sensor [iac] (done) | time=43ms
INFO: Sensor Serverless configuration file sensor [security]
INFO: 0 Serverless function entries were found in the project
INFO: 0 Serverless function handlers were kept as entrypoints
INFO: Sensor Serverless configuration file sensor [security] (done) | time=5ms
INFO: Sensor AWS SAM template file sensor [security]
INFO: Sensor AWS SAM template file sensor [security] (done) | time=1ms
INFO: Sensor AWS SAM Inline template file sensor [security]
INFO: Sensor AWS SAM Inline template file sensor [security] (done) | time=0ms
INFO: Sensor Generic Test Executions Report
INFO: Parsing /opt/atlassian/pipelines/agent/build/test-report.xml
INFO: Imported test execution data for 97 files
INFO: Sensor Generic Test Executions Report (done) | time=113ms
INFO: Sensor JavaSecuritySensor [security]
INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5147, S5334, S5883, S6096, S6173, S6287, S6350, S6384, S6390, S6398, S6399, S6547, S6549
INFO: Load type hierarchy and UCFGs: Starting
INFO: Load type hierarchy: Starting
INFO: Reading type hierarchy from: /opt/atlassian/pipelines/agent/build/.scannerwork/ucfg2/java
INFO: Read 0 type definitions
INFO: Load type hierarchy: Time spent was 00:00:00.017
INFO: Load UCFGs: Starting
INFO: Load UCFGs: Time spent was 00:00:00.000
INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.018
INFO: No UCFGs have been included for analysis.
INFO: java security sensor: Time spent was 00:00:00.025
INFO: Sensor JavaSecuritySensor [security] (done) | time=48ms
INFO: Sensor CSharpSecuritySensor [security]
INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5883, S6096, S6173, S6287, S6350, S6399, S6639, S6641
INFO: Load type hierarchy and UCFGs: Starting
INFO: Load type hierarchy: Starting
INFO: Reading type hierarchy from: /opt/atlassian/pipelines/agent/build/ucfg2/cs
INFO: Read 0 type definitions
INFO: Load type hierarchy: Time spent was 00:00:00.000
INFO: Load UCFGs: Starting
INFO: Load UCFGs: Time spent was 00:00:00.000
INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000
INFO: No UCFGs have been included for analysis.
INFO: csharp security sensor: Time spent was 00:00:00.001
INFO: Sensor CSharpSecuritySensor [security] (done) | time=2ms
INFO: Sensor PhpSecuritySensor [security]
INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5335, S5883, S6173, S6287, S6350
INFO: Load type hierarchy and UCFGs: Starting
INFO: Load type hierarchy: Starting
INFO: Reading type hierarchy from: /opt/atlassian/pipelines/agent/build/.scannerwork/ucfg2/php
INFO: Read 0 type definitions
INFO: Load type hierarchy: Time spent was 00:00:00.000
INFO: Load UCFGs: Starting
INFO: Load UCFGs: Time spent was 00:00:00.000
INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000
INFO: No UCFGs have been included for analysis.
INFO: php security sensor: Time spent was 00:00:00.000
INFO: Sensor PhpSecuritySensor [security] (done) | time=1ms
INFO: Sensor PythonSecuritySensor [security]
INFO: Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5147, S5334, S5496, S6287, S6350, S6639, S6680, S6776
INFO: Load type hierarchy and UCFGs: Starting
INFO: Load type hierarchy: Starting
INFO: Reading type hierarchy from: /opt/atlassian/pipelines/agent/build/.scannerwork/ucfg2/python
INFO: Read 0 type definitions
INFO: Load type hierarchy: Time spent was 00:00:00.000
INFO: Load UCFGs: Starting
INFO: Load UCFGs: Time spent was 00:00:00.000
INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000
INFO: No UCFGs have been included for analysis.
INFO: python security sensor: Time spent was 00:00:00.000
INFO: Sensor PythonSecuritySensor [security] (done) | time=1ms
INFO: Sensor JsSecuritySensor [security]
INFO: Enabled taint analysis rules: S5334, S2631, S6096, S5144, S3649, S5883, S5146, S6350, S5147, S2083, S5131, S5696, S6105, S6287, S2076
INFO: Load type hierarchy and UCFGs: Starting
INFO: Load type hierarchy: Starting
INFO: Reading type hierarchy from: /opt/atlassian/pipelines/agent/build/.scannerwork/ucfg2/js
INFO: Read 0 type definitions
INFO: Load type hierarchy: Time spent was 00:00:00.000
INFO: Load UCFGs: Starting
INFO: Load UCFGs: Time spent was 00:00:00.000
INFO: Load type hierarchy and UCFGs: Time spent was 00:00:00.000
INFO: No UCFGs have been included for analysis.
INFO: js security sensor: Time spent was 00:00:00.001
INFO: Sensor JsSecuritySensor [security] (done) | time=2ms
INFO: ------------- Run sensors on project
INFO: Sensor Zero Coverage Sensor
INFO: Sensor Zero Coverage Sensor (done) | time=4ms
INFO: SCM Publisher SCM provider for this project is: git
INFO: SCM Publisher 11 source files to be analyzed
INFO: SCM Publisher 11/11 source files have been analyzed (done) | time=276ms
INFO: CPD Executor 13 files had no CPD blocks
INFO: CPD Executor Calculating CPD for 28 files
INFO: CPD Executor CPD calculation finished (done) | time=55ms
INFO: Analysis report generated in 340ms, dir size=798 KB
INFO: Analysis report compressed in 519ms, zip size=447 KB
INFO: Analysis report uploaded in 809ms
INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
INFO: Sensor cache published successfully
INFO: Analysis total time: 32:06.939 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 32:11.011s
INFO: Final Memory: 15M/82M
INFO: ------------------------------------------------------------------------
e[32m✔ SonarCloud analysis was successful.e[0m

The above pipeline was stuck for 32 minutes…

hi @Thai_Nguyen , could you pls post the whole log? there is still part missing.

Hi Tibor,

Is there any private channel that I can share the full log to you (e.g. email…)? I can’t share the full log in public.