【发布时间】:2020-03-03 07:37:33
【问题描述】:
我正在设置全新安装的 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
谷歌搜索 HTTP 413 找到了一些解决方案来启用 <serverRuntime> 并将 uploadReadAheadSize 设置为最大值(见下文)。
这并没有解决我的问题。
【问题讨论】:
-
用FRT看看哪个模块给你413,docs.microsoft.com/en-us/iis/troubleshoot/…
标签: iis msbuild sonarqube reverse-proxy sonarqube-scan