Hi ,

 

I am not sure this issue on Content_Length it means previous log byte range requests cannot FINish the request . its INTerrupted the request mpd files getting finish requests next to the “iframe.bif “ might be create the issue .

Note : The interrupted requests came 200 responses on log .

I enabled the background_fetch plugin and config globally and verified the diags log enabled.

 

#include User-Agent *

#exclude User-Agent *

#exclude X-Foo-Bar text

exclude Content -Length < 1000

include Content-Type  video/x-flv

include Content-Type  video/mp4

include Content-Type video/x-msvideo

include Content-Type video/x-ms-wmv

exclude Content-Type text

include Content-Type video/quicktime

include Content-Type video/3gpp

include Content-Type application/octet-stream

include Content-Type  video/m4s

include Content-Type  video/mpd

 

=======================================================================================

Curl Responses :

 

 

[root@buckeye trafficserver]# curl -vLH "Range: object-range" http://x.x.x.x:8082/video/tvn/dash/TVN15762958MP4/iframe.bif > iframe.bif

* About to connect() to x.x.x. port 8082 (#0)

*   Trying x.x.x.. connected

* Connected to x.x.x (x.x.x.x) port 8082 (#0)

> GET /video/tvn/dash/TVN15762958MP4/iframe.bif HTTP/1.1

> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.27.1 zlib/1.2.3 libidn/1.18 libssh2/1.4.2

> Host: x.x.x.x:8082

> Accept: */*

> Range: object-range

>

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0< HTTP/1.1 200 OK

< Server: ATS/6.2.3

< Date: Fri, 09 Nov 2018 05:33:14 GMT

< Content-Type: application/octet-stream

< Content-Length: 3724691

< Last-Modified: Sun, 22 Jul 2018 00:52:52 GMT

< ETag: "5b53d564-38d593"

< Expires: Sun, 17 Feb 2019 05:33:14 GMT

< Cache-Control: max-age=8640000

< Access-Control-Allow-Headers: *

< Access-Control-Expose-Headers: Server,range,Content-Length,Content-Range

< Access-Control-Allow-Methods: GET, HEAD, OPTIONS

< Access-Control-Allow-Origin: *

< Accept-Ranges: bytes

< Age: 0

< Connection: keep-alive

< Via: http/1.1 edge1.ivzapp.com (ApacheTrafficServer/6.2.3 [uScMsSf pSeN:t cCMi p sS])

<

{ [data not shown]

100 3637k  100 3637k    0     0  37.1M      0 --:--:-- --:--:-- --:--:-- 43.3M* Connection #0 to host y.y.y.y left intact

============================================================================================================================================================

[root@buckeye trafficserver]# curl -vLH "Range: object-range" http://y.y.y.y:8082/video/tvn/dash/TVN15762958MP4/stb-/manifest.mpd > manifest.mpd

* About to connect() to y.y.y.y port 8082 (#0)

*   Trying y.y.y.y... connected

* Connected to y.y.y.y (y.y.y.y) port 8082 (#0)

> GET /video/tvn/dash/TVN15762958MP4/stb-/manifest.mpd HTTP/1.1

> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.27.1 zlib/1.2.3 libidn/1.18 libssh2/1.4.2

> Host: y.y.y.y:8082

> Accept: */*

> Range: object-range

>

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0< HTTP/1.1 200 OK

< Server: ATS/6.2.3

< Date: Fri, 09 Nov 2018 05:36:17 GMT

< Content-Type: application/dash+xml

< Content-Length: 3106

< Expires: Sun, 17 Feb 2019 05:36:17 GMT

< Cache-Control: max-age=8640000

< ETag: "-1-c22"

< Access-Control-Allow-Headers: *

< Access-Control-Expose-Headers: Server,range,Content-Length,Content-Range

< Access-Control-Allow-Methods: GET, HEAD, OPTIONS

< Access-Control-Allow-Origin: *

< Accept-Ranges: bytes

< Age: 0

< Connection: keep-alive

< Via: http/1.1 edge1.ivzapp.com (ApacheTrafficServer/6.2.3 [uScMsSf pSeN:t cCMi p sS])

<

{ [data not shown]

100  3106  100  3106    0     0   136k      0 --:--:-- --:--:-- --:--:--  433k* Connection #0 to host y.y.y.y left intact

* Closing connection #0

 

Sent from Mail for Windows 10

 

From: Miles Libbey
Sent: Friday, November 9, 2018 10:50 AM
To: users@trafficserver.apache.org
Subject: Re: ATS Problem on mpd file

 

Could you also say what version of ATS you are running?

On Thu, Nov 8, 2018 at 11:00 AM Vasanth Mathivanan

<vasanth.m@evolutiondigital.com> wrote:

> 

> Hi,

> 

> 

> 

> We have nginx with kalutra vod module its  give  the “mpd” content dynamically vod content but I point the traffic sever as endpoint and orgin is nginx .

> 

> We getting have an error on trafficserver .

> 

> 

> 

> Trafficserver log :

> 

> 

> 

> 1541701460.373 chi=y.y.y.y phn=buckeye.streamer4 php=8082 shn=x.x.x.x url=http://z.z.z.z:8082/video/tvn/dash/TVN15762958MP4/stb-/manifest.mpd cqhm=GET cqhv=HTTP/1.1 pssc=200 ttms=0 b=3106 sssc=000 sscl=0 cfsc=FIN pfsc=FIN crc=TCP_MEM_HIT phr=NONE pqsn=- uas="Roku/DVP-8.10 (298.10E04159A)"

> 

> 1541701465.867 chi=y.y.y.y phn=buckeye.streamer4 php=8082 shn=x.x.x.x url=http://z.z.z.z:8082/video/tvn/dash/TVN15762958MP4/iframe.bif cqhm=GET cqhv=HTTP/1.1 pssc=200 ttms=5346 b=2492846 sssc=000 sscl=0 cfsc=INTR pfsc=FIN crc=ERR_CLIENT_ABORT phr=NONE pqsn=- uas="Roku/DVP-8.10 (298.10E04159A)"

> 

> 1541701466.336 chi=y.y.y.y phn=buckeye.streamer4 php=8082 shn=x.x.x.x url=http://z.z.z.z:8082/video/tvn/dash/TVN15762958MP4/iframe.bif cqhm=GET cqhv=HTTP/1.1 pssc=200 ttms=235 b=442478 sssc=000 sscl=0 cfsc=INTR pfsc=FIN crc=ERR_CLIENT_ABORT phr=NONE pqsn=- uas="Roku/DVP-8.10 (298.10E04159A)"

> 

> 1541701466.433 chi=y.y.y.y phn=buckeye.streamer4 php=8082 shn=x.x.x.x url=http://z.z.z.z:8082/video/tvn/dash/TVN15762958MP4/stb-/manifest.mpd cqhm=GET cqhv=HTTP/1.1 pssc=200 ttms=0 b=3106 sssc=000 sscl=0 cfsc=FIN pfsc=FIN crc=TCP_MEM_HIT phr=NONE pqsn=- uas="Roku/DVP-8.10 (298.10E04159A)"

> 

> 1541701472.138 chi=y.y.y.y phn=buckeye.streamer4 php=8082 shn=x.x.x.x url=http://z.z.z.z:8082/video/tvn/dash/TVN15762958MP4/iframe.bif cqhm=GET cqhv=HTTP/1.1 pssc=200 ttms=5549 b=2508774 sssc=000 sscl=0 cfsc=INTR pfsc=FIN crc=ERR_CLIENT_ABORT phr=NONE pqsn=- uas="Roku/DVP-8.10 (298.10E04159A)"

> 

> 

> 

> As well as same its   working fine direct  orgin server(nginx)

> 

> remap.config:

> 

> 

> 

> map   http://z.z.z.z:8082   http://x.x.x.x:8005  @plugin=header_rewrite.so @pparam=dscp/set_dscp_32.config  @plugin=background_fetch.so @pparam=bg_fetch.config @plugin=collapsed_forwarding.so @plugin=cache_range_requests.so

> 

> 

> 

> Continuously retrieving the same mpd it will struck cannot move the segmentation of m4s files

> 

> 

> 

> Origin access.log

> 

> x.x.x.x - - [08/Nov/2018:13:35:34 -0500] "GET /video/tvn/dash/TVN15762958MP4/stb-/fragment-207-f1-v1-x3.m4s HTTP/1.1" 200 598726 1.488 "-" "Roku/DVP-8.10 (298.10E04159A)" "-" - "-" "y.y.y.y:8005" 32107 - - 160 "-" "-" "-" "-" "max-age=8640000" 308

> 

> x.x.x.x - - [08/Nov/2018:13:35:34 -0500] "GET /video/tvn/dash/TVN15762958MP4/stb-/fragment-208-f5-a1-x3.m4s HTTP/1.1" 200 97750 0.002 "-" "Roku/DVP-8.10 (298.10E04159A)" "-" - "-" "y.y.y.y:8005" 32110 - - 160 "-" "-" "-" "-" "max-age=8640000" 310

> 

> x.x.x.x - - [08/Nov/2018:13:35:37 -0500] "GET /video/tvn/dash/TVN15762958MP4/stb-/fragment-208-f1-v1-x3.m4s HTTP/1.1" 206 262630 0.001 "-" "Roku/DVP-8.10 (298.10E04159A)" "-" - "-" "y.y.y.y:8005" 32110 - - 188 "bytes 262144-524287/918170" "-" "-" "-" "max-age=8640000" 311

> 

> x.x.x.x - - [08/Nov/2018:13:35:38 -0500] "GET /video/tvn/dash/TVN15762958MP4/stb-/fragment-208-f1-v1-x3.m4s HTTP/1.1" 206 394368 0.988 "-" "Roku/DVP-8.10 (298.10E04159A)" "-" - "-" "y.y.y.y:8005" 32110 - - 188 "bytes 524288-918169/918170" "-" "-" "-" "max-age=8640000" 312

> 

> x.x.x.x - - [08/Nov/2018:13:35:38 -0500] "GET /video/tvn/dash/TVN15762958MP4/stb-/fragment-208-f1-v1-x3.m4s HTTP/1.1" 200 598724 1.467 "-" "Roku/DVP-8.10 (298.10E04159A)" "-" - "-" "y.y.y.y:8005" 32110 - - 160 "-" "-" "-" "-" "max-age=8640000" 310

> 

> x.x.x.x - - [08/Nov/2018:13:35:38 -0500] "GET /video/tvn/dash/TVN15762958MP4/stb-/fragment-209-f5-a1-x3.m4s HTTP/1.1" 200 98170 0.001 "-" "Roku/DVP-8.10 (298.10E04159A)" "-" - "-" "y.y.y.y:8005" 32110 - - 160 "-" "-" "-" "-" "max-age=8640000" 311

> 

> x.x.x.x - - [08/Nov/2018:13:35:41 -0500] "GET /video/tvn/dash/TVN15762958MP4/stb-/fragment-209-f1-v1-x3.m4s HTTP/1.1" 206 262632 0.001 "-" "Roku/DVP-8.10 (298.10E04159A)" "-" - "-" "y.y.y.y:8005" 32110 - - 188 "bytes 262144-524287/1069035" "-" "-" "-" "max-age=8640000" 312

> 

> 

> 

> Its direct origin playback working fine .

> 

> 

> 

> we could not find what  the exact issue , Anyone suggest me ?

> 

> 

> 

> __Vasanth

> 

> 

> Sent from Mail for Windows 10

> 

>