I’m having an issue when I apply a stream on a VS using APM. APM automatically logs out and says “Your session could not be established”. I have other irules applied, I just cant seem to get this work properly with APM. What could be causing this issue? Thanks
Below is the iRule.
when HTTP_REQUEST {
STREAM::disable HTTP::header remove “Accept-Encoding” }
when HTTP_RESPONSE {
if { [HTTP::header value Content-Type] contains “text” } { if { $static::stream_replace_debug } { log local0. “[IP::client_addr]:[TCP::client_port]: MIME type matches. Enabling STREAM profile”} STREAM::expression {@@} Enable stream profile
STREAM::enable
} }