I have F5 set up as SSL terminator, and there 2 Apaches behind virtual server configured on F5. Apache’s are running on port 80.
Now, SSL is working well, and I could browse around the application in the browser on HTTPS.
But, at one point, application launches a popup, i.e. nothing but certain module of same app. The issue is, this popup shows correct data as long as data is coming from same server. If server for some reason returns 302, this popup shows a screen with message connection reset by server.
In Apache log, I do see 302 being sent in response. I added irule in LTM to see if load bal receives it or not, and surprisingly load bal did not receive this 302.
I am perplexed with this behavior as why this happens on 302s, and overall logic behind connection reset, and missing 302 from LTM logs.
I came across something called SNAT config, but not sure if that is right way to go as am at loss in coming up with logic for current behavior. Any help would be greatly appreciated.
If Apache is sending a 302 response to the LTM but you don’t see the response being parsed on LTM, I’d suggest capturing tcpdumps on the web server and each VLAN that the traffic passes the LTM through. You can use syntax like:
If you get any response via the VIP to the Apache web server the routing should be fine. tcpdumps should give you enough information to continue troubleshooting the issue.