Hi community and Miles,
Thank you for the suggestion. I have solved the problem which was because
the host in push url/request and the host where push request was sent to were
different.
However, I get another problem, somehow the push on ATS does not work when
there are concurrent push requests and I get the following error, anyone knows
how to solve this? Thank you! I wish everyone has a good weekend :)
400 HTTP/1.1 400 Cache Write Failed
Date: Fri, 29 Mar 2019 21:24:39 GMT
Connection: close
Via: http/1.1 CDN-testLat_ARCH1_4_3_1-1 (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: 207
<HTML>
<HEAD>
<TITLE>Error</TITLE>
</HEAD>
<BODY BGCOLOR="white" FGCOLOR="black">
<H1>Error</H1>
<HR>
<FONT FACE="Helvetica,Arial"><B>
Description: Could not process this request.
</B></FONT>
<HR>
</BODY>
Best,
Jason
> On Mar 28, 2019, at 11:54, 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