Forum Discussion
keith_varga_107
Nimbostratus
Jul 30, 2013F5 irule points to websockets server, but no response back
Currently, we run 32bit 10.2.3 F5.
We are trying to use websockets via an irule.
For example, the user comes in via the https F5 virtual server, and is directed via an irule to the websoc...
keith_varga_107
Nimbostratus
Jul 30, 2013correct, we do need to disable http for it to work, and it does. however, we still wanted to have the irule, and the F5 said we couldn't have the irule and http profile enabled together. We found a solution though. Simply add the HTTP::disable
directive to the irule, and now it works!
when HTTP_REQUEST {
HTTP::header insert "X_CLIENT_IP" [IP::client_addr]
HTTP::header insert "X-Forwarded-For" [IP::client_addr]
if { [string tolower [HTTP::uri]] starts_with "/ws" } {
pool EXPQA_Pool_11_12
HTTP::disable
return
} else {
pool EXPQA_Pool
return
}
}
thanks much all
-Keith
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