The following table lists messages that can appear in system log files. This list is not exhaustive; it simply describes common warning messages that can occur and which might require your attention.
Accept port is not between 1 and 65535. Please check configuration- The port specified in :file:`records.yaml` that accepts incoming HTTP requests is not valid.
Self loop is detected in parent proxy configuration- The name and port of the parent proxy match that of Traffic Server. This creates a loop when Traffic Server attempts to send the request to the parent proxy.
<Logfile> error: error_number- Generic logging error.
Connect by disallowed client <IP address>, closing- The specified client is not allowed to connect to Traffic Server;
the client IP address is not listed in the
ip_allow.yamlfile. Could not rename log <filename> to <rolled filename>- System error when renaming log file during roll.
Log format symbol <symbol name> not found- Custom log format references a field symbol that does not exist. Refer to :ref:`admin-logging-formats`.
Missing field for field marker- Error reading a log buffer.
Unable to open log file <filename>, errno=<error number>- Cannot open the log file.
Error accessing disk <disk name>- Traffic Server might have a cache read problem. You might need to replace the disk.
Too many errors accessing disk <disk name>: declaring disk bad- Traffic Server is not using the cache disk because it encountered too many errors. The disk might be corrupt and might have to be replaced.
No cache disks specified in storage.config file: cache disabled- The Traffic Server :file:`storage.config` file does not list any cache disks; Traffic Server is running in proxy-only mode. You must add the disks you want to use for the cache to :file:`storage.config`.
Traffic Server returns detailed error messages to client browsers when there are problems with the HTTP transactions requested by the browser. These Traffic Server response messages correspond to standard HTTP response codes, but provide more information. A list of the more frequently encountered HTTP response codes is provided in :ref:`appendix-http-status-codes`.
The error messages can be customized. The actual response is generated from a template. These
templates are stored in files which means the errors responses can be customized by modifying these
files. The default directory for the template files is PREFIX/body_factory/default but this can
be changed by the configuration variable :ts:cv:`proxy.config.body_factory.template_sets_dir`. All
files in this directory are added to a lookup table which is consulted when the error message is
generated. The name used for lookup is by default that listed in the :ref:`following table
<body-factory-error-table>`. It can be overridden by
:ts:cv:`proxy.config.body_factory.template_base` which, if set, is a string that is prepended to the
search name along with an underscore. For example, if the default lookup name is
cache#read_error then by default the response will be generated from the template in the file
named cache#read_error. If the template base name were set to apache then the lookup would
look for a file named apache_cache#read_error in the template table. This can be used to switch
out error message sets or, because this variable is overridable, to select an error message set
based on data in the transaction. In addition the suffix _default has a special meaning. If
there is a file with the base name and that suffix it is used as the default error page for the base
set, instead of falling back to the global (built in) default page in the case where there is not a
file that matches the specific error. In the example case, if the file apache_default exists
it would be used instead of cache#read_error if there is no apache_cache#read_error.
The text for an error message is processed as if it were a :ref:`admin-logging-fields` which enables customization by values present in the transaction for which the error occurred.
Each template set directory must contain a .body_factory_info file for the template set to be
loaded. This file controls the Content-Type, Content-Language, and character set of the
HTTP response headers sent with error pages.
The following directives are supported:
Content-Language- The natural language of the error pages. This value is sent in the
Content-LanguageHTTP response header. Default:en. Content-Charset- The character encoding of the error pages. This value is appended to the
Content-Typeheader as acharsetparameter. Default:utf-8. Content-Type- The MIME type for the error response. This controls the media type portion of the
Content-TypeHTTP response header. Default:text/html.
For example, to serve plain text error pages in English:
Content-Language: en Content-Charset: utf-8 Content-Type: text/plain
This would produce the response header Content-Type: text/plain; charset=utf-8.
To describe Korean error pages encoded in the iso-2022-kr character set:
Content-Language: ko-KR Content-Charset: iso-2022-kr
If the file is empty or contains only comments, the defaults are used: English text/html in
the utf-8 character set. If the file is absent, the entire template set directory is skipped.
The following table lists the hard-coded Traffic Server HTTP messages, with corresponding HTTP response codes and customizable files.
Access Denied403You are not allowed to access the document at locationURL.access#deniedCache Read Error500Error reading from cache; please retry request.cache#read_errorConnection Timed Out504Too much time has elapsed since the server has sent data.timeout#inactivityContent Length Required411Could not process this request becauseContent-Lengthwas not specified.request#no_content_lengthCycle Detected400Your request is prohibited because it would cause an HTTP proxy cycle.request#cycle_detectedForbidden403<port number>is not an allowed port for SSL connections (you have made a request for a secure SSL connection to a forbidden port number).access#ssl_forbiddenHost Header Required400An attempt was made to transparently proxy your request, but this attempt failed because your browser did not send an HTTPHostheader. Manually configure your browser to usehttp://<proxy name>:<proxy port>as the HTTP proxy. Alternatively, end users can upgrade to a browser that supports the HTTPHostheader field.interception#no_hostHost Header Required400Because your browser did not send aHostHTTP header field, the virtual host being requested could not be determined. To access the website correctly, you must upgrade to a browser that supports the HTTPHostheader field.request#no_hostHTTP Version Not Supported505The origin server<server name>is using an unsupported version of the HTTP protocol.response#bad_versionInvalid Content Length400Could not process this request because the specifiedContent-Lengthwas invalid (less than 0)..request#invalid_content_lengthInvalid HTTP Request400Could not process this<client request>HTTP method request forURL.request#syntax_errorInvalid HTTP Response502The host<server name>did not return the documentURLcorrectly.response#bad_responseMalformed Server Response502The host<server name>did not return the documentURLcorrectly.response#bad_responseMalformed Server Response Status502The host<server name>did not return the documentURLcorrectly.response#bad_responseMaximum Transaction Time exceeded504Too much time has elapsed while transmitting documentURL.timeout#activityNo Response Header From Server502The host<server name>did not return the documentURLcorrectly.response#bad_responseNot Cached504This document was not available in the cache, and you (the client) only accept cached copies.cache#not_in_cacheNot Found on Accelerator404The request forURLon host<server name>was not found. Check the location and try again.urlrouting#no_mappingNULL502The host<hostname>did not return the documentURLcorrectly.response#bad_responseProxy Authentication Required407Please log in with username and password.access#proxy_auth_requiredServer Hangup502The server<hostname>closed the connection before the transaction was completed.connect#hangupTemporarily Moved302The document you requested,URL, has moved to a new location. The new location is<new URL>.redirect#moved_temporarilyTranscoding Not Available406Unable to provide the documentURLin the format requested by your browser.transcoding#unsupportedTunnel Connection Failed502Could not connect to the server<hostname>.connect#failed_connectUnknown Error502The host<hostname>did not return the documentURLcorrectly.response#bad_responseUnknown Host500Unable to locate the server named<hostname>; the server does not have a DNS entry. Perhaps there is a misspelling in the server name or the server no longer exists; double-check the name and try again.connect#dns_failedUnsupported URL Scheme400Cannot perform your request for the documentURLbecause the protocol scheme is unknown.request#scheme_unsupportedURI Too Long414Could not process this request because the request uri was too long ..request#uri_len_too_long