DRM Web Service Custom .NET Client: The number of bytes available is inconsistent with the HTTP Content-Length header. There may have been a network error or the client may be sending invalid requests (Doc ID 2054901.1)

Last updated on MARCH 08, 2017

Applies to:

Hyperion Data Relationship Management - Version 11.1.2.3.504 and later
Information in this document applies to any platform.

Symptoms

 When invoking a DRM webservice method which retrieves a lot of data from a custom .NET web service client the following error is being seen:

The number of bytes available is inconsistent with the HTTP Content-Length header. There may have been a network error or the client may be sending invalid requests.

The log for the managed server where the DRM web service has been deployed also shows evidence of the StuckThreadMaxTime parameter having been exceeded due to requests to the DRM web service having taken longer than 600 seconds:

####<Aug 31, 2015 3:28:34 AM EDT> <Error> <WebLogicServer> <US1SAWN02774> <FoundationServices0> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1441006114696> <BEA-000337> <[STUCK] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "604" seconds working on the request "Workmanager: default, Version: 0, Scheduled=true, Started=true, Started time: 604562 ms
[
POST /oracle-epm-drm-webservices/DrmService HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: ""
Content-Length: 3604
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)

]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:

 

Changes

If this has not been seen before and worked in the past then the volume of data being retrieved via the web service call or the stress on the DRM application server may have increased.

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