# 503 Service Unavailable No server is available to handle this request

**URL:** <https://discourse.haproxy.org/t/503-service-unavailable-no-server-is-available-to-handle-this-request/9222>\
**Category:** Help!\
**Created:** [November 10, 2023, 7:25am UTC](https://discourse.haproxy.org/t/503-service-unavailable-no-server-is-available-to-handle-this-request/9222 "2023-11-10T07:25:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![newbie2023](https://avatars.discourse-cdn.com/v4/letter/n/c77e96/32.png) [@newbie2023](https://discourse.haproxy.org/u/newbie2023)\
**Post date:** [November 10, 2023, 7:25am UTC](https://discourse.haproxy.org/t/503-service-unavailable-no-server-is-available-to-handle-this-request/9222/1 "2023-11-10T07:25:51Z")

</div>

Hello, im newbie for configuration haproxy, so im faced problem " **503 Service Unavailable**

**No server is available to handle this request.**" when configured with ssl and based url. heres my configuration :

```auto
global
        log /dev/log local0
        log /dev/log local1 notice
        chroot /var/lib/haproxy
        stats socket /run/haproxy/admin.sock mode 660 level admin expose-fd listeners
        stats timeout 30s
        user haproxy
        group haproxy
        daemon

defaults
        log global
        mode http
        option httplog
        option dontlognull
        timeout connect 10s
        timeout client 60s
        timeout server 60s
        errorfile 400 /etc/haproxy/errors/400.http
        errorfile 403 /etc/haproxy/errors/403.http
        errorfile 408 /etc/haproxy/errors/408.http
        errorfile 500 /etc/haproxy/errors/500.http
        errorfile 502 /etc/haproxy/errors/502.http
        errorfile 503 /etc/haproxy/errors/503.http
        errorfile 504 /etc/haproxy/errors/504.http

frontend http_in
        mode http
        option httplog
        bind *:80
        option forwardfor
        acl host_server1 hdr(host) -i exampleweb.com
        acl host_server1 hdr(host) -i www.exampleweb.com

        use_backend http_server1 if host_server1

backend http_server1
        mode http
        option forwardfor
		server myserver exampleipaddress:80 check

frontend https_in
        mode tcp
        option tcplog
        bind *:443 ssl crt /pathto/mycrt.pem alpn h2,http/1.1 ssl-min-ver TLSv1.2
        acl tls req.ssl_hello_type 1
        tcp-request inspect-delay 5s
        tcp-request content accept if tls

        acl host_server1 hdr(host) -i exampleweb.com
        acl host_server1 hdr(host) -i www.exampleweb.com

backend https_server1
        mode http
        option ssl-hello-chk
        server myserver exampleipaddress:443 weight 1 maxconn 8192 check ssl verify none

```

And this is the log :

```auto
Nov 10 06:58:10 haproxy haproxy[1766947]: [WARNING] (1766947) : Server https_server1/myserver is DOWN, reason: Layer6 invalid response, check duration: 22m>
Nov 10 06:58:10 haproxy haproxy[1766947]: [NOTICE] (1766947) : haproxy version is 2.4.22-0ubuntu0.22.04.2
Nov 10 06:58:10 haproxy haproxy[1766947]: [NOTICE] (1766947) : path to executable is /usr/sbin/haproxy
Nov 10 06:58:10 haproxy haproxy[1766947]: [ALERT] (1766947) : backend 'https_server1' has no server available!

```

And i already search in forum, following some step but still get that error.

Thankyou for helping me 🙂
