From: michaelbirnstiehl Date: Tue, 1 Dec 2020 20:45:51 +0000 (-0600) Subject: SONAR-13836 Add PKIX path building failed error to analysis FAQ X-Git-Tag: 8.6.0.39681~21 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9a48efc4a8dab3d6756181f4b994e4aeeac4c839;p=sonarqube.git SONAR-13836 Add PKIX path building failed error to analysis FAQ --- diff --git a/server/sonar-docs/src/pages/analysis/overview.md b/server/sonar-docs/src/pages/analysis/overview.md index 613a7c99f40..33e7224f6dc 100644 --- a/server/sonar-docs/src/pages/analysis/overview.md +++ b/server/sonar-docs/src/pages/analysis/overview.md @@ -55,3 +55,6 @@ The icon goes away once processing is complete, but if analysis report processin **Q.** Analysis errors out with `java.lang.OutOfMemoryError: GC overhead limit exceeded`. What do I do? **A.** This means your project is too large or too intricate for the scanner to analyze with the default memory allocation. To fix this you'll want to allocate a larger heap (using `-Xmx[numeric value here]`) to the process running the analysis. Some CI engines may give you an input to specify the necessary values, for instance if you're using a Maven Build Step in a Jenkins job to run analysis. Otherwise, use Java Options to set a higher value. Note that details of setting Java Options are omitted here because they vary depending on the environment. + +**Q.** Analysis errors out with `PKIX path building failed`. What do I do? +**A.** This error tells you that your SonarQube server is configured with HTTPS and a custom SSL certificate. However, the certificate is not correctly configured in the scanner machine’s JVM. This configuration is outside of SonarQube scope. The server certificate is unknown and could not be validated with the provided truststore. You need to add the SonarQube server certificate to the Java truststore. See [Oracle's documentation](https://docs.oracle.com/cd/E19830-01/819-4712/ablqw/index.html) for more information. \ No newline at end of file