OpenShift Logging Cluster Fails Behind F5 Big IP with X-Forwarded-For Enabled
Issue
When application Kibana is behind a F5 big ip with parameter 'X-Forwarded-For = enabled' the following problem:
Kibana: Unknown error while connecting to Elasticsearch
Error: Unknown error while connecting to Elasticsearch
Error: UnknownHostException[No trusted proxies]
at respond (https://kibana.example.com/index.js?_b=7668:86367:15)
at checkRespForFailure (https://kibana.example.com/index.js?_b=7668:86335:7)
at https://kibana.example.com/index.js?_b=7668:84973:7
at wrappedErrback (https://kibana.example.com/index.js?_b=7668:20902:78)
at wrappedErrback (https://kibana.example.com/index.js?_b=7668:20902:78)
at wrappedErrback (https://kibana.example.com/index.js?_b=7668:20902:78)
at https://kibana.example.com/index.js?_b=7668:21035:76
at Scope.$eval (https://kibana.example.com/index.js?_b=7668:22022:28)
at Scope.$digest (https://kibana.example.com/index.js?_b=7668:21834:31)
at Scope.$apply (https://kibana.example.com/index.js?_b=7668:22126:24)
Environment
- Red Hat OpenShift Container Platform
- 3.3.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.