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

crcmnpdw  于 4个月前  发布在  其他
关注(0)|答案(2)|浏览(62)

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?

b91juud3

b91juud31#

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

lpwwtiir

lpwwtiir2#

@EarthChen@guohao@icodening PTAL

相关问题