Forum Discussion
Rudi_95802
Nimbostratus
Jul 26, 2010Possible Bug?
Urgent help required Please. I'm using the BigIp to serve a fallback page. It works like a charm when the iRule is applied from within the GUI. But after when I make vi changes to my bigip.conf the Irule applied within the GUI gives the following error when I "b load". " BIGpipe parsing error (Line 1085): 012e0021:3: The requested attribute () for 'rule' is invalid."
I've isolated the problem to the hyperlink href. In editor mode BigIP doesn't like the http in the link. If I remove the http the new config can be loaded successfully. See Irule below. I'm really desperate. Defining the HTML as a class gives the same result.
I've attached the iRule.
Kind Regards
VAN
8 Replies
- hoolio
Cirrostratus
Hi Van, - Rudi_95802
Nimbostratus
My apology, lost the attachment somehow.when RULE_INIT { set ::sorry {This site is temporarily not available. If you would like to validate whether this is planned downtime, please click on the xxxx Logo}} when HTTP_REQUEST {
- Rudi_95802
Nimbostratus
Sorry this is the complete rulewhen RULE_INIT { set ::sorry {This site is temporarily not available. If you would like to validate whether this is planned downtime, please click on the xxxx Logo}} when HTTP_REQUEST { if {[active_members pool_sharepoint_sorrytest] == 0}{ switch [string tolower [HTTP::path]] { /error/image.jpeg { HTTP::respond 200 content [b64decode [lindex $::sorrypage 0]] "Content-Type" "image/jpeg" } default { HTTP::respond 200 content $::sorry } } } }
- hoolio
Cirrostratus
And I forgot to ask, which LTM version are you running? - Rudi_95802
Nimbostratus
My Apologies yet again. Been one of those days. - hoolio
Cirrostratus
I tested on 9.4.8 and couldn't reproduce the issue. But there have been a lot of parser issues that are only seen when running 'b load' as opposed to saving an iRule. For this specific issue, it looks like it's been fixed between 9.4.3 and 9.4.8. It would be good for you to upgrade to fix this and many other issues. In the meantime, can you try this for the sorry HTML:set ::sorry "This site is temporarily not available. If you would like to validate whether this is planned downtime, please click on the xxxx Logo"
- hoolio
Cirrostratus
The forums are munging the code block. The basic idea I was trying to suggest was to remove the outer curl braces from the ::sorry variable value and remove the inner double quotes: - Rudi_95802
Nimbostratus
Thanks for the incredible rapid feedback Aaron!!! Will try it quickly otherwise upgrade. Will let you know!
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