dubbo icon indicating copy to clipboard operation
dubbo copied to clipboard

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

Open HeBai97 opened this issue 2 years ago • 2 comments

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 avatar Jun 12 '23 02:06 HeBai97

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

HeBai97 avatar Jun 12 '23 02:06 HeBai97

@EarthChen @guohao @icodening PTAL

AlbumenJ avatar Jun 12 '23 12:06 AlbumenJ