After Java SE Upgrade, REST Services Fail and Sometimes Throw "ERR_CONTENT_DECODING_FAILED"

(Doc ID 2346048.1)

Last updated on JANUARY 18, 2018

Applies to:

Java SE JDK and JRE - Version 8 to 8
Information in this document applies to any platform.

Symptoms

After upgrading to Java SE 8 update 151, services that use REST fail to function.  Sometimes an error like this one is thrown in the browser:

but more often the REST calls just fail.  No runtime errors are thrown.  It appears that the responses coming back from the server are mangled or malformed in some fashion.

Tomcat v7.x, or one of its derivatives such as Bobcat, is used as the server.

Changes

Upgrading to Java SE 8u151 or 7u161 or later.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms