Skip to content

[BUG] fix spring boot web maximum upload file limit config error#6070

Merged
yangzhg merged 1 commit intoapache:masterfrom
xinyiZzz:fix_spring_upload_file_limit_config
Jun 22, 2021
Merged

[BUG] fix spring boot web maximum upload file limit config error#6070
yangzhg merged 1 commit intoapache:masterfrom
xinyiZzz:fix_spring_upload_file_limit_config

Conversation

@xinyiZzz
Copy link
Contributor

@xinyiZzz xinyiZzz commented Jun 21, 2021

Proposed changes

FE startup error:

FE startup error, Failed to bind properties under'spring.servlet.multipart.max-file-size' to org.springframework.uti
l.unit.DataSize.
Failed to convert from type [java.lang.String] to type [org.springframework.util.unit.DataSize] for value '100M'; nested exception is java.lang.IllegalArgumentException: '100M' is not a valid data size​

Modify the parameters http_max_file_size and http_max_request_size to 100MB

Types of changes

  • Bugfix (non-breaking change which fixes an issue)

Checklist

Copy link
Member

@yangzhg yangzhg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yangzhg yangzhg added approved Indicates a PR has been approved by one committer. kind/fix Categorizes issue or PR as related to a bug. labels Jun 22, 2021
@yangzhg yangzhg merged commit 72d1a3b into apache:master Jun 22, 2021
@yangzhg yangzhg self-assigned this Jun 22, 2021
stalary pushed a commit to stalary/doris that referenced this pull request Jun 28, 2021
Co-authored-by: zouxinyi <zouxinyi@baidu.com>
freemandealer pushed a commit to freemandealer/doris that referenced this pull request Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. kind/fix Categorizes issue or PR as related to a bug.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] FE startup error, Failed to bind properties under'spring.servlet.multipart.max-file-size'

2 participants