DevHeads.net

Apache sending Content-Length 0

Hi,

When I am sending request from browser to client for basic "index.html", I
am getting error that
" Err_EMPTY_RESPONSE " in browser.

When I checked in the error log, found that response content length is 0.

[Tue Dec 05 05:28:15.499282 2017] [core:trace5] [pid 150995199:tid
577157567797854212]
C:\cygwin64\home\hemant\apache\httpd-2.4.25\server\protocol.c(645): [client
15.213.82.149:62584] Request received from client: GET / HTTP/1.1
[Tue Dec 05 05:28:15.499445 2017] [http:trace4] [pid 150995199:tid
577157567797854212]
C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_request.c(420):
[client 15.213.82.149:62584] Headers received from client:
[Tue Dec 05 05:28:15.499458 2017] [http:trace4] [pid 150995199:tid
577157567797854212]
C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_request.c(424):
[client 15.213.82.149:62584] Host: 15.213.91.33:2345
[Tue Dec 05 05:28:15.499466 2017] [http:trace4] [pid 150995199:tid
577157567797854212]
C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_request.c(424):
[client 15.213.82.149:62584] Connection: keep-alive
[Tue Dec 05 05:28:15.499474 2017] [http:trace4] [pid 150995199:tid
577157567797854212]
C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_request.c(424):
[client 15.213.82.149:62584] Cache-Control: max-age=0
[Tue Dec 05 05:28:15.499482 2017] [http:trace4] [pid 150995199:tid
577157567797854212]
C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_request.c(424):
[client 15.213.82.149:62584] Upgrade-Insecure-Requests: 1
[Tue Dec 05 05:28:15.499490 2017] [http:trace4] [pid 150995199:tid
577157567797854212]
C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_request.c(424):
[client 15.213.82.149:62584] User-Agent: Mozilla/5.0 (Windows NT 6.1;
Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113
Safari/537.36
[Tue Dec 05 05:28:15.499499 2017] [http:trace4] [pid 150995199:tid
577157567797854212]
C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_request.c(424):
[client 15.213.82.149:62584] Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
[Tue Dec 05 05:28:15.499508 2017] [http:trace4] [pid 150995199:tid
577157567797854212]
C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_request.c(424):
[client 15.213.82.149:62584] Accept-Encoding: gzip, deflate
[Tue Dec 05 05:28:15.499516 2017] [http:trace4] [pid 150995199:tid
577157567797854212]
C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_request.c(424):
[client 15.213.82.149:62584] Accept-Language: en-US,en;q=0.8
[Tue Dec 05 05:28:15.499690 2017] [authz_core:debug] [pid 150995199:tid
577157567797854212]
C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\aaa\mod_authz_core.c(809):
[client 15.213.82.149:62584] AH01626: authorization result of Require all
granted: granted
[Tue Dec 05 05:28:15.499703 2017] [authz_core:debug] [pid 150995199:tid
577157567797854212]
C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\aaa\mod_authz_core.c(809):
[client 15.213.82.149:62584] AH01626: authorization result of <RequireAny>:
granted
[Tue Dec 05 05:28:15.499712 2017] [core:trace3] [pid 150995199:tid
577157567797854212]
C:\cygwin64\home\hemant\apache\httpd-2.4.25\server\request.c(293): [client
15.213.82.149:62584] request authorized without authentication by
access_checker_ex hook: /
[Tue Dec 05 05:28:15.500234 2017] [http:trace3] [pid 150995199:tid
577157567797854212]
C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_filters.c(1089):
[client 15.213.82.149:62584] Response sent with status 200, headers:
[Tue Dec 05 05:28:15.500248 2017] [http:trace5] [pid 150995199:tid
577157567797854212]
C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_filters.c(1096):
[client 15.213.82.149:62584] Date: Tue, 05 Dec 2017 05:28:15 GMT
[Tue Dec 05 05:28:15.500256 2017] [http:trace5] [pid 150995199:tid
577157567797854212]
C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_filters.c(1099):
[client 15.213.82.149:62584] Server: Apache/2.4.25 (Unix)
[Tue Dec 05 05:28:15.500267 2017] [http:trace4] [pid 150995199:tid
577157567797854212]
C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_filters.c(918):
[client 15.213.82.149:62584] Last-Modified: Sat, 02 Dec 2017 18:54:22 GMT
[Tue Dec 05 05:28:15.500276 2017] [http:trace4] [pid 150995199:tid
577157567797854212]
C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_filters.c(918):
[client 15.213.82.149:62584] ETag: \\"0-55f600364f380\\"
[Tue Dec 05 05:28:15.500284 2017] [http:trace4] [pid 150995199:tid
577157567797854212]
C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_filters.c(918):
[client 15.213.82.149:62584] Accept-Ranges: bytes
[Tue Dec 05 05:28:15.500293 2017] [http:trace4] [pid 150995199:tid
577157567797854212]
C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_filters.c(918):
[client 15.213.82.149:62584] Content-Length: 0
[Tue Dec 05 05:28:15.500300 2017] [http:trace4] [pid 150995199:tid
577157567797854212]
C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_filters.c(918):
[client 15.213.82.149:62584] Keep-Alive: timeout=5, max=100
[Tue Dec 05 05:28:15.500308 2017] [http:trace4] [pid 150995199:tid
577157567797854212]
C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_filters.c(918):
[client 15.213.82.149:62584] Connection: Keep-Alive
[Tue Dec 05 05:28:15.500316 2017] [http:trace4] [pid 150995199:tid
577157567797854212]
C:\cygwin64\home\hemant\apache\httpd-2.4.25\modules\http\http_filters.c(918):
[client 15.213.82.149:62584] Content-Type: text/html
[Tue Dec 05 05:28:15.579779 2017] [core:notice] [pid 100663508:tid
7876215824606887940] AH00052: child pid 150995199 exit signal signal #31
(31)
[Tue Dec 05 05:28:15.579880 2017] [core:trace4] [pid 100663508:tid
7876215824606887940]
C:\cygwin64\home\hemant\apache\httpd-2.4.25\server\mpm_common.c(533): mpm
child 150995199 (gen 0/slot 0) exited

Please help me to solve the case.

Thanks
Hemant