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?
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®ister-mode=interface&release=3.1.8&revision=1.0&side=provider×tamp=1686537033729&version=1.0.0, dubbo version: 3.1.8
2条答案
按热度按时间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®ister-mode=interface&release=3.1.8&revision=1.0&side=provider×tamp=1686537033729&version=1.0.0, dubbo version: 3.1.8
lpwwtiir2#
@EarthChen@guohao@icodening PTAL