So I have been hitting this error for days now. I have googled and googled but nothing seems to resolve my scenario and am hoping someone out there can help.
The problem:
When I disable SSL offloading in ARR (Routing Rules) I receive the following:
502 - Web server received an invalid response while acting as a gateway or proxy server.
There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.
So, digging further, I enabled Failed Request Tracing to capture the error. The log offers the following info:
- view trace Warning -MODULE_SET_RESPONSE_ERROR_STATUS
ModuleName: ApplicationRequestRouting
Notification: EXECUTE_REQUEST_HANDLER
HttpStatus: 502
HttpReason: Bad Gateway
HttpSubStatus: 3
ErrorCode: 2147954430
- view trace Warning -SET_RESPONSE_ERROR_DESCRIPTION
ErrorDescription: The connection with the server was terminated abnormally
My Config:
2 x ARR/NLB Servers
- Server 2012
- NLB (Clustered)
- ARR 3 (Server Farm)
- IIS 8 (Shared configuration, Centralized Certificates (CCS))
2 x Content Servers
- Server 2012
- IIS 8 (Shared configuration, Centralized Certificates)
- Default VS 2013 MVC 5.2 application template
Basically, I am trying to accomplish load balancing and redundancy up front via NLB and ARR. I went by the book on all the configuration. These are all fresh installs with only bare minimum components installed. The certificate is self signed through AD CA. Root CA is installed in trusted cert authorities on all servers.
Everything works perfectly over port 80 (non SSL) and when I enable SSL offloading in ARR. However, due to application constraints, I cannot enable offloading.
Hitting the content servers directly works fine via http and https (aside from browser warning about certificate).
I've tried installing the certificate on each server and selecting in the site binding rather than selecting Centralized Certificate Store, but it doesn't seem to matter as I get the same results when ARR is the requester.
Below I've attached the relevant config files. Many thanks in advance.