GZIP compression issue after applying CR04
search cancel

GZIP compression issue after applying CR04

book

Article ID: 229695

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

After installing CR04 on our  environment, routing request with the "Compress ouput" option set are failing , if the the request is a GET and the body is Empty .

Error message in the gateway ssg logs :

2021-11-04T11:56:16.610+0100 INFO    912 com.l7tech.server.SoapMessageProcessingServlet: Cannot decompress the incoming request: java.io.EOFException

Response error :

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
        <soapenv:Fault>
            <faultcode>soapenv:Server</faultcode>
            <faultstring>Invalid GZIP compressed request</faultstring>
            <faultactor>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/faultactor>
        </soapenv:Fault>
    </soapenv:Body>
</soapenv:Envelope>
 

Environment

Release : 10.0 CR4

Component : API GATEWAY

Resolution

The defect  DE505246 fixed in CR4  introduced a new cluster wide property.

request.compress.gzip.allowEmptyBody

To allow a compressed request with a empty bode to be unzipped the cwp above needs to be set to "true" .

This new CWP property was introduced to comply with the rfc specification .

 

Attachments