microsoft / microsoft/onnxruntime

ONNX Runtime Server Docker - Body Limit Issue

Open
#5,003 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

contributions welcome feature request
Dominant language
C++
Stars
21.9k
Forks
4.2k
Avg merge
4d 11h
Merged PRs (30d)
184

Description

**Describe the bug**

```read failed: 9 : body limit exceeded```

This is thrown in the ONNX Runtime Server Docker in larger inputs, whereas onnxruntime handles it fine.

How can I increase the body limit in the `mcr.microsoft.com/onnxruntime/server`

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the mcr.microsoft.com/onnxruntime/server Docker image and its request-handling configuration. Reproduce the body limit exceeded error with a larger input, then identify how the server limit is configured or exposed. Done means documenting or enabling a larger request body limit without breaking normal server requests.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
devops, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.