SonarQube Version: v24.12.0.100206
Issue Description:
We have implemented a retry mechanism for the Mulesoft project creation process, meaning the project creation attempt is retried up to four times per pipeline. However, each attempt results in the same error:
RequestException 504 Server Error: Gateway Time-out for URL: https://sonar.cds.de/api/projects/create message=<Response [504]>
Use Case:
Our Mulesoft product allows customers to initialize new Mulesoft projects using the project initializer tool. As part of our offering, we provide static code analysis for these projects, automating the creation of corresponding projects in SonarQube via the SonarQube API.
Troubleshooting Steps Taken:
-
Retried the API call multiple times within the pipeline.
-
Verified SonarQube API availability and authentication.
Request for Assistance: -
What could be the possible reasons for encountering a 504 Gateway Timeout when calling the
/api/projects/create
endpoint? -
Are there any recommended configurations or adjustments to prevent this issue?
-
Could this be related to SonarQube’s rate limiting, resource allocation, or API throttling?
We appreciate your support and guidance on this matter. Please let us know if any further details are required.