F5 Load Balancer Configuration for Cloud Foundry Loggregator


Does any one have any experience configuring F5 load balancers in front of the CF routers? We have configured F5 and app https and cf push requests are working fine. However, the connectivity with loggregator is not working. Taking a look at the documentation, it requires "websocket support" on the load balancer. We've done the configuration specified here:


With the following irule basically, applying the default TCP profile if it detects websocket traffic:

if { [string tolower [HTTP::header Upgrade]] contains "websocket" }{

However, we are running into errors. Doing `cf logs myapp1` yields:

Error dialing loggregator server: read tcp <ip redacted>:443: connection reset by peer.
Please ask your Cloud Foundry Operator to check the platform configuration (loggregator endpoint is wss://loggregator.<sys domain redacted>:443).

Does anyone have a clue?


Join {cf-dev@lists.cloudfoundry.org to automatically receive all group messages.