Forum Discussion

Matjaz_Lenarcic's avatar
Matjaz_Lenarcic
Icon for Nimbostratus rankNimbostratus
Mar 01, 2024

Connection reset

Hi everyone,

Recently i have a problem with iRule to redirect uri to url with error secure connection failed - connection reset. I use the iRule below to redirect. 

 

when HTTP_REQUEST {
if { [HTTP::uri] equals "/"}
 {
    HTTP::redirect "https://[HTTP::host]/example/"
 }
}

 

Can anyone help me?

 

regards

 

Matjaž

2 Replies

  • I don't see anything wrong with the code.

    I would use developer tools in the browser to see if the redirect is received and maybe get some more info there.

    Also a packet capture could help.

  • What does the virtual server configuration look like? Do you have an HTTP profile applied? Client SSL profile? Do you have any other iRules applied to the virtual server which may be conflicting with this iRule?