gpt4 book ai didi

java - (70007)指定的超时已过期 : proxy: error reading status line from remote server

转载 作者:行者123 更新时间:2023-11-28 22:13:09 24 4
gpt4 key购买 nike

我的 apache 访问日志中有这个错误。

我使用 apache 2.2 和 tomcat 7。在访问文件中,我看到 apache 向 tomcat 发送请求,但 tomcat 无法处理所有请求。当错误发生时,我必须重新启动 tomcat 才能使我的应用程序正常工作。

我在 tomcat 上有 2 个 j2ee 应用程序。该应用程序通过 jdbc 连接池使用连接到 posgres 数据库。我在我的应用程序日志中看到它们至少有 4 个免费连接。所以我认为数据库没有问题。

有人知道什么会导致这个错误吗?提前谢谢你!

最佳答案

尝试在 虚拟主机部分 中添加以下 apache 参数,这些参数应该在 httpd.conf 文件中或每个服务器配置的任何其他位置

Timeout 2400
ProxyTimeout 2400
ProxyBadHeader Ignore

这解决了我的问题。我正在使用 Apache 2.4 和 tomcat ajp/http 配置。

关于java - (70007)指定的超时已过期 : proxy: error reading status line from remote server,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21964316/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com