apache / apache/servicecomb-java-chassis
failed to decode success response body
- Dominant language
- Java
- Stars
- 1.9k
- Forks
- 814
- Avg merge
- 8d 23h
- Merged PRs (30d)
- 1
Description
### Steps to Reproduce
您好,在开发过程中,返回值如果是包含byte[]的实体对象,在网关就会提示failed to decode success response body错误,并且不是所有情况都报错,而是在byte数组比较大,比如40MB,应用场景如返回预览的PDF数据至前端的时候就会报这个错误,请问这个是什么原因导致的呢?框架版本3.2.4
### Expected Behavior
_No response_
### Servicecomb Version
_No response_
### Additional Context
_No response_
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the gateway error with a Java response entity containing byte[] at increasing sizes, using framework version 3.2.4 and the reported PDF-preview scenario. Compare successful small responses with failures around 40MB. Done means the gateway can decode and return the large response without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100