Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
错误(104):对等机(Linux RHEL、Apache HTTP服务器和IIS服务器)重置连接_Linux_Apache_Iis_Proxy_Reverse Proxy - Fatal编程技术网

错误(104):对等机(Linux RHEL、Apache HTTP服务器和IIS服务器)重置连接

错误(104):对等机(Linux RHEL、Apache HTTP服务器和IIS服务器)重置连接,linux,apache,iis,proxy,reverse-proxy,Linux,Apache,Iis,Proxy,Reverse Proxy,我有LinuxRHEL服务器,我在上面安装了ApachedHTTP代理服务器。我有第二台Windows服务器,它在IIS服务器上安装了.net应用程序 我正在使用代理服务器将调用重定向到IIS服务器。但几乎在30分钟后,HTTP错误日志上的错误就降低了 [错误][客户端xxx.xxx.xx.xxx](104)对等方重置连接:代理:从远程服务器xxx.xxx.xxx.xx(IIS服务器IP)读取状态行时出错 [错误][client xxx.xxx.xx.xxx]代理:从远程服务器读取/web/ur

我有LinuxRHEL服务器,我在上面安装了ApachedHTTP代理服务器。我有第二台Windows服务器,它在IIS服务器上安装了.net应用程序

我正在使用代理服务器将调用重定向到IIS服务器。但几乎在30分钟后,HTTP错误日志上的错误就降低了

[错误][客户端xxx.xxx.xx.xxx](104)对等方重置连接:代理:从远程服务器xxx.xxx.xxx.xx(IIS服务器IP)读取状态行时出错 [错误][client xxx.xxx.xx.xxx]代理:从远程服务器读取/web/url/2920357返回的错误

我在httpd.conf文件中保留了所有默认设置,并在下面添加了支持设置以重定向请求

<VirtualHost *:80>
          ServerName server_name
          ProxyRequests     off
          ProxyPreserveHost on
          ProxyPass / http://IIS_SERVER_IP/
          ProxyPassReverse / http://IIS_SERVER_IP/

          <Proxy *>
               Order deny,allow
               Allow from all
          </Proxy></VirtualHost>

服务器名称服务器名称
代理请求关闭
代理主机
ProxyPass/http://IIS_SERVER_IP/
ProxyPassReverse/http://IIS_SERVER_IP/
命令拒绝,允许
通融
请让我知道,如果有任何额外的设置,我必须在代理服务器


发现了类似的问题,但他们没有提供任何解决方案。

在您提供的链接上,我发现了可能的解决方案

解决方法:

确保已启用mod_env并将其设置为httpd.conf

SetEnv force-proxy-request-1.0 1

SetEnv代理nokeepalive 1

你试过了吗