无法上传报告-HTTP代码413:由于请求实体太大,因此未显示该页面

问题描述 投票:0回答:1

我正在重新安装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设置为最大值的解决方案(请参见下文)。>>

这不能解决我的问题。

enter image description here

我正在设置SonarQube版本7.9.1(内部版本27448)的全新安装。它正在IIS中使用URL重写在反向代理后面运行。我可以很好地登录SonarQube。当...

iis msbuild sonarqube reverse-proxy sonarqube-scan
1个回答
0
投票

我想通了。

© www.soinside.com 2019 - 2024. All rights reserved.