Application errors out over HTTP
When trying to access a web application through the LoadMaster, the server would return "The underlying connection was closed: An unexpected error occurred on a send".
Version: 7.1.35 and above
The end user mentioned that this error is generated when there is a misconfiguration between the client and the virtual server on the load balancer, either not using the same chipper or TLS protocol.
This only happens with a particular web service (cache bot) which runs both HTTP and HTTPS.
|Steps to Reproduce:||
1. Create a HTTPS Virtual Service and add the Real Servers.
2. Add a HTTP redirector by going to the Advanced Properties in the HTTPS Virtual Service.
3. Test against the HTTP Virtual Service that was created. This should redirect from HTTP to HTTPS instead of serving HTTP traffic.
|Error Message:||"The underlying connection was closed: An unexpected error occurred on a send"|
|Cause:||HTTP Virtual Service misconfiguration.|
Looking at the URL that was failing, the request was over HTTP and they had a port 80 VIP configured to do a redirect to HTTPS and not to server HTTP traffic per se. We had to delete the HTTP redirector and the Redirector URL and add both servers on port 80. This solved the issue and the application worked as expected.