我正在重新安装SonarQube版本7.9.1(内部版本27448)
它使用URL重写在IIS中的反向代理后面运行。
我可以很好地登录SonarQube。
使用sonar-scanner-msbuild-4.7.1.2311-net46对我的.Net解决方案(一个很大的解决方案)进行分析时失败。经过编译和分析后,它最终失败了。
INFO: Analysis report generated in 33994ms, dir size=196 MB
INFO: Analysis report compressed in 191901ms, zip size=71 MB
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
INFO: Total time: 1:46:46.636s
INFO: Final Memory: 20M/746M
ERROR: Error during SonarQube Scanner execution
INFO: ------------------------------------------------------------------------
ERROR: Failed to upload report - HTTP code 413: The page was not displayed because the request entity is too large.
ERROR:
The SonarQube Scanner did not complete successfully
00:52:36.207 Post-processing failed. Exit code: 1
使用Googling HTTP 413找到了一些启用<serverRuntime>
并将uploadReadAheadSize
设置为最大值的解决方案(请参见下文)。>>
这不能解决我的问题。
我正在设置SonarQube版本7.9.1(内部版本27448)的全新安装。它正在IIS中使用URL重写在反向代理后面运行。我可以很好地登录SonarQube。当...
我想通了。