【问题标题】:Issue with Apache 2.4.43 https while using proxy pass使用代理传递时 Apache 2.4.43 https 的问题
【发布时间】:2020-05-27 14:45:34
【问题描述】:

我是使用 Jboss EAP 7 作为 Web 服务器的 Apache 配置新手。我使用 Jboss EAP 7 作为 Web 服务器,我在其中部署了运行良好的应用程序。它侦听端口号为 8080 的 http。当我尝试使用 http 从 Apache 访问应用程序时,它运行良好。但是来自 https 的相同方法不起作用。 Apache 版本是 2.4.43 。下面是我的配置。

<VirtualHost x.x.x.x:80>
ProxyPass /Hello http://x.x.x.x:8080/Hello
ProxyPassReverse /Hello http://x.x.x.x:8080/Hello
</VirtualHost>

The above works fine.

But the below is not working

<VirtualHost x.x.x.x:443>
ProxyPass /Hello http://x.x.x.x:8080/Hello
ProxyPassReverse /Hello http://x.x.x.x:8080/Hello
</VirtualHost>

出现以下错误。不确定可能是什么问题?以下是 Apache 服务器记录的错误:

[proxy:error] (70007)The timeout specified has expired: AH01084: pass request body failed to x.x.x.x:8080 
[proxy_http:error]   AH01097: pass request body failed to x.x.x.x:8080 

在浏览器中,我收到如下 504 错误消息。

网关没有收到来自上游服务器或应用程序的及时响应。

谁能帮我解决这个问题?

谢谢,

Suresh

【问题讨论】:

    标签: java apache jboss webserver


    【解决方案1】:

    我的证书似乎有问题。相同的配置在其他环境中使用有效证书也可以正常工作。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-03-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-09-01
      相关资源
      最近更新 更多