Hello,

On Fri, Jan 15, 2016 at 12:19:24AM +0800, ?????? wrote:
> Dear crew:
>       Sorry to bother you, I'v try everything I could to fix this problem but
>       I fail. I need some help. I'm using Synapse with HAProxy 1.6.3 .
> 
> 
> Here is the config file.
> 
> 
> 
> 
> 
> global
> 
>         daemon
> 
>         user haproxy
> 
>         group haproxy
> 
>         maxconn 4096
> 
>         log     127.0.0.1 local0
> 
>         log     127.0.0.1 local1 notice
> 
>         stats   socket /var/haproxy/stats.sock mode 666 level admin
> 
> defaults
> 
>         log      global
> 
>         option   dontlognull
> 
>         maxconn  2000
> 
>         retries  3
> 
>         timeout  connect 5s
> 
>         timeout  client  1m
> 
>         timeout  server  1m
> 
>         option   redispatch
> 
>         balance  roundrobin
> 
> 
> 
> 
> listen stats
> 
>         bind *:3212
> 
>         mode http
> 
>         stats enable
> 
>         stats uri /
> 
>         stats refresh 5s
> 
> 
> 
> 
> frontend automall-web-fontend
> 
>         mode http
> 
>         bind localhost:3011
> 
>         default_backend automall-web-fontend
> 
> 
> 
> 
> backend automall-web-fontend
> 
>         mode http
> 
>         option httpchk /health
> 
>         server localhost:3010_default-web localhost:3010 cookie 
> localhost:3010_default-web check inter 2s rise 3 fall 2
> 
> 
> 
> 
> 
>  Did I miss something? I deploy node server listening port 3010. with the
>  health check and return status 200 OK. 
> 

I don't understand, the error you're referring to is only emitted
when using "http-check expect" directives and there is none in this
configuration. Are you *absolutely certain* this is the correct
configuration and that haproxy was started with this config ?

Willy


Reply via email to