Forum Discussion
TCL error HTTP to HTTPs redirect
Hi when i see logs in LTM device
I am getting this error:
TCL error: /Common/http_to_https_redirect - Operation not supported. Multiple redirect/respond invocations not allowed (line 1) invoked from within "HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri]"
Please help me what is this error and which VIP is getting this error and the irule is
when HTTP_REQUEST { HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri] }
and i couldn't find any VIP details in TCL error from logs is there any way that i can find out the VIP.
Thanks
2 Replies
- Stefan_Klotz
Cumulonimbus
Looks like you are using at least on VIP with this an another iRule, which also tries to perform any kind of redirect or respond command (which is normally the reason for this error message). If there are really no further details in the log which VIP is triggered here, logon to the CLI and open the bigip.conf file to search for it, assuming you are not working with partitions:
pico /config/bigip.confThere you can search with Ctrl+w and enter "/Common/http_to_https_redirect", repeat Ctrl+w to search for more than one occurrence.
Ciao Stefan 🙂
- VernonWells
Employee
To expand a bit on that, normally this error occurs when an explicit redirect is attempted more than once on a single flow. This can occur when a redirect is attempted more than once in the same rule for a common code path, if you have more than one rule attempting a redirect applied to the same Virtual Server, or if you attempt a redirect both with a rule and with an HTTP Local Traffic Policy (or Traffic Class).
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