tcp mode for backend was missing... sorry for spamming... On 8 May 2015 at 17:36, Andrija Panic <andrija.pa...@gmail.com> wrote:
> Hi, > > we are trying to setup ACS to loadbalance ACS MGMT ports - all fine except > 8250: > > basic settings: > > frontend front_ACS_8250 10.xx.10.100:8250 > option tcplog > mode tcp > default_backend back_8250 > backend back_8250 > balance source > server acs1_8250 10.XXX.10.7:8250 check port 8250 inter 2000 rise > 3 fall 3 > server acs2_8250 10.XXX.10.8:8250 check port 8250 inter 2000 rise > 3 fall 3 > > Front end is alive (443-->8080), and all fine > > Then we try to change agent.properties to point to 10.XXX.10.100 -VIP. > And restart agent. > > Then we get error in agent.log: > > 2015-05-08 17:09:21,691 INFO [utils.nio.NioClient] (Agent-Selector:null) > Connecting to 10.XXX.10.100:8250 > 2015-05-08 17:09:21,702 ERROR [utils.nio.NioConnection] > (Agent-Selector:null) Unable to initialize the threads. > java.io.IOException: SSL: Fail to init SSL! javax.net.ssl.SSLException: > Unrecognized SSL message, plaintext connection? > at com.cloud.utils.nio.NioClient.init(NioClient.java:90) > at com.cloud.utils.nio.NioConnection.run(NioConnection.java:113) > at java.lang.Thread.run(Thread.java:745) > > > I dont know what the problem would be, haproxy is set in TCP MODE, and > it's done per guides on ACS docs, and other "tutorials" on google. > > Any help appreciated. > > -- > > Andrija Panić > -- Andrija Panić