I have a web application running on IIS and connected to a load balancer. I have only one backend server for now. If I run the application from load balancer with public IP, application runs perfectly fine.
There are multiple HTTP requests in single web page.
When I connect WAF, there are 502/504 timeout errors for some http requests. No WAF rules are configured as yet. (I have DNS maintained separately in AWS with CName pointing to WAF). If I check log, error is "connection got closed abruptly". My guess is- connection is not maintained live over all the server calls from same web page.
Interestingly, I created one more copy of application and created another WAF with exact same parameters appear to work perfectly well. How does WAF behave differently while all other parameters are created same?
Is there change in source IP/source referred or something from one to another HTTP request when requests are routed through WAF?
Anyone facing similar issue? Appreciate any help. Thanks