Forum Discussion
Ganesh_Ramamoor
Nimbostratus
May 02, 2006Packets not sent to server
I have a very simple iRule:
when HTTP_REQUEST {
if { [HTTP::uri] contains "X1" } {
pool x1
}
elseif { [HTTP::uri] contains "x2" } {
pool x2
}
elseif { [HTTP::uri] contains "x3" } {
pool x3
}
elseif { [HTTP::uri] contains "x4" } {
pool x4
}
}
This was working fine for a long time, but suddenly today it stopped working for just one client. It was working for this client for a while before it stopped working. tcpdump showed the packet (HTTP GET) reaches the appswitch but the packet never got sent out to the server. The TCP connection was always there to the client and to the server and when I finally stopped the server, the appswitch sent a FIN to the client.
Not sure if this problem is iRule related, but I just wanted know if under any circumstances the iRule won't be applied ...
Thanks in advance.
- Ganesh_Ramamoor
Nimbostratus
- Ganesh_Ramamoor
Nimbostratus
- John_Lin_106399
Nimbostratus
I seem to have a similar issue where we use the HTTP::uri starts_with rather than contains. My problem is once packet gets load balanced to one set of pool it seems to get "stuck" there and irule will not process any future requests. So subsequent requests kept on going to the stuck pool rather than being evaluated by irule again. I suspect something with keepalive on the webserver since if I disable keepalive it seems to process through irule again. I'd suggest checking your keepalive setting and see if its enabled. I have a ticket open w/F5 to see if they can shine some light on this issue. - hoolio
Cirrostratus
I would suggest capturing tcpdump traces of a failure and a success and then opening a case with support as this doesn't seem to be a clear iRule issue.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects