shenyu icon indicating copy to clipboard operation
shenyu copied to clipboard

[BUG] <title> The logResponse method of LoggingServerHttpResponse has Chinese garbled code

Open tonyxu721 opened this issue 1 year ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

image

I used divide plugin to call http service, and also used loggingAliyunSls plug-in. I found that the body of LoggingHttpResponse and the responseBody of the log uploaded to sls are garbled, but the final result of the client side is normal

I tried both nettyHttpClient and webClient, and the results were the same

Expected Behavior

image

LoggingHttpResponse and sls logs should look like above

Steps To Reproduce

No response

Environment

ShenYu version(s): Shenyu 2.7.0-SNAPSHOT(master branch)

Debug logs

No response

Anything else?

No response

tonyxu721 avatar Apr 11 '24 09:04 tonyxu721