shenyu icon indicating copy to clipboard operation
shenyu copied to clipboard

java.lang.IllegalStateException: The client response body can only be consumed once[Question] <title>

Open jjxliu306 opened this issue 2 years ago • 1 comments

Question

在2.4.3版本下,跑压力测试的时候会一直抛异常: Caused by: java.lang.IllegalStateException: The client response body can only be consumed once. at org.springframework.http.client.reactive.ReactorClientHttpResponse.lambda$getBody$0(ReactorClientHttpResponse.java:66) 但没搞明白是怎么触发出来的或者该怎么解决

jjxliu306 avatar May 16 '22 02:05 jjxliu306

It seems that the content of the request Body has been read repeatedly. Can you provide more detailed logs or reproduction steps?

li-keguo avatar May 24 '22 15:05 li-keguo

I also encountered this problem, the production environment request tens of millions of times a day, there will be dozens of times under Caused by: Java. Lang. An IllegalStateException: The client response body can only be consumed once, and the error is reported by different interfaces in different time periods. The opening plug-in is as follows: paramMapping、contextPath、cryptorRequest、generalContext、dlivide、cryptorResponse

MingZnb avatar Jan 29 '23 02:01 MingZnb