Increasing API request max size in RHDM

14 views
Skip to first unread message

Muneer Hameer

unread,
Oct 25, 2022, 9:52:41 PM10/25/22
to OptaPlanner development
Hi,

I am trying to schedule 15000+ shifts in Optaplanner (using RHDM) via API, however, I am getting this error: "io.undertow.server.RequestTooBigException: UT000020: Connection terminated as request was larger than 10485760"

How would I increased the default API request max size of 10 MB in RHDM so that I can pass a large XML to optaplanner to consume?

Thanks


Lukáš Petrovický

unread,
Oct 26, 2022, 2:12:20 AM10/26/22
to optapla...@googlegroups.com
Muneer,

On Wed, Oct 26, 2022 at 3:52 AM Muneer Hameer <muneer...@gmail.com> wrote:
I am trying to schedule 15000+ shifts in Optaplanner (using RHDM) via API, however, I am getting this error: "io.undertow.server.RequestTooBigException: UT000020: Connection terminated as request was larger than 10485760"

How would I increased the default API request max size of 10 MB in RHDM so that I can pass a large XML to optaplanner to consume?

first of all, I am not entirely sure what API you speak of. OptaPlanner does not provide any remote services.

That said, you speak of RHDM, which is a Red Hat product. I suggest you use the power of your subscription and ask Red Hat that question. This is a community mailing list.
 
Regards,

Lukáš Petrovický

Principal Software Engineer

lukas.pe...@redhat.com

My work week is Monday to Thursday.
No need to respond outside of your working hours.

Muneer Hameer

unread,
Oct 26, 2022, 5:32:50 PM10/26/22
to OptaPlanner development
Ok, will do. Thank you for the quickly reply, Lukáš
Reply all
Reply to author
Forward
0 new messages