http2:info(70007)指定的超时已过期:client x.x.x.x:xxxxx AH02950:h2_session(2):错误读取,终止

时间:2017-09-08 12:58:36

标签: apache http2

我使用certbot从Let的加密中成功安装了SSL证书。我的网站似乎没有任何问题。 我的服务器是Apache / 2.4.18上的Ubuntu 16.04。我安装了http2模块,似乎工作正常。

但是,当我检查我的Apache error.log时,我收到了大量这样的消息:

[Fri Sep 08 14:43:05.714366 2017] [http2:info] [pid 2129] (70007)The timeout specified has expired: [client 195.221.155.11:56932] AH02950: h2_session(6): error reading, terminating
[Fri Sep 08 14:44:35.424938 2017] [http2:info] [pid 1559] (70007)The timeout specified has expired: [client 178.149.169.177:35524] AH02950: h2_session(3): error reading, terminating
[Fri Sep 08 14:45:44.538785 2017] [http2:info] [pid 32149] (70007)The timeout specified has expired: [client 80.215.162.154:28341] AH02950: h2_session(20): error reading, terminating
[Fri Sep 08 14:48:43.594498 2017] [http2:info] [pid 1331] (70007)The timeout specified has expired: [client 90.28.109.155:51857] AH02950: h2_session(1): error reading, terminating
[Fri Sep 08 14:48:44.456602 2017] [http2:info] [pid 2129] (70007)The timeout specified has expired: [client 78.192.12.171:50312] AH02950: h2_session(6): error reading, terminating
[Fri Sep 08 14:49:04.443087 2017] [http2:info] [pid 2141] (70007)The timeout specified has expired: [client 178.50.64.162:27963] AH02950: h2_session(24): error reading, terminating
[Fri Sep 08 14:49:04.443166 2017] [http2:info] [pid 2631] (70007)The timeout specified has expired: [client 178.50.64.162:17882] AH02950: h2_session(26): error reading, terminating
[Fri Sep 08 14:50:28.678586 2017] [http2:info] [pid 2582] (70007)The timeout specified has expired: [client 37.18.174.227:16896] AH02950: h2_session(11): error reading, terminating

我注意到当我用浏览器显示我网站的任何页面时,页面显示效果很好,但大约5分钟后我在日志中显示此错误消息。

有人知道如何阻止我的error.log尖叫吗?

1 个答案:

答案 0 :(得分:0)

将Apache升级到更高版本。

请参阅此错误,例如:https://github.com/icing/mod_h2/issues/72

自2.4.18以来mod_http2发生了很多变化,它只是放弃了#34;实验"状态见2.4.26。有关详细信息,请参阅此答案:https://serverfault.com/questions/840827/should-we-use-apaches-http2