Apache http2:info(70007)指定的超时已过期:客户端x.x.x.x:xxxxx AH02950:h2_会话(2):读取错误,正在终止
我成功地安装了来自的SSL证书,让我们使用certbot加密。我的网站似乎运行没有任何问题。 我的服务器是Apache/2.4.18上的Ubuntu 16.04。我安装了http2模块,它似乎工作正常 但是,当我检查我的Apache error.log时,我会收到大量这样的消息:Apache http2:info(70007)指定的超时已过期:客户端x.x.x.x:xxxxx AH02950:h2_会话(2):读取错误,正在终止,apache,http2,Apache,Http2,我成功地安装了来自的SSL证书,让我们使用certbot加密。我的网站似乎运行没有任何问题。 我的服务器是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 1
[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那样尖叫吗?将Apache升级到更高版本 例如,请参见此错误:
自2.4.18以来,mod_http2有很多变化,仅在2.4.26中放弃了“实验”状态。有关更多详细信息,请参见此答案:将Apache升级到更高版本 例如,请参见此错误:
自2.4.18以来,mod_http2有很多变化,仅在2.4.26中放弃了“实验”状态。有关更多详细信息,请参阅此答案:非常感谢。升级到apache 2.4.27时,我遇到了以下错误:
[http2:warn][pid 25095]AH10034:mod_http2不支持mpm模块(prefork.c)。mpm决定如何在服务器中处理内容。HTTP/2在这方面有更多的要求,而当前选择的mpm将不起作用。这是一个警告。您的服务器将继续工作,但HTTP/2协议将处于非活动状态。
因此我禁用了mpm\u预工作,并启用了与FastCGI的mpm\u事件,非常感谢您。升级到apache 2.4.27时,我遇到了以下错误:[http2:warn][pid 25095]AH10034:mod_http2不支持mpm模块(prefork.c)。mpm决定如何在服务器中处理内容。HTTP/2在这方面有更多的要求,而当前选择的mpm将不起作用。这是一个警告。您的服务器将继续工作,但HTTP/2协议将处于非活动状态。
因此我禁用了mpm\U预工作,并使用fastcgi启用了mpm\U事件