[ 
https://issues.apache.org/jira/browse/TS-2945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thibault Marquand updated TS-2945:
----------------------------------

    Description: 
The balancer plugin can't load-balance on others ports than 80.

In documentation of the plugin, there is nothing about how to load-balance on 
others ports.
Syntax in remap.config :
map http://foo.com http://foo.com @plugin=balancer.so @pparam=--policy=hash,url 
@pparam=one.bar.com @pparam=two.bar.com

I obviously try this : 
map http://foo.com http://foo.com @plugin=balancer.so @pparam=--policy=hash,url 
@pparam=one.bar.com:8080 @pparam=two.bar.com:8080

But ATS continues to hit on port 80 on my web server and in error.log I get 
this :
status 502 (Connect Error <Connection refused/111>) for 
'http://two.bar.com:8080/'

  was:
The balancer plugin can't load-balancer on other ports than 80.

In documentation of the plugin, there is nothing about how to load-balance on 
others ports.
Syntax in remap.config :
map http://foo.com http://foo.com @plugin=balancer.so @pparam=--policy=hash,url 
@pparam=one.bar.com @pparam=two.bar.com

I obviously try this : 
map http://foo.com http://foo.com @plugin=balancer.so @pparam=--policy=hash,url 
@pparam=one.bar.com:8080 @pparam=two.bar.com:8080

But ATS continue to hit on port 80 on my web server and in error.log I get this 
:
status 502 (Connect Error <Connection refused/111>) for 
'http://two.bar.com:8080/'


> balancer plugin forward to other port than 80
> ---------------------------------------------
>
>                 Key: TS-2945
>                 URL: https://issues.apache.org/jira/browse/TS-2945
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Plugins
>            Reporter: Thibault Marquand
>            Assignee: James Peach
>             Fix For: 5.1.0
>
>
> The balancer plugin can't load-balance on others ports than 80.
> In documentation of the plugin, there is nothing about how to load-balance on 
> others ports.
> Syntax in remap.config :
> map http://foo.com http://foo.com @plugin=balancer.so 
> @pparam=--policy=hash,url @pparam=one.bar.com @pparam=two.bar.com
> I obviously try this : 
> map http://foo.com http://foo.com @plugin=balancer.so 
> @pparam=--policy=hash,url @pparam=one.bar.com:8080 @pparam=two.bar.com:8080
> But ATS continues to hit on port 80 on my web server and in error.log I get 
> this :
> status 502 (Connect Error <Connection refused/111>) for 
> 'http://two.bar.com:8080/'



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to