Is this a manifestation of https://issues.apache.org/jira/browse/TS-2344 ??

David

On 5/27/14, 6:22 AM, "Jan-Frode Myklebust" <[email protected]> wrote:

>We're using the following logs_xml.config:
>
>       <LogFormat>
>               <Name = "squid_plus_correct_host_hdr"/>
>               <Format = "%<cqtq> %<ttms> %<chi> %<crc>/%<pssc> %<psql> %<cqhm>
>%<cquuc> %<caun> %<phr>/%<pqsn> %<psct> %<xid>"/> </LogFormat>
>       <LogObject>
>               <Format = "squid_plus_correct_host_hdr"/>
>               <Filename = "modified_squid"/>
>               <Mode = "binary"/>
>       </LogObject>
>
>and are a bit surprised at seeing strange "ERR_CONNECT_FAIL/301" logs
>on all our remap.config redirects. I.e.:
>
>       1401184410.874 0 213.167.104.143 ERR_CONNECT_FAIL/301 418 GET http:/// -
>NONE/- text/html -
>       1401184413.376 0 213.167.104.143 ERR_CONNECT_FAIL/301 425 GET
>http:///hdshdsh - NONE/- text/html -
>       1401184416.562 0 2a01:798:0:30:0:de:face:d ERR_CONNECT_FAIL/301 421 GET
>https:/// - NONE/- text/html -
>       1401184419.780 7 2a01:798:0:30:0:de:face:d ERR_CONNECT_FAIL/301 424 GET
>https:///sds - NONE/- text/html -
>       1401184422.460 0 2a01:798:0:30:0:de:face:d ERR_CONNECT_FAIL/301 424 GET
>http:///sds - NONE/- text/html -
>       1401184425.293 0 2a01:798:0:30:0:de:face:d ERR_CONNECT_FAIL/301 421 GET
>http:/// - NONE/- text/html -
>       1401184427.428 0 213.167.104.143 ERR_CONNECT_FAIL/301 418 GET http:/// -
>NONE/- text/html -
>       1401184430.086 0 213.167.104.143 ERR_CONNECT_FAIL/301 425 GET
>http:///hdshdsh - NONE/- text/html -
>
>"extended" logs looks more like what we expect:
>
>       213.167.104.143 - - [27/May/2014:11:53:20 +0100] "GET
>http://example2.no/ HTTP/1.1" 301 0 000 0 0 0 169 418 0 0 0
>       213.167.104.143 - - [27/May/2014:11:53:22 +0100] "GET
>http://example2.no/hdshdsh HTTP/1.1" 301 0 000 0 0 0 176 425 0 0 0
>       213.167.104.143 - - [27/May/2014:11:53:30 +0100] "GET
>http://example2.no/ HTTP/1.1" 301 0 000 0 0 0 169 418 0 0 0
>       213.167.104.143 - - [27/May/2014:11:53:33 +0100] "GET
>http://example2.no/hdshdsh HTTP/1.1" 301 0 000 0 0 0 176 425 0 0 0
>       2a01:798:0:30:0:de:face:d - - [27/May/2014:11:53:36 +0100] "GET
>https://example.no/ HTTP/1.1" 301 0 000 0 0 0 173 421 0 0 0
>       2a01:798:0:30:0:de:face:d - - [27/May/2014:11:53:39 +0100] "GET
>https://example.no/sds HTTP/1.1" 301 0 000 0 0 0 176 424 0 0 0
>       2a01:798:0:30:0:de:face:d - - [27/May/2014:11:53:42 +0100] "GET
>http://example.no/sds HTTP/1.1" 301 0 000 0 0 0 175 424 0 0 0
>       2a01:798:0:30:0:de:face:d - - [27/May/2014:11:53:45 +0100] "GET
>http://example.no/ HTTP/1.1" 301 0 000 0 0 0 172 421 0 0 0
>       213.167.104.143 - - [27/May/2014:11:53:47 +0100] "GET
>http://example2.no/ HTTP/1.1" 301 0 000 0 0 0 169 418 0 0 0
>       213.167.104.143 - - [27/May/2014:11:53:50 +0100] "GET
>http://example2.no/hdshdsh HTTP/1.1" 301 0 000 0 0 0 176 425 0 0 0
>
>
>Shouldn't %<crc> contain a non ERR message, and also, why is the
>hostname dropped from %<cquuc> ?
>
>
>BTW: this is with ATS 4.1.2, and
>proxy.config.url_remap.pristine_host_hdr=1.
>
>
>  -jf

Reply via email to