Search Engine: Elastic

Article ID: 133426, created on Nov 19, 2018, last review on Nov 19, 2018

  • Applies to:
  • Operations Automation 7.3
  • Operations Automation 7.4

Symptoms

A POST request to create a resource in scope of an APS application fails with the error:

Connection terminated as request was larger than 10485760

Cause

The default limit for POST size is 10MB. In case an APS application attempts to send a data packet larger than 10Mb, the operation fails.

The request to increase the maximum POST size will be considered in scope of PFR-2340.

Resolution

  1. Open /usr/local/pem/wildfly-11.0.0.Final/standalone/configuration/standalone-full-ha.xml for editing (note: Wildfly version in the directory name may differ version to version) and find the section:

    <subsystem xmlns="urn:jboss:domain:undertow:4.0">
    ...
    <server name="aps-service-server" servlet-container="aps-servlet-container">
            <https-listener name="aps-service-https" socket-binding="aps-service" worker="aps-service" security-realm="SRealmAPSService" verify-client="REQUESTED"/>
            <host name="default-host" default-web-module="aps-service-root.war"/>
        </server>
    ...
    </subsystem>
    
  2. Add max-post-size="104857600" value to the definition of aps-service-server:

    <subsystem xmlns="urn:jboss:domain:undertow:4.0">
    ...
    <server name="aps-service-server" servlet-container="aps-servlet-container">
            <https-listener name="aps-service-https" socket-binding="aps-service" worker="aps-service" security-realm="SRealmAPSService" verify-client="REQUESTED" max-post-size="104857600"/>
            <host name="default-host" default-web-module="aps-service-root.war"/>
        </server>
    ...
    </subsystem>
    
  3. Restart OSS Core services.

5356b422f65bdad1c3e9edca5d74a1ae 8fc71f07abe5b233fea1ae0377cd5e3d 55fe109b4b4fe3fbb893f22dbb85a41a 1941880841f714e458ae4dc3d9f3062d dd79f16c76b9dca75205ab5e9f5465ea

Email subscription for changes to this article
Save as PDF