Hi Vasanth and Miles, 
    Thank you for your response! I have checked the records. 
<http://records.cn/>config, the two lines are correctly set. 

A few observations that I didn’t state clearly in the last email. 
1. I can PUSH locally without problem. (using either 127.0.0.1 or the ip of the 
node)
2. I can GET from a remote node without problem. 
3. But when I PUSH from the remote note, it gives me the error. 
4. ip_allow is used by ATS effectively, if I remove the lines, it can stop 
remote node GET the content. 


I have tried several combinations of the following rules in ip_allow.config, 
none of them allows remote node to push successfully. 
Any thoughts what I might have missed? Thank you! 


src_ip=0.0.0.0-255.255.255.255                    action=ip_allow  method=ALL
src_ip=remoteIP action=ip_allow method=ALL
src_ip=remoteIP action=ip_allow method=GET|PUSH
dest_ip=127.0.0.1 action=ip_allow method=ALL
dest_ip=localIP action=ip_allow method=ALL


Best, 
Jason 


> On Mar 28, 2019, at 11:54 AM, Miles Libbey <[email protected]> wrote:
> 
> I usually see 'Not Found on Accelerator' errors when the request to
> ATS does not match a remap rule (my experience is usually with remaps
> required). I believe the error is different when ip_allow rejects the
> request. Presumably you'd be able to fetch the object from origin with
> the same url without the PUSH method -- does that work?
> 
> On Wed, Mar 27, 2019 at 10:10 PM Jason Yang <[email protected]> 
> wrote:
>> 
>> Hi community,
>>    I am trying to push some content into ATS, but it seems it only works 
>> when I push locally (on the same node), otherwise I get the following error. 
>> I have checked my ip_allow.config, I have tried to add either of the 
>> following lines, but none of them work. What else could be wrong? Thank you!
>> 
>> src_ip=0.0.0.0-255.255.255.255                    action=ip_allow  method=ALL
>> src_ip=172.31.64.5 (ip of the push node) action=ip_allow method=ALL
>> 
>> 
>> 
>> Error message
>> 
>> HTTP/1.1 404 Not Found
>> Date: Thu, 28 Mar 2019 05:04:38 GMT
>> Connection: close
>> Via: http/1.1 CDN-test (ApacheTrafficServer/8.0.2 [c s f ])
>> Server: ATS/8.0.2
>> Cache-Control: no-store
>> Content-Type: text/html
>> Content-Language: en
>> Content-Length: 297
>> 
>> <HTML>
>> <HEAD>
>> <TITLE>Not Found on Accelerator</TITLE>
>> </HEAD>
>> 
>> <BODY BGCOLOR="white" FGCOLOR="black">
>> <H1>Not Found on Accelerator</H1>
>> <HR>
>> 
>> <FONT FACE="Helvetica,Arial"><B>
>> Description: Your request on the specified host was not found.
>> Check the location and try again.
>> </B></FONT>
>> <HR>
>> </BODY>
>> 
>> 
>> Best,
>> Jason

Reply via email to