Hello,

I am having trouble with Haproxy using a configuration was previously worked 
and am getting a very odd to me error

Jan 11 13:58:00 ca04vlhaproxy01 haproxy[16077]: [ALERT] 010/135800 (16077) : 
Proxy 'graylog_back': unable to find required default_backend: '#002'.

graylog.cfg configuration file:

frontend graylog_back
    description graylog log backend
    bind :5040-5046,:4514,:5514
    mode tcp
    log global
    option tcplog
    default_backend graylog_back

backend graylog_back
    description graylog log backend
    mode tcp
    timeout connect 5000
    timeout server 5000
    option httpchk HEAD /api/system/lbstatus HTTP/1.1
    http-check send hdr Host graylog.agilitypr.internal
    http-check expect ! rstatus ^5 # only 5xx is bad
    #timeout check 2000 # optional setting defaults to inter value if unset
    balance roundrobin
    server graylog01 ca04vlgraylogweb01.agilitypr.internal check check-ssl port 
443 verify required ca-file ca-certificates.crt fall 2 rise 2 inter 2000
    server graylog02 ca04vlgraylogweb02.agilitypr.internal check check-ssl port 
443 verify required ca-file ca-certificates.crt fall 2 rise 2 inter 2000

There are two things I don't understand,

  1.  Why the error is labeling the missing backend as #002
  2.  And why haproxy cannot find the backend that is in the same config file 
as the respective frontend


haproxy -vv
HA-Proxy version 2.2.26-1ppa1~focal 2022/12/09 - https://haproxy.org/
Running on: Linux 5.11.0-1019-aws #20~20.04.1-Ubuntu SMP Tue Sep 21 10:40:39 
UTC 2021 x86_64

Thank you
Regards
Jason

[cid:image001.png@01D925C8.3C057DA0]
Jason Grammenos | Operations & Infrastructure Analyst
Pronouns: he/him
P: 613.232.7797 x1131
Toll-free: 866.545.3745 x1131
jason.gramme...@agilitypr.com<mailto:jason.gramme...@agilitypr.com>
agilitypr.com<https://agilitypr.com/>
Learn new PR tips from our free resources<https://www.agilitypr.com/resources/>.

Reply via email to