Forum Discussion

nyif5_225400's avatar
nyif5_225400
Icon for Nimbostratus rankNimbostratus
Jun 21, 2016

streaming on iAPP is failing

Hi

Can someone guide me what is wrong with the configuration of stream setting in my F5.

the goal is to simply replace http to https in the http header iApp is created and virtual server is set to Stream Profile = stream... when I apply iRule, LTM throws following error

 01070394:3: STREAM::disable in rule (/Common/istadplus_stay_SP) requires an associated STREAM profile on the virtual server (/Common/istadsplus-stay.app/istadsplus-stay_vs). 

`when HTTP_REQUEST {
    if { ( [string tolower [HTTP::host]] eq "abc-lb-web.aaa.com" ) && ( [HTTP::uri] eq "/stable/") } {
    HTTP::redirect "https://abc-lb-web.aaa.com/connStable/"
    }
   STREAM::disable
   HTTP::header remove "Accept-Encoding"
}
when HTTP_RESPONSE {

   if {[HTTP::header value Content-Type] contains "text"}{
      STREAM::expression {@http://@https://@}
      STREAM::enable
   }
}`