【发布时间】:2015-05-13 16:21:13
【问题描述】:
当我尝试通过 SSL 向 Asp.net Web API 发送一个非常大的 POST 调用时,我收到了这个错误。
我知道重新谈判的现象。
我的 uploadReadAheadSize 设置为最大值。 (2147483647)
谁能告诉我一些我应该尝试的选择吗?
这是来自 Chrome 开发控制台的请求和响应:
我也尝试了以下命令,但没有结果:
C:\Windows\System32\inetsrv\appcmd.exe 设置配置“Web API” -section:system.webServer/ServerRuntime /enabled:"1024000" /commit:apphost
C:\Windows\System32\inetsrv\appcmd.exe 设置配置“Web API” -section:system.webServer/ServerRuntime /uploadReadAheadSize:"1024000" /commit:apphost
【问题讨论】:
-
您的链接涉及 WCF 服务的问题。我在谈论 Web API。对不起,我应该提到这一点。
标签: iis ssl http-status-code-413