Error Observed
12:44:33.190 INFO: ------------------------------------------------------------------------
12:44:33.190 INFO: EXECUTION FAILURE
12:44:33.190 INFO: ------------------------------------------------------------------------
12:44:33.190 INFO: Total time: 1:29.471s
12:44:33.318 INFO: Final Memory: 45M/2230M
12:44:33.318 INFO: ------------------------------------------------------------------------
12:44:33.318 ERROR: Error during SonarQube Scanner execution
12:44:33.318 ERROR: Failed to upload report - HTTP code 413: <html>
<head><title>413 Request Entity Too Large</title></head>
<body bgcolor="white">
<center><h1>413 Request Entity Too Lar
Version - Server: Sonarqube 7.7.0.23042 in docker container
Version - Scanner: SonarQube Scanner 3.3.0.1492
Version Java: Java 1.8.0_121 Oracle Corporation (64-bit)
Explanation:
I am trying to conduct an analysis on an application and received this error at the end of the execution.In the container, what would the path be to change the client_max_body_size value to 100M?
Apparently the server will reject requests by default if they are too large. This is difficult to deal with when you develop large applications.
I have searched around the server and I cannot find if it is using Apache or ngix, however the error is constant for either server. Other applications scan completely fine, while larger ones will encounter this error message during execution.
Reproduce:
Scan an application with more than 6000 files and it will fail.
Suggestion:
Add a way to change the client value size in the administration control plane (panel, page, etc).
Workaround:
None