Skip to content

204 No Content: alternate content length doesn't match doc_len #9816

@smalenfant

Description

@smalenfant

We found some extraneous logs in our lab server running ATS 9.2.1. It looks like it is not expecting text after a 204 status code but the extra length seems to be attributable to the text string No content.

At first, looks like this might have been related to #9330 and #9333 but they have been merged in 9.2.1.

Log entry:

WARNING: OpenReadHead failed for cachekey 809A6934 : alternate content length doesn't match doc_len 10 != 0

curl command we've been able to use to reproduce (internally):

# curl 'http://cdn.de2scvmedia.cdn1.coxlab.net/scm/ODCconfig/ServiceGroup?system=1902&QAMNameList=4501,4502' -v -4 
> GET /scm/ODCconfig/ServiceGroup?system=1902&QAMNameList=4501,4502 HTTP/1.1
> Host: cdn.de2scvmedia.cdn1.coxlab.net
> User-Agent: curl/7.76.1
> Accept: */*
> 
* Mark bundle as not supporting multiuse
< HTTP/1.1 204 No Content
< X-Cox-Request-Id: rEbSa6_SN_gEzHMP
< Date: Fri, 09 Jun 2023 12:13:19 GMT
< X-Cacheable: YES
< Varnish-TTL: 3600.000
< X-Varnish: 423353 423190
< Age: 875
< Via: 1.1 varnish (Varnish/6.1), http/1.1 psp6cdmid04.coxlab.net (11590.el7 [uScSsSfUpSeN:t cCSp sS]), http/1.1 psp6cdedge09.coxlab.net (13890.el7 [uScSsSfUpSeN:t cCSpSs ])
< X-Served-By: de2scvcache02
< X-Cache: HIT
< X-Cache-Hits: 1
< Server: 13890.el7
< Connection: keep-alive
< 
* Excess found: excess = 10 url = /scm/ODCconfig/ServiceGroup (zero-length body)
* Connection #0 to host cdn.de2scvmedia.cdn1.coxlab.net left intact

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions