Asp.net 获得;服务器提交了一个协议冲突“;在我将网站移动到另一台服务器之后
我要走了Asp.net 获得;服务器提交了一个协议冲突“;在我将网站移动到另一台服务器之后,asp.net,https,nuget,Asp.net,Https,Nuget,我要走了 --------------------------- NuGet Package Explorer --------------------------- The server committed a protocol violation. Section=ResponseHeader Detail=Header name is invalid 当我尝试使用nuget软件包资源管理器下载nuget软件包时 这是在我将nuget服务器(asp.net web app)从具有http端
---------------------------
NuGet Package Explorer
---------------------------
The server committed a protocol violation. Section=ResponseHeader Detail=Header name is invalid
当我尝试使用nuget软件包资源管理器下载nuget软件包时
这是在我将nuget服务器(asp.net web app)从具有http端点的azure网站移动到具有https端点的内部部署服务器后开始发生的
它在使用同一个客户机(NuGet Package Explorer)之前就工作了,所以很明显错误在服务器上
我曾尝试在web.config中设置useUnsafeHeaderParsing=“true”,但没有帮助
<system.net>
<settings>
<httpWebRequest useUnsafeHeaderParsing="true" />
</settings>
</system.net>
好吧,我承认网络对我来说是人类有史以来最不可靠的发明 我让我的托管提供商将url转发到端口443而不是:80,我在IIS管理器中编辑了默认网站的绑定:80->http和443->https,突然一切正常 有人解释一下吗