Forum Discussion
Jon_Strabala_46
Nimbostratus
Apr 29, 2010iRule to avoide "Invalid action EV_COLLECT during ST_HTTP_EARLY_100CONTINUE" error
Hello,
I have an a few messages in my /var/ltm/log which I really do not understand anything about they are of the form:
Invalid action EV_COLLECT during ST_HTTP_EARLY_100CONTINUE (S...
Jon_Strabala_46
Nimbostratus
Apr 03, 2012Emanuele,
Gosh it was a while ago 14 months, sorry I can not remember exactly what fixed it (it might even have been my HTTP profile .... or an upgrade to the LTM software ... I am just not positive) but perhaps this will help.
Hmm, I still get a few of the messages so at best I limited the number of messages going to my /var/log/ltm log file. I think you might want to try a STREAM instread of a COLLECT - I just haven't had the time to port my work yet.
It is possible that a code block like this might have helped - limit the issues.
when HTTP_RESPONSE {
set okay 1
if {[HTTP::status] != 200} {
set okay 0
}
if {(!([HTTP::header "Content-Type"] starts_with "text/html"))} {
set okay 0
}
if {$okay == 1} {
Trigger collection for up to 1MB of data
if {[HTTP::header exists "Content-Length"] && [HTTP::header "Content-Length"] <= 1048576}{
set content_length [HTTP::header "Content-Length"]
} else {
set content_length 1048576
}
if { [info exists content_length] && $content_length > 0} {
this will trigger the HTTP_RESPONSE_DATA action block
HTTP::collect $content_length
} else {
set okay 0
}
}
if {$okay == 0} {
log the issue here or not you skipped
}
}
when HTTP_RESPONSE_DATA {
only apply transformations if okay== 1, e.g. had a minimal set of html tags
if {$okay == 1} {
set content [string tolower [HTTP::payload]]
}
*
*
*
this could be a big a 1MB free up ASAP now that we are done
unset content
}
Or perhaps I possibly I limited the issue via altering the ONECONNECT statement:
when HTTP_REQUEST {
ONECONNECT::reuse enable
ONECONNECT::reuse disable
*
*
}
Regards,
Jon Strabala
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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