Forum Discussion
iRules randomly generating error
This is on an older 9.4.3 that we will be replacing in the next month or so but I have an iRule that throws errors randomly. I can't figure out why. We see allot of traffic on these vips and it will throw this error perhaps 5% of the time.
Nov 29 05:19:40 tmm tmm[1676]: 01220001:3: TCL error: X-Forwarded-For - Operation not supported (line 1) invoked from within "HTTP::header insert X-
Forwarded-For [IP::remote_addr]"
This is my iRule;
when HTTP_REQUEST {
HTTP::header insert X-Forwarded-For [IP::remote_addr]
}
Any input would be appreciated is this is enough to spam our logs and perhaps causing problems that we have not discovered yet.
Thanks
Pat
2 Replies
- What_Lies_Bene1
Cirrostratus
I can't think of why this would be an issue. Have you tried switching to using the XFF option in a HTTP Profile instead? - pmilot
Altostratus
Not yet, that was my next step however if I did not figure this out soon.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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