Forum Discussion
LB_Failed when serverssl profile is used
I have a VS that is doing SSL offloading and re-encrypting to some URI's using irules. The problem I'm having is that I get a LB_Failed event in my logs when going to the unencrypted pool/"http_pool". If I remove the serverssl profile from the VS then it works fine and I don't get any events logged. The problem loading the page seems to be intermittant, sometimes it works just fine; other times I have the error. (Of course my re-encryption doesn't work which is fine during my testing)
Also I noticed when in this error condition; using Firefox/Firebug to look at the HTTP data, the POST doesn't time out until 60 seconds have passed. If I adjust theHandshake Timeout" on the serverssl profile to say 10 seconds then it still fails but after 10 seconds vs. the 60 seconds. "
I did a tcpdump to see what was coming into the F5 and going out to the servers. I think I noticed is that the POST coming into the VS isn't being send to the server correctly... it's not sending the POST correctly to the intended http_pool member.
BigIP version 9.4.5
b rule test_https_irule '{
when HTTP_REQUEST {
set http_uri [HTTP::uri]
set http_host [HTTP::header "Host"]
set client_addr [IP::client_addr]
if { [HTTP::uri] starts_with "/http" } {
SSL::disable serverside
use pool http_pool
}
elseif { [HTTP::uri] starts_with "/https" } {
use pool https_pool
}
else {
SSL::disable serverside
use pool http_pool_default
}
}
}
virtual test_https '{
destination 10.10.10.1:443
ip protocol 6
rules
header_insert_https_indicator
test_https_irule
profiles
http_redirect_rewrite_profile
serverssl
tcp-lan-optimized
serverside
tcp-wan-optimized
clientside
wildcard_worldkat.dev.oclc.org clientssl profile
}
Thanks for looking and for any advice/direction!!
Leonardo
- hooleylistCirrostratusHi Leonardo,
- hooleylistCirrostratusAlso, a URI of /https would match the first check in your rule for a URI starting with /http. You might want to check for /https first if those are the literal URI tokens you're testing with.
- hooleylistCirrostratus
...
- Michael_YatesNimbostratusCould you send us what the error is that you are seeing in the LTM Log?
when HTTP_REQUEST { set http_uri [HTTP::uri] set http_host [HTTP::header "Host"] set client_addr [IP::client_addr] if { [HTTP::uri] starts_with "/https" } { use pool https_pool } elseif { [HTTP::uri] starts_with "/http" } { SSL::disable serverside use pool http_pool } else { SSL::disable serverside use pool http_pool_default } }
- Leonardo_39231NimbostratusHi Leonardo,
- natheCirrocumulusLeonardo
- Leonardo_39231Nimbostratus
I tried disabling the SSL in SERVER_CONNECTED event and looks like it's working now! Thanks for the suggestion Nathan and thanks for everyone else's input. Not sure why it didn't work the other way but I'm happy to have a way for this to work as expected. Thanks everyone!
Recent Discussions
Related Content
* 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