Forum Discussion
Moe_Jartin
Cirrus
Jan 12, 2009F5 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?
- hoolio
Cirrostratus
When you see a reset being sent to the client and/or server while testing an iRule, you can check the /var/log/ltm log file for any related errors. I expect you'll see an error about "1" or "0" not being a valid command. If you replace this: - Moe_Jartin
Cirrus
GUI wouldn't take:
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