Last analysis failed Analysis ID "e4e49f6e-b6ae-4449-8ea0-a3959657adc7"

Template for a good new topic, formatted with Markdown:

  • ALM used: GitHub
  • CI system used: None, automatic analysis
  • Languages of the repository: Python
  • Private repo
  • Error observed: First import into SonarQube Cloud gave this
    last analysis failed errror.

Hi,

The analysis ran for approximately 6 minutes and 40 seconds before failing with the following error:

java.lang.IllegalStateException: The bridge server is unresponsive. 
It might be because you don't have enough memory

Caused by: java.net.http.HttpTimeoutException: request timed out

The JavaScript/TypeScript analyzer (which also analyzes HTML files in your Python project) ran out of memory and became unresponsive, causing the entire analysis to fail with exit code 3.

In Automatic Analysis mode on SonarQube Cloud, the scanner runs with predefined resource allocations that cannot be adjusted by users. Your project appears to have files (likely HTML files) that require more memory than what’s available in the automatic analysis environment.

Your best option here is to switch to CI-based analysis, where you’ll be able to tune the memory available to analysis with the SONAR_SCANNER_OPTS environment variable by setting E.G.:

SONAR_SCANNER_OPTS: "-Xmx2048m"

 
HTH,
Ann