My Oracle Support Banner

After Java SE Upgrade, REST Services Fail and Sometimes Throw "ERR_CONTENT_DECODING_FAILED" (Doc ID 2346048.1)

Last updated on JUNE 19, 2023

Applies to:

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


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.


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


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.