Forum Discussion
Error encountered when redirecting http to https
Hello,
I have configured a Performance Layer 4 virtual server. I have installed the following iRule on it:
when HTTP_REQUEST {HTTP::redirect https://[HTTP::host][HTTP::uri]}
The client protocol profile for the virtual server is set to fastL4. The HTTP profile is set to HTTP. My VIP is set to 15.15.15.0/24. The HTTP client machine IP is 11.11.11.200 The HTTP server machine (in the virtual server pool) IP is 10.10.10.50
Now, when I send a HTTP GET request through the box, I do not see a redirect message on the client. Using, wget I can get the entire webpage that was requested on HTTP.
I checked the ltm log, and it shows this error message:
bigip1 err tmm[13295]: 011f0007:3: http_process_state_prepend - Invalid action:0x109010 (Server side: vip=/Common/vServer2 profile=http pool=/Common/myPool2 server_ip=10.10.10.50)
I would appreciate any help that I can get on this.
Thanks, Rachit
I recommend starting here:
Even though your log messages don't exactly match, it appears that this can still be the cause. If this does not appear to be the issue, I recommend opening an F5 Support case.
- Vernon_97235Historic F5 Account
I recommend starting here:
Even though your log messages don't exactly match, it appears that this can still be the cause. If this does not appear to be the issue, I recommend opening an F5 Support case.
- rachitbiyani_21NimbostratusHello Vernon, So using a Standard virtual server instead of a HTTP virtual server resolved the issue. I believe that it needed an HTTP profile for the iRule to be applied. Thanks, Rachit
- VernonWellsEmployee
I recommend starting here:
Even though your log messages don't exactly match, it appears that this can still be the cause. If this does not appear to be the issue, I recommend opening an F5 Support case.
- rachitbiyani_21NimbostratusHello Vernon, So using a Standard virtual server instead of a HTTP virtual server resolved the issue. I believe that it needed an HTTP profile for the iRule to be applied. Thanks, Rachit
- VernonWellsEmployee
That iRule certainly needs the http profile (because it hooks the HTTP_REQUEST and HTTP::redirect command). Did you have the VS type set to "Performance (HTTP)" without an http profile? At this point, I'm just curious :).
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