You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "David Carlin (JIRA)" <ji...@apache.org> on 2014/04/11 22:58:15 UTC
[jira] [Comment Edited] (TS-2461) ATS report 404 error and 301 at
the same time for URL redirect
[ https://issues.apache.org/jira/browse/TS-2461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13967088#comment-13967088 ]
David Carlin edited comment on TS-2461 at 4/11/14 8:56 PM:
-----------------------------------------------------------
We are observing this as well, and it was a cause of some alarm until we realized the log messages are false and the request was processed correctly.
We are seeing this when HTTP is redirected to HTTPS
was (Author: dcarlin):
We are observing this as well, and it was a cause of some alarm until we realized the log messages are false and the request was processed correctly.
> ATS report 404 error and 301 at the same time for URL redirect
> --------------------------------------------------------------
>
> Key: TS-2461
> URL: https://issues.apache.org/jira/browse/TS-2461
> Project: Traffic Server
> Issue Type: Bug
> Components: Logging
> Reporter: Hong Ye
> Fix For: 5.0.0
>
>
> While trying out ATS4.0.1, I noticed ATS logs 3 messages in transaction log for each url redirect request. The request was processed correctly though.
> Also ATS logs two messages in error.log (same as https://issues.apache.org/jira/browse/TS-2344).
> Here is how to repeat:
> remap.config rule:
> redirect http://yahoo.com http://www.yahoo.com/
> Output:
> curl -sIH "HOST: yahoo.com" http://68.87.98.100
> HTTP/1.1 301 Redirect
> Date: Mon, 30 Dec 2013 20:07:45 GMT
> Server: ATS/4.0.1
> Cache-Control: no-store
> Content-Type: text/html; charset=utf-8
> Content-Language: en
> Connection: close
> Location: http://www.yahoo.com/
> Content-Length: 214
> Transaction log:
> tail -f cclog.log | grep 68.87.98.108
> 2013-12-30 20:07:45 68.87.98.108 404 FIN http://yahoo.com -
> 2013-12-30 20:07:45 68.87.98.108 301 FIN http://yahoo.com -
> 2013-12-30 20:07:45 68.87.98.108 301 FIN http://yahoo.com http://www.yahoo.com/
> Error log:
> tail -f /var/log/trafficserver/error.log | grep 68.87.98.108
> 20131230.20h07m45s RESPONSE: sent 68.87.98.108 status 404 (Not Found on Accelerator) for 'http:///'
> 20131230.20h07m45s RESPONSE: sent 68.87.98.108 status 301 (Redirect) for 'http:///'
--
This message was sent by Atlassian JIRA
(v6.2#6252)