[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: 503 - Maintenance page




On Tue, Jun 7, 2016 at 6:45 PM, Ram Ranganathan <rrangana redhat com> wrote:
Is your server always returning 503 - example for a GET/HEAD on / ? That could cause haproxy to mark it as down. 

You can also see the stats in haproxy to look at if the server has been marked down: 
    cmd="echo 'show stat' | socat unix-connect:/var/lib/haproxy/run/haproxy.sock stdio"
    echo "$cmd"  | oc rsh <router-pod-name>    #  replace with router pod name.

Of course my server is returning a 503 for "/' :) (it's down for maintenance). Haproxy thinks no server is available, so it's not even trying to pass the page. Make sense.
Ok, so I guess I'll to use a custom router then :(

Thanks for your help.
Philippe

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]