Forum Discussion
Willy
Feb 09, 2016Nimbostratus
TCL error :Prerequisite operation not in progress (line ...
I have an iRule that looks like this :
when HTTP_REQUEST {
if {[HTTP::path] eq "/"} {
HTTP::uri "/newpath"
pool website-pool}
}
It seems to do his job, but sometimes the next error appear...
Willy
Feb 18, 2016Nimbostratus
Thank you for the suggestion about the combination of the iRules. At this moment the next iRule is in place :
when HTTP_REQUEST {
if {[HTTP::uri] starts_with "/partinsert"} {
if { [string tolower [HTTP::header Upgrade]] contains "websocket" }{
log local0. "websocket detected"
HTTP::disable
}
}
else {
HTTP::uri "/partinsert[HTTP::uri]"
}
}
The goal is to insert a text like partinsert into the url if it is not there, because of tha mentioned solution 14814 HTTP has to be disabled if websocket is detected. However this solution keeps on giving me the TCL error if a webconnect header is detected. I would like to solve the error message. This error is displayed :
err tmm4[9434]: 01220001:3: TCL error: _plugin_rule_/Common/pluginasm - Prerequisite peration not in progress (line 1) invoked from within "HTTP::class asm"
Any suggestions ?
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects