Caused by: com.linecorp.armeria.common.ContentTooLargeException: maxContentLength: 10485760, contentLength: 16377153, transferred: 10491274 #11362
-
Beta Was this translation helpful? Give feedback.
Answered by
chenhaipeng
Sep 28, 2023
Replies: 1 comment 5 replies
-
|
question continue: |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment




This problem seems to be a limitation of Armeria. The reason is that the return data of response is too large. See the default configuration: defaultMaxResponseLength
SW_STORAGE_ES_BATCH_OF_BYTESis to solve the problem of a single flush batch being too large during ES insertion. For example, if you insert >10M each time, ES may reject your request;How to solve your problem? Query in kibana of ES to confirm whether your data return is too large. If so, it is recommended to streamline the reporting or temporarily adjust the limitations of the Armeria client.