Re: HAProxy Healthcheck issue using Virtual hostname

2018-05-04 Thread Igor Cicimov
On Fri, May 4, 2018 at 5:01 PM, Lukas Tribus wrote: > Hello Igor, Sen, > > > On 4 May 2018 at 08:46, Igor Cicimov > wrote: > > Have you tried: > > > > option httpchk GET /env HTTP/1.1\r\nHost:\ %[req.hdr(Host)] > > When you are health checking, you

Re: HAProxy Healthcheck issue using Virtual hostname

2018-05-04 Thread Lukas Tribus
Hello Igor, Sen, On 4 May 2018 at 08:46, Igor Cicimov wrote: > Have you tried: > > option httpchk GET /env HTTP/1.1\r\nHost:\ %[req.hdr(Host)] When you are health checking, you don't have a Host header as you don't have a frontend connection associated to it.

Re: HAProxy Healthcheck issue using Virtual hostname

2018-05-04 Thread Igor Cicimov
Hi, On Fri, Apr 27, 2018 at 3:03 PM, Sen wrote: > Hi > > I have an app deployed in Pivotal Cloudfoundry (PCF) and to route traffic > to an app in PCF, we have to use application route name (virtual hostname). > > We have PCF in two different datacenters and I need to load

Re: HAProxy Healthcheck issue using Virtual hostname

2018-05-03 Thread Sen
Hi I have an app deployed in Pivotal Cloudfoundry (PCF) and to route traffic to an app in PCF, we have to use application route name (virtual hostname). We have PCF in two different datacenters and I need to load balance the traffic to these DCs , but I'm having the challenge in checking the