Forum Discussion
Ed_Vitale_28327
Nimbostratus
Feb 07, 2006error on redirect
Hello citizens of DevCentral:
I have this irule running (v9.2.2)and cant figure out why
i get this error on the redirect. Im hoping its a rookie
mistake ive made. :o) Your help is appreciated.
Thanks
----------------------
when LB_FAILED {
log local0. "enter lb-fail logic"
if {[LB::status pool f5-test-pool-site-1 member 10.50.68.62 80] eq "down" } {
log local0. "LB Status [LB::status pool f5-test-pool-site-1 member 10.50.68.62 80]"
log local0. "enter redir"
HTTP::redirect "http://www.yahoo.com"
log local0. "exit redir"
}
}
----------------------
Feb 7 12:27:53 tmm tmm[1012]: Rule ueav-test-redir : enter lb-fail logic
Feb 7 12:27:53 tmm tmm[1012]: Rule ueav-test-redir : LB Status down
Feb 7 12:27:53 tmm tmm[1012]: Rule ueav-test-redir : enter redir
Feb 7 12:27:53 tmm tmm[1012]: 011f0007:3: http_process_state_header_xfer - Invalid action EV_SINK_HEADER during ST_HTTP_XFER_HEADERS
Feb 7 12:27:53 tmm tmm[1012]: Rule ueav-test-redir : exit redir
Feb 7 12:27:53 tmm tmm[1012]: Rule ueav-test-redir : enter lb-fail logic
Feb 7 12:27:53 tmm tmm[1012]: Rule ueav-test-redir : LB Status down
Feb 7 12:27:53 tmm tmm[1012]: Rule ueav-test-redir : enter redir
Feb 7 12:27:53 tmm tmm[1012]: Rule ueav-test-redir : exit redir
- - - - - - - - - - -
- Colin_Walker_12Historic F5 AccountIt looks like you're trying to invoke the HTTP::redirect command from an event under which it's not valid.
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