Moe_Jartin
Jan 12, 2009Cirrus
F5 Sending TCP RESET
I have an iRule with two parts. The first part prepends a root folder to requests to certain URIs and that is working fine. The second part removes that same root folder from responses from the server. When I apply this second part of the irule and try the VIP I get a TCP RESET. I initialy thought that this was coming from the server but I did a capture on both sides of the F5 and noticed that it is the F5 that is sending the RESETs to both the browser and the server.
Here is the part of the iRule the appears to caus ehte RESET:
when HTTP_RESPONSE {
Remove /contextroot from HTTP responses
if {[[HTTP::header value "Content-Type"] contains text]} {
STREAM::expression "@/contextroot@@"
STREAM::enable
} else {
STREAM::disable
}
}
For the full iRule see http://devcentral.f5.com/Default.aspx?tabid=53&forumid=5&postid=31267&view=topic.
So the question, Why is the F5 resetting the TCP session? I do have Response Rechunk set in the http profile. Any other ideas?