How to set max-post-size for undertow listeners in kie-server running on OpenShift

Solution Verified - Updated -


  • How to increase max-post-size in OpenShift environment?
  • The rule execution on kie-server in OpenShift from KieServicesClient fails with the following error.
org.kie.server.api.exception.KieServicesHttpException: Unexpected HTTP response code when requesting URI 'http://OPENSHIFT_HOST/services/rest/server/containers/instances/rh-rules_1.0.0-SNAPSHOT'! Error code: 400, message: io.undertow.server.RequestTooBigException: UT000020: Connection terminated as request was larger than 10485760

According A large post request fails with "UT000020: Connection terminated as request was larger than ###" in JBoss EAP 7.x the solution is to increase max-post-size, how to do it on Openshift environment?


  • Red Hat Decision Manager
    • 7.2
  • OpenShift Container Platform
    • 3.11

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content