Error: Appliance Error (internal_error)


<< Back to Knowledge Search

Solution

Overview

Error: Appliance Error (internal_error)
The ProxySG returns an Applicance Error (internal_error)

Cause
Resolution

This is a generic error - however, one of the most common causes of this error being returned is that the origin content server (OCS) has responded with data that does not match the MIME type that the web server indicated in its response headers. The most common occurrence of this (and an example of such behavior) is a web server whose HTTP response headers indicate that it will be responding with a gzip compressed object, but the content is actually text. As a security device, ProxySG will not blindly provide such data to the client and instead will return the Appliance Error exception to the client.

Note that in SG 4.2.1.6 a new exception (content_encoding_error) has been created to more properly report the scenario described above to the end user.

 

There is no "fix" on the proxy for this behavior as the web server is behaving incorrectly.  However, in the specific scenario described above, if you want to allow the content from the web server to be delivered to the user you can implement the following policy based workaround.  This workaround removes the header in the client request indicating that the client can receive encoded content and instead forces the server to respond with the file in its original form.

VPM example:

  1. Create a new Web Access Layer
  2. In the "Destination" column of the first rule, set to either the Request URL object of the site in question or a category object containing the list of URLs you wish to match to this rule.
  3. In the "Action" column, create a new object.  Use a "Control Request Header" object.  Select "Accept-Encoding" from the Header Name list.
  4. Leave the radio button at its default of  "suppress".
  5. Press OK and install this new policy.

CPL example:  (Replace bad-encoding-site.com with the name, or category of the site experiencing the problem.)

--------------------------

<Proxy>
url.domain=bad-encoding-site.com action.ControlRequestHeader1(yes)
define action ControlRequestHeader1
delete(request.header.Accept-Encoding)
end action ControlRequestHeader1

--------------------------

 

Workaround
Additional Information
Bug Number
InQuira Doc IdKB1131
Attachment

Article Feedback

Hide Properties
First Published      10/01/2014
Last Modified      10/01/2014
Last Published      10/01/2014
Article Audience
Product      ProxySG
Article Number      000016904
Summary     
Was this helpful?
Comments:
 
Previous MonthNext Month
SunMonTueWedThuFriSat