Why I get Error 330 (net::ERR_CONTENT_DECODING_FAILED) when I access HTTP webpage


Article ID: 167749


Updated On:


ProxySG Software - SGOS


Why I get Error 330 (net::ERR_CONTENT_DECODING_FAILED) when I access HTTP webpage ?

Sometimes the browser requests the wrong parameters for "accept-encoding" in this case try from another browser.

Other times the proxy changes the request header, for example the browser is requesting gzip, deflate for accept-encoding, but the proxy doesn't. To fix this issue you need to force the proxy to request the same parameters.

Please add the below policy to CPL

https://ProxyIP:8082 --> configuration --> policy files --> install local file from (choose text editor) --> cut and paste the below policy then hit install.

<Proxy> allow
    url.host=example.com action.ControlRequestHeader1(yes)

define action ControlRequestHeader1
  set( request.header.Accept-Encoding, "gzip, deflate\r\n" )

Replace example.com with the URL in question.