#unable to point HAProxy to RabbitMQ services

24 messages · Page 1 of 1 (latest)

devout meteor
#
[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 ?

green joltBOT
#

Project ID: 148eb60b-cb64-411a-8789-fbfd534512b7

devout meteor
#

148eb60b-cb64-411a-8789-fbfd534512b7

zenith helm
#

are you trying to expose the metrics endpoint for rabbitmq?

devout meteor
#

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

zenith helm
#

HAProxy supports layer 4 load balancing?

devout meteor
#

yes

zenith helm
#

oh cool

#

are the two rabbitmq services in the same project?

devout meteor
#

yes

zenith helm
#

are those logs from the deploy logs?

devout meteor
#

yeeea for HAProxy

zenith helm
#

is the haproxy service on the v2 runtime?

devout meteor
#

no legacy

zenith helm
#

switch to v2

devout meteor
#

try v2?

#

brother

#

they need to put you on payroll

#

lmaooo

#

thank you so much.

zenith helm
#

haha i know this because i read the changelogs 😉

devout meteor
#

true true. thanks a bunch

zenith helm
#

no problem!