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

Luca Rea commented on TS-3212:
------------------------------

In the extended2.log I have:

172.17.0.153 - - [25/Nov/2014:16:17:09 +0100] "GET 
http://abclive.abcnews.com/z/abc_live1@136327/1200_02769fd3e0d85977-p.bootstrap?g=XUXMXKXGEVFN&b=500,300,700,900,1200&hdcore=3.1.0&plugin=aasp-3.1.0.43.124
 HTTP/1.1" 304 0 200 0 0 0 644 186 600 439 0 DIRECT FIN FIN TCP_IMS_MISS

304 is the code returned from ATS to client
200 is the code returned from orgin to ATS

to force ATS to return the code 200 I've added in cache.config the lines below 
(and other variants) without success:

url_regex=".*abcnews.com.*"                          action=never-cache
url_regex=".*abclive.abcnews.com.*"              action=never-cache

if you confirm me you need other details about cache/tcpdump I can repeat some 
tests in the next hours.

> 200 code is returned as 304
> ---------------------------
>
>                 Key: TS-3212
>                 URL: https://issues.apache.org/jira/browse/TS-3212
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Cache
>            Reporter: Luca Rea
>
> The live streaming videos from akamaihd.net CDN cannot be watched because ATS 
> rewrite codes 200 into 304 and videos enter continuosly in buffering status:
> {code}
> GET 
> http://abclive.abcnews.com/z/abc_live1@136327/1200_02769fd3e0d85977-p.bootstrap?g=PDSTQVGEMQKR&b=500,300,700,900,1200&hdcore=3.1.0&plugin=aasp-3.1.0.43.124
>  HTTP/1.1
> Host: abclive.abcnews.com
> User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 
> Firefox/33.0
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> Accept-Language: it-IT,it;q=0.8,en-US;q=0.5,en;q=0.3
> Accept-Encoding: gzip, deflate
> Referer: 
> http://a.abcnews.com/assets/player/amp/2.0.0012/amp.premier/AkamaiPremierPlayer.swf
> Cookie: _alid_=0OHcZb9VLdpbE6LrNYyDDA==
> Connection: keep-alive
> HTTP/1.1 200 OK
> Server: ContactLab
> Mime-Version: 1.0
> Content-Type: video/abst
> Content-Length: 122
> Last-Modified: Tue, 25 Nov 2014 05:28:32 GMT
> Expires: Tue, 25 Nov 2014 15:31:53 GMT
> Cache-Control: max-age=0, no-cache
> Pragma: no-cache
> Date: Tue, 25 Nov 2014 15:31:53 GMT
> access-control-allow-origin: *
> Set-Cookie: _alid_=0OHcZb9VLdpbE6LrNYyDDA==; path=/z/abc_live1@136327/; 
> domain=abclive.abcnews.com
> Age: 0
> Connection: keep-alive
> GET 
> http://abclive.abcnews.com/z/abc_live1@136327/1200_02769fd3e0d85977-p.bootstrap?g=PDSTQVGEMQKR&b=500,300,700,900,1200&hdcore=3.1.0&plugin=aasp-3.1.0.43.124
>  HTTP/1.1
> Host: abclive.abcnews.com
> User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 
> Firefox/33.0
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> Accept-Language: it-IT,it;q=0.8,en-US;q=0.5,en;q=0.3
> Accept-Encoding: gzip, deflate
> Referer: 
> http://a.abcnews.com/assets/player/amp/2.0.0012/amp.premier/AkamaiPremierPlayer.swf
> Cookie: _alid_=0OHcZb9VLdpbE6LrNYyDDA==
> Connection: keep-alive
> If-Modified-Since: Tue, 25 Nov 2014 05:28:32 GMT
> HTTP/1.1 304 Not Modified
> Date: Tue, 25 Nov 2014 15:31:58 GMT
> Expires: Tue, 25 Nov 2014 15:31:58 GMT
> Cache-Control: max-age=0, no-cache
> Connection: keep-alive
> Server: ContactLab
> {code}
> using the url_regex to skip cache/IMS doesn't work, the workaround is the 
> following line in records.config:
> CONFIG proxy.config.http.cache.cache_urls_that_look_dynamic INT 0



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

Reply via email to