unable to point HAProxy to RabbitMQ services
jaymart95
PROOP

2 years ago

[NOTICE]   (7) : haproxy version is 2.7.12-5e21fc9
[NOTICE]   (7) : path to executable is /usr/local/sbin/haproxy
[ALERT]    (7) : config : [/usr/local/etc/haproxy/haproxy.cfg:23] : 'server rabbitmq_back/rabbit1' : could not resolve address 'rabbitmq-main.railway.internal'.
[ALERT]    (7) : config : Failed to initialize server(s) addr.
[NOTICE]   (7) : haproxy version is 2.7.12-5e21fc9
[NOTICE]   (7) : path to executable is /usr/local/sbin/haproxy
[ALERT]    (7) : config : [/usr/local/etc/haproxy/haproxy.cfg:23] : 'server rabbitmq_back/rabbit1' : could not resolve address 'rabbitmq-main.railway.internal'.
[ALERT]    (7) : config : Failed to initialize server(s) addr.
[NOTICE]   (7) : haproxy version is 2.7.12-5e21fc9
[NOTICE]   (7) : path to executable is /usr/local/sbin/haproxy
[ALERT]    (7) : config : [/usr/local/etc/haproxy/haproxy.cfg:23] : 'server rabbitmq_back/rabbit1' : could not resolve address 'rabbitmq-main.railway.internal'.
[ALERT]    (7) : config : Failed to initialize server(s) addr.

not sure what i'm missing here? is it somethign to do with how HA resolves the names ?

22 Replies

jaymart95
PROOP

2 years ago

148eb60b-cb64-411a-8789-fbfd534512b7


2 years ago

are you trying to expose the metrics endpoint for rabbitmq?


jaymart95
PROOP

2 years ago

no im tryna use this as a load balancer for 2 different rabbitMQ instances


2 years ago

HAProxy supports layer 4 load balancing?


jaymart95
PROOP

2 years ago

yes



2 years ago

oh cool


2 years ago

are the two rabbitmq services in the same project?


jaymart95
PROOP

2 years ago

yes


2 years ago

are those logs from the deploy logs?


jaymart95
PROOP

2 years ago

yeeea for HAProxy


2 years ago

is the haproxy service on the v2 runtime?


jaymart95
PROOP

2 years ago

no legacy


2 years ago

switch to v2


jaymart95
PROOP

2 years ago

try v2?


jaymart95
PROOP

2 years ago

brother


jaymart95
PROOP

2 years ago

they need to put you on payroll


jaymart95
PROOP

2 years ago

lmaooo


jaymart95
PROOP

2 years ago

thank you so much.


2 years ago

haha i know this because i read the changelogs 😉


jaymart95
PROOP

2 years ago

true true. thanks a bunch


2 years ago

no problem!


Loading...