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

我正在设置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设置为最大值(见下文)。

这不能解决我的问题。

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

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

我想通了。

这是请求过滤功能。我不得不上Maximum allowed content length (Bytes)

enter image description here

请参见Large File Upload in IIS

本文链接:https://www.f2er.com/3149713.html

大家都在问