dubbo icon indicating copy to clipboard operation
dubbo copied to clipboard

accessLog can not parse tiple pb idl request

Open yangzhongj opened this issue 3 years ago • 1 comments

  • [ ] I have searched the issues of this repository and believe that this is not a duplicate.

Environment

  • Dubbo version: 3.1.0
  • Operating System version: macos
  • Java version: 1.8

Steps to reproduce this issue

  1. accesslog = true

Pls. provide [GitHub address] to reproduce this issue.

Expected Behavior

normal print accessLog

Actual Behavior

image image

yangzhongj avatar Sep 15 '22 07:09 yangzhongj

image

yangzhongj avatar Sep 15 '22 07:09 yangzhongj

This is a bug of fastjson. See https://github.com/alibaba/fastjson/issues/2366

Try configure -Ddubbo.json-framework.prefer=gson to bypass this.

In Dubbo 3.2, Dubbo will use fastjson2 as default and no longer depend on fastjson. Fastjson2 has fix this in 2.0.16.

AlbumenJ avatar Oct 23 '22 04:10 AlbumenJ