Skip to content

Conversation

@traeak
Copy link
Contributor

@traeak traeak commented Apr 12, 2019

Add descriptive TSError messages for mismatch block stitching conditions.

Errors are added to diags.log and can be used to connect the dots between incoming request to slice and cache_range_requests blocks.

Classified Errors:

  • Mismatch block Etag
  • Mismatch block Last-Modified
  • Non 206 internal block response
  • Mismatch/Bad block Content-Range

Sample diags.log entry:

[Apr 12 13:54:54.937] [ET_NET 10] ERROR: [slice] 1555077294.937 reason="Mismatch block Etag" uri="http://www.example.com/etag" uas="curl/7.29.0" req_range="-" norm_range="bytes 0-18/19" etag_exp="%22etag0%22" lm_exp="" blk_range="9-17" status_got="206" cr_got="bytes 9-17/19" etag_got="%22etag1%22" lm_got="" cc="max-age=500" via="http/1.1 MyATS.example.com (ApacheTrafficServer/9.0.0 [uSc s f p eN:tOc p sS])"

@bryancall bryancall added this to the 9.0.0 milestone Apr 18, 2019
@traeak traeak marked this pull request as ready for review April 19, 2019 16:49
@ezelkow1 ezelkow1 merged commit 671e639 into apache:master Apr 19, 2019
@zwoop zwoop modified the milestones: 9.0.0, 8.1.0 Apr 6, 2020
@traeak traeak deleted the slice_errorlog branch January 13, 2023 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants