Error: Premature end of chunk coded message body getChunkSize in SPS
search cancel

Error: Premature end of chunk coded message body getChunkSize in SPS

book

Article ID: 208145

calendar_today

Updated On:

Products

SITEMINDER CA Single Sign On Secure Proxy Server (SiteMinder) Accucheck

Issue/Introduction

 

When running CA Access Gateway (SPS) as an SSO front end to a web application.

In the server.log for CA Access Gateway (SPS), the following message on certain page requests is seen:

  [ERROR] - org.apache.http.ConnectionClosedException: Premature end of chunk coded message body: closing chunk expected
  [01/Feb/2021:19:55:23-110] [ERROR] -    at org.apache.http.impl.io.ChunkedInputStream.getChunkSize(ChunkedInputStream.java:266)

The associated log message in the httpd log file is:

  10.0.0.1 - - [01/Feb/2021:19:55:23 +0000] "GET /myApp/myPage/ HTTP/1.1" 200 -

This does not appear to impact the end users who access the application behind CA Access Gateway (SPS). How this message can be eliminated?

 

Environment

 

Release : ALL

Component : ACCESS GATEWAY

 

Cause

 

The back-end server is not sending the expected zero-length closing chunk resulting in this error.

 

Resolution

 

CA Access Gateway (SPS) will still process these requests, but ultimately the back-end host should be corrected to send the expected chunk and thus be in compliance with HTTP standards.