apache / dubbo

The java implementation of Apache Dubbo. An RPC and microservice framework.
https://dubbo.apache.org/
Apache License 2.0
40.3k stars 26.38k forks source link

UNIMPLEMENTED : invalid content-type: application/json triple rpc protocol . even choose the hessian2 serialzation . still doesn't work. #12495

Open HeBai97 opened 1 year ago

HeBai97 commented 1 year ago

When I build a sidecar dubbo mesh using dubbo 3.1.8, and the consumer uses the triple protocol to call the provider, an error message is displayed: UNIMPLEMENTED: invalid content-type: application/json. How can I solve this problem?

HeBai97 commented 1 year ago

Export dubbo service com.xxx.dubbo.service.DemoService to url tri://10.xx.xx.148:50052/com.xxx.dubbo.service.DemoService?anyhost=true&application=maven-demo-dubbo-provider&background=false&bind.ip=10.xx.xx.148&bind.port=50052&deprecated=false&dubbo=2.0.2&dynamic=true&generic=false&interface=com.xxx.dubbo.service.DemoService&logger=slf4j&metadata-service-port=20885&metadata-service-protocol=tri&metadata-type=local&methods=sayHello&pid=7&qos.accept.foreign.ip=false&qos.enable=false&register-mode=interface&release=3.1.8&revision=1.0&side=provider&timestamp=1686537033729&version=1.0.0, dubbo version: 3.1.8

AlbumenJ commented 1 year ago

@EarthChen @guohao @icodening PTAL