KB Article #182535

Error: java.io.IOException: inflate error: -3

Problem

You receive an error message like the following:

ERROR 1/1/20, 00:00:00.000 java error 7713 writing response:
java.io.IOException: inflate error: -3
at com.vordel.dwe.NativeContentSource.relayN(Native Method)
at com.vordel.dwe.NativeContentSource.relay(NativeContentSource.java:39)
at com.vordel.mime.Body.write(Body.java:410)
at com.vordel.dwe.http.ServerTransaction.sendResponseN(Native Method)
at com.vordel.dwe.http.ServerTransaction.sendResponse(ServerTransaction.java:54)
at com.vordel.dwe.http.HTTPPlugin.sendResponse(HTTPPlugin.java:537)
at com.vordel.dwe.http.HTTPPlugin.invokeDispose(HTTPPlugin.java:449)
at com.vordel.dwe.http.HTTPPlugin.invoke(HTTPPlugin.java:136)
(connection closed at )

Resolution

This has been observed when an endpoint improperly sends the deflate encoding to the API Gateway when the API Gateway is not advertising support for deflate via an Accept-Encoding: deflate header. This can be resolved by making the API Gateway accept deflate encoding from that endpoint, which is done by setting an Input Encoding of deflate for the connection. Refer to the documentation on compressed content encodings for further details.