【问题标题】:HTTP2_Protocol Error in Production with https protocol使用 https 协议的生产中的 HTTP2_Protocol 错误
【发布时间】:2020-06-10 08:56:18
【问题描述】:

在将 https 与 IIS 结合使用时,我们在生产环境中的开发工具上间歇性地收到 ERR_HTTP2_PROTOCOL_ERROR

这适用于 http 协议 (QA)。我们使用的是 IIS 10。

我们正在使用 React Framework 16.11.0 版本并且 fetch 方法失败。 这发生在所有浏览器(edge、chrome 等)中。请参阅下面的附件。

在网下分享日志数据。

{"params":{"**description":"Server reset stream.","net_error":"ERR_HTTP2_PROTOCOL_ERROR","stream_id":183},"phase":0,"source":**{"id":2567,"start_time":"1619763469","type":1},"time":"1619779275","type":222},

【问题讨论】:

  • 团队对此有何更新?

标签: c# reactjs https iis-10


【解决方案1】:

其他浏览器是否出现错误?比如火狐或者EDGE。似乎该错误仅与客户端有关,而不与服务器端有关。或者,尝试在 IIS10 中禁用 HTTP/2。
How to disable HTTP/2 on IIS of Windows Server 2016
或禁用TLS1.2 看看它是否有效。
https://support.secureauth.com/hc/en-us/articles/360019889231-Enable-Disable-SSL-TLS-versions-via-Registry-Editor
查看此链接了解更多信息。
https://forum.seafile.com/t/http-2-breaks-some-functionalities/9474

【讨论】:

  • 这是所有浏览器的相同行为。我们无法禁用 Http2 协议。这是在生产中,在 QA 环境中使用 HTTP 没有任何问题。
猜你喜欢
  • 1970-01-01
  • 2019-09-13
  • 1970-01-01
  • 2012-07-31
  • 2010-09-13
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2023-04-04
相关资源
最近更新 更多