Forum Discussion

Samir_Jha_52506's avatar
Samir_Jha_52506
Icon for Noctilucent rankNoctilucent
Mar 03, 2016

Strange issue in irule

Hi F5 Expert

I am facing strange issue with irule. Same irule is working with HTTP & responding header values but not responding any header value with HTTPS VIP. Any

            when HTTP_REQUEST {
                    if { ([class match [string tolower [HTTP::uri]] contains xyz-int]) and ( [HTTP::uri] contains "xbimmmaw") } {
                           HTTP::respond 200 content “STATUS=6144; FO=0;” noserver Server abc
                     }
            }
HTTP response Header

Header: Serverxxxyz21

ConnectionKeep-Alive

Content-Length18

Content: STATUS=6144; FO=0;

HTTPS Resonce

Response: “ERR_CONNECTION_RESET” in browser

5 Replies

  • Hi Samir,

    please provide the output of the iRule below and also take a look if your iRule has already logged some errors...

    when CLIENT_ACCEPTED {
        log local0. "I'm connected to the VS"
    }
    when CLIENTSSL_HANDSHAKE {
        log local0. "I'm SSL handshaked with the VS"
    }
    when HTTP_REQUEST {
        log local0. "The VS understands my HTTP request."
    }
    

    Cheers, Kai

  • is the behaviour as expected with the irule not attached?