Hello all,

We are using Traffic Server to modify content in conjunction with HAproxy to 
balance. Our setup for an example website is this:

Normal: www.example.com<http://www.example.com> -> origin.server.ip
CNAME alias: example.alias.somedomain.com -> HAproxy balancer -> Traffic Server 
proxy -> origin.server.ip

When I map  haproxy.ip www.example.com<http://www.example.com>  in my local 
host file, everything works fine. HAproxy balances and send the requests to TS, 
then on to the OS.
But when the alias is used (so host: www.example.com<http://www.example.com> 
but goes to example.alias.somedomain.com), it does not work, and I get some 
errors in /error.log :

CONNECT:[1] could not connect [INACTIVE_TIMEOUT] to HAproxy.balancer.ip for 
'some url'

Why do I get these error when using an alias? Should I modify the active 
timeouts in records.config?

Thanks.

Reply via email to