You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Zhao Yongming (JIRA)" <ji...@apache.org> on 2015/03/03 07:04:04 UTC

[jira] [Commented] (TS-3360) TS don't use peer IP address from icp.config

    [ https://issues.apache.org/jira/browse/TS-3360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14344597#comment-14344597 ] 

Zhao Yongming commented on TS-3360:
-----------------------------------

I think that is only an default config file misleading, as due to the official doc:
https://docs.trafficserver.apache.org/en/latest/reference/configuration/icp.config.en.html#std:configfile-icp.config

the Hostname and HostIP only need to specify one of them, not both :D

can you provide an update on the default config file to make it clear?

> TS don't use peer IP address from icp.config
> --------------------------------------------
>
>                 Key: TS-3360
>                 URL: https://issues.apache.org/jira/browse/TS-3360
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Configuration, ICP
>            Reporter: Anton Ageev
>             Fix For: 5.3.0
>
>
> I use TS 5.0.1.
> I try to add peer in icp.config:
> {code}
> peer1|192.168.0.2|2|80|3130|0|0.0.0.0|1|
> {code}
> But I got in the log:
> {code}
> DEBUG: (icp_warn) ICP query send, res=90, ip=*Not IP address [0]*
> {code}
> The only way to specify peer IP is to specify *real* hostname:
> {code}
> google.com|192.168.0.2|2|80|3130|0|0.0.0.0|1|
> {code}
> ICP request to google.com in the log:
> {code}
> DEBUG: (icp) [ICP_QUEUE_REQUEST] Id=617 send query to [173.194.112.96:3130]
> {code}
> Host IP (second field) is parsed to {{\*Not IP address \[0\]\*}} always.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)