Apache ProxyPass => IIS 8

TL; DR:通过Apache ReverseProxy将超过5分钟的Web任务出错。 时间较短的任务/报告成功。 直接访问报告成功( http://internalserver/foobar.aspx而不是http://public.mycompany.com/foobar.aspx )。 我应该在哪里看,我缺less什么超时

我有一个Apache实例切换到HTTPS,然后ProxyPassing一个请求沿着它的快乐方式…到Windows Server 2012 R2 IIS 8实例。

Browser <==> Apache 2.2.15 <==> IIS 8 (Windows 2012 R2, IIS 8.5.9600.16384) <==> Web App (<==> database) 

一切都只是厚脸皮 – 直到一个“长时间运行”的报告被启动。 直接在Windows服务器上运行时,报告需要大约6分钟。 当从浏览器运行时,更短的报告成功 – 但这最终失败。

网页错误:

 502 Proxy Error Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET /app/LongRunningReport.aspx. Reason: Error reading from remote server 

ssl_error:

 ==> ssl_error_log <== [Wed Nov 04 14:59:48 2015] [error] [client 192.168.1.225] (104)Connection reset by peer: proxy: error reading status line from remote server 192.168.1.179 [Wed Nov 04 14:59:48 2015] [error] [client 192.168.1.225] proxy: Error reading from remote server returned by /app/LongRunningReport.aspx 

ssl.conf中:

 LoadModule ssl_module modules/mod_ssl.so Listen 192.168.1.101:443 SSLPassPhraseDialog builtin SSLSessionCache shmcb:/var/cache/mod_ssl/scache(512000) SSLSessionCacheTimeout 1200 SSLMutex default SSLRandomSeed startup file:/dev/urandom 256 SSLRandomSeed connect builtin SSLCryptoDevice builtin <VirtualHost 192.168.1.101:443> ErrorLog logs/ssl_error_log TransferLog logs/ssl_access_log LogLevel warn SSLEngine on SSLProtocol all -SSLv2 -SSLv3 SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS SSLCertificateFile conf.d/ssl.crt/test.crt SSLCertificateKeyFile conf.d/ssl.key/test.key SSLCertificateChainFile conf.d/ssl.crt/2015.crt SSLCACertificateFile conf.d/ssl.crt/Company_Root_CA.cer <Files ~ "\.(cgi|shtml|phtml|php3?)$"> SSLOptions +StdEnvVars </Files> <Directory "/var/www/cgi-bin"> SSLOptions +StdEnvVars </Directory> CustomLog logs/ssl_request_log "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" ServerName test.company.com RedirectMatch ^/$ https://test.company.com/app/login.aspx SSLProxyEngine on ProxyPass / https://192.168.1.179/ ProxyPassReverse / https://192.168.1.179/ SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1 SetEnv proxy-initial-not-pooled 1 TimeOut 1200 ProxyTimeout 1200 </VirtualHost> SSLInsecureRenegotiation off SSLHonorCipherOrder on IIS Settings: Advanced Settings > Limits > Connection Time-out (seconds): 1200 Session State > Cookie Settings > Timeout (in minutes): 20 

我们已经尝试将所有超时设置增加到1200(20分钟) – 在Apache和IIS中。

我错过了什么? 什么可能导致Apache和IIS之间的proxyerror消息?