You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "chaoyoung (via GitHub)" <gi...@apache.org> on 2023/06/06 06:01:24 UTC

[GitHub] [dubbo] chaoyoung opened a new issue, #12463: metadata error: No such extension org.apache.dubbo.common.serialize.Serialization by name protobuf

chaoyoung opened a new issue, #12463:
URL: https://github.com/apache/dubbo/issues/12463

   ### Environment
   
   * Dubbo version: 3.1.10
   * Operating System version: CentOS 7.7
   * Java version: 1.8.0_201
   
   ### Steps to reproduce this issue
   
   1. maven pom.xml
      ```xml
      <dependency>
          <groupId>org.apache.dubbo</groupId>
          <artifactId>dubbo-spring-boot-starter</artifactId>
      </dependency>
      <dependency>
          <groupId>org.apache.dubbo</groupId>
          <artifactId>dubbo-spring-boot-actuator</artifactId>
      </dependency>
      <dependency>
          <groupId>org.apache.dubbo</groupId>
          <artifactId>dubbo-serialization-hessian2</artifactId>
      </dependency>
      ```
   2. dubbo config
      ```yml
      dubbo:
        application:
          name: xxx
          register-mode: all
          protocol: tri
          enable-empty-protection: false
        scan.base-packages: xxx
        protocols:
          triple:
            name: tri
            port: -1
            serialization: protobuf
          dubbo:
            name: dubbo
            port: -1
            serialization: hessian2
            payload: 104857600
        registry:
          enable-empty-protection: false
          address: nacos://${spring.cloud.nacos.server-addr}?username=${spring.cloud.nacos.username}&password=${spring.cloud.nacos.password}
          use-as-metadata-center: true
          use-as-config-center: true
        provider:
          delay: -1
          timeout: 3000
          retries: 0
        consumer:
          check: false
      ```
   
   ### Expected Behavior
   
   No Error
   
   ### Actual Behavior
   
   ```java
   2023-06-06 10:20:39.343 ERROR 1 --- [           main] d.rpc.protocol.tri.call.TripleClientCall:? :  [DUBBO] Serialize triple request failed, service=org.apache.dubbo.metadata.MetadataService method=org.apache.dubbo.rpc.model.ReflectionMethodDescriptor@d40a18e9, dubbo version: 3.1.10, current host: 10.244.6.142, error code: 4-10. This may be caused by , go to https://dubbo.apache.org/faq/4/10 to find instructions.
   
   java.lang.IllegalStateException: No such extension org.apache.dubbo.common.serialize.Serialization by name protobuf, no related exception was found, please check whether related SPI module is missing.
   	at org.apache.dubbo.common.extension.ExtensionLoader.findException(ExtensionLoader.java:760)
   	at org.apache.dubbo.common.extension.ExtensionLoader.createExtension(ExtensionLoader.java:767)
   	at org.apache.dubbo.common.extension.ExtensionLoader.getExtension(ExtensionLoader.java:561)
   	at org.apache.dubbo.common.extension.ExtensionLoader.getExtension(ExtensionLoader.java:535)
   	at org.apache.dubbo.common.serialize.DefaultMultipleSerialization.serialize(DefaultMultipleSerialization.java:31)
   	at org.apache.dubbo.rpc.protocol.tri.ReflectionPackableMethod$WrapRequestPack.pack(ReflectionPackableMethod.java:408)
   	at org.apache.dubbo.rpc.model.PackableMethod.packRequest(PackableMethod.java:58)
   	at org.apache.dubbo.rpc.protocol.tri.call.TripleClientCall.sendMessage(TripleClientCall.java:159)
   	at org.apache.dubbo.rpc.protocol.tri.observer.ClientCallToObserverAdapter.onNext(ClientCallToObserverAdapter.java:44)
   	at org.apache.dubbo.rpc.protocol.tri.TripleInvoker.invokeUnary(TripleInvoker.java:221)
   	at org.apache.dubbo.rpc.protocol.tri.TripleInvoker.doInvoke(TripleInvoker.java:123)
   	at org.apache.dubbo.rpc.protocol.AbstractInvoker.doInvokeAndReturn(AbstractInvoker.java:222)
   	at org.apache.dubbo.rpc.protocol.AbstractInvoker.invoke(AbstractInvoker.java:183)
   	at org.apache.dubbo.rpc.proxy.InvocationUtil.invoke(InvocationUtil.java:57)
   	at org.apache.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:75)
   	at org.apache.dubbo.metadata.MetadataServiceDubboProxy2.getMetadataInfo(MetadataServiceDubboProxy2.java)
   	at org.apache.dubbo.registry.client.metadata.MetadataUtils.getRemoteMetadata(MetadataUtils.java:173)
   	at org.apache.dubbo.registry.client.AbstractServiceDiscovery.getRemoteMetadata(AbstractServiceDiscovery.java:223)
   	at org.apache.dubbo.registry.client.event.listener.ServiceInstancesChangedListener.lambda$doOnEvent$2(ServiceInstancesChangedListener.java:159)
   	at java.util.Optional.orElseGet(Optional.java:267)
   	at org.apache.dubbo.registry.client.event.listener.ServiceInstancesChangedListener.doOnEvent(ServiceInstancesChangedListener.java:159)
   	at org.apache.dubbo.registry.client.event.listener.ServiceInstancesChangedListener.onEvent(ServiceInstancesChangedListener.java:113)
   	at org.apache.dubbo.registry.client.ServiceDiscoveryRegistry.subscribeURLs(ServiceDiscoveryRegistry.java:317)
   	at org.apache.dubbo.registry.client.ServiceDiscoveryRegistry.doSubscribe(ServiceDiscoveryRegistry.java:217)
   	at org.apache.dubbo.registry.client.ServiceDiscoveryRegistry.subscribe(ServiceDiscoveryRegistry.java:185)
   	at org.apache.dubbo.registry.ListenerRegistryWrapper.subscribe(ListenerRegistryWrapper.java:88)
   	at org.apache.dubbo.registry.integration.DynamicDirectory.subscribe(DynamicDirectory.java:183)
   	at org.apache.dubbo.registry.client.ServiceDiscoveryRegistryDirectory.subscribe(ServiceDiscoveryRegistryDirectory.java:127)
   	at org.apache.dubbo.registry.integration.RegistryProtocol.doCreateInvoker(RegistryProtocol.java:573)
   	at org.apache.dubbo.registry.integration.InterfaceCompatibleRegistryProtocol.getServiceDiscoveryInvoker(InterfaceCompatibleRegistryProtocol.java:65)
   	at org.apache.dubbo.registry.client.migration.MigrationInvoker.refreshServiceDiscoveryInvoker(MigrationInvoker.java:437)
   	at org.apache.dubbo.registry.client.migration.MigrationInvoker.migrateToApplicationFirstInvoker(MigrationInvoker.java:245)
   	at org.apache.dubbo.registry.client.migration.MigrationRuleHandler.refreshInvoker(MigrationRuleHandler.java:76)
   	at org.apache.dubbo.registry.client.migration.MigrationRuleHandler.doMigrate(MigrationRuleHandler.java:60)
   	at org.apache.dubbo.registry.client.migration.MigrationRuleListener.onRefer(MigrationRuleListener.java:247)
   	at org.apache.dubbo.registry.integration.RegistryProtocol.interceptInvoker(RegistryProtocol.java:538)
   	at org.apache.dubbo.registry.integration.RegistryProtocol.doRefer(RegistryProtocol.java:508)
   	at org.apache.dubbo.registry.integration.RegistryProtocol.refer(RegistryProtocol.java:490)
   	at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.refer(ProtocolListenerWrapper.java:74)
   	at org.apache.dubbo.qos.protocol.QosProtocolWrapper.refer(QosProtocolWrapper.java:83)
   	at org.apache.dubbo.rpc.protocol.ProtocolSecurityWrapper.refer(ProtocolSecurityWrapper.java:107)
   	at org.apache.dubbo.rpc.cluster.filter.ProtocolFilterWrapper.refer(ProtocolFilterWrapper.java:71)
   	at org.apache.dubbo.rpc.protocol.ProtocolSerializationWrapper.refer(ProtocolSerializationWrapper.java:52)
   	at org.apache.dubbo.rpc.protocol.InvokerCountWrapper.refer(InvokerCountWrapper.java:48)
   	at org.apache.dubbo.rpc.Protocol$Adaptive.refer(Protocol$Adaptive.java)
   	at org.apache.dubbo.config.ReferenceConfig.createInvokerForRemote(ReferenceConfig.java:614)
   	at org.apache.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:448)
   	at org.apache.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:300)
   	at org.apache.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:232)
   	at org.apache.dubbo.config.utils.SimpleReferenceCache.get(SimpleReferenceCache.java:131)
   	at org.apache.dubbo.config.deploy.DefaultModuleDeployer.lambda$referServices$6(DefaultModuleDeployer.java:396)
   	at java.util.concurrent.ConcurrentHashMap$ValuesView.forEach(ConcurrentHashMap.java:4707)
   	at org.apache.dubbo.config.deploy.DefaultModuleDeployer.referServices(DefaultModuleDeployer.java:376)
   	at org.apache.dubbo.config.deploy.DefaultModuleDeployer.startSync(DefaultModuleDeployer.java:167)
   	at org.apache.dubbo.config.deploy.DefaultModuleDeployer.start(DefaultModuleDeployer.java:139)
   	at org.apache.dubbo.config.spring.context.DubboDeployApplicationListener.onContextRefreshedEvent(DubboDeployApplicationListener.java:113)
   	at org.apache.dubbo.config.spring.context.DubboDeployApplicationListener.onApplicationEvent(DubboDeployApplicationListener.java:102)
   	at org.apache.dubbo.config.spring.context.DubboDeployApplicationListener.onApplicationEvent(DubboDeployApplicationListener.java:47)
   	at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176)
   	at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169)
   	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143)
   	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:421)
   	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:378)
   	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:938)
   	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:586)
   	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147)
   	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731)
   	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408)
   	at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
   	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303)
   	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292)
   	at com.listenrobot.dm.DMApplication.main(DMApplication.java:38)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
   	at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)
   	at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
   	at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:65)
   
   2023-06-06 10:20:39.344 ERROR 1 --- [           main] d.registry.client.metadata.MetadataUtils:? :  [DUBBO] Failed to get app metadata for revision 2e95e6f13529243828bc36575de007e3 for type local from instance 10.244.4.170:50051, dubbo version: 3.1.10, current host: 10.244.6.142, error code: 1-39. This may be caused by , go to https://dubbo.apache.org/faq/1/39 to find instructions.
   
   org.apache.dubbo.rpc.StatusRpcException: INTERNAL : Serialize request failed
   	at org.apache.dubbo.rpc.TriRpcStatus.asException(TriRpcStatus.java:214)
   	at org.apache.dubbo.rpc.protocol.tri.call.UnaryClientCallListener.onClose(UnaryClientCallListener.java:47)
   	at org.apache.dubbo.rpc.protocol.tri.call.TripleClientCall.sendMessage(TripleClientCall.java:175)
   	at org.apache.dubbo.rpc.protocol.tri.observer.ClientCallToObserverAdapter.onNext(ClientCallToObserverAdapter.java:44)
   	at org.apache.dubbo.rpc.protocol.tri.TripleInvoker.invokeUnary(TripleInvoker.java:221)
   	at org.apache.dubbo.rpc.protocol.tri.TripleInvoker.doInvoke(TripleInvoker.java:123)
   	at org.apache.dubbo.rpc.protocol.AbstractInvoker.doInvokeAndReturn(AbstractInvoker.java:222)
   	at org.apache.dubbo.rpc.protocol.AbstractInvoker.invoke(AbstractInvoker.java:183)
   	at org.apache.dubbo.rpc.proxy.InvocationUtil.invoke(InvocationUtil.java:57)
   	at org.apache.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:75)
   	at org.apache.dubbo.metadata.MetadataServiceDubboProxy2.getMetadataInfo(MetadataServiceDubboProxy2.java)
   	at org.apache.dubbo.registry.client.metadata.MetadataUtils.getRemoteMetadata(MetadataUtils.java:173)
   	at org.apache.dubbo.registry.client.AbstractServiceDiscovery.getRemoteMetadata(AbstractServiceDiscovery.java:223)
   	at org.apache.dubbo.registry.client.event.listener.ServiceInstancesChangedListener.lambda$doOnEvent$2(ServiceInstancesChangedListener.java:159)
   	at java.util.Optional.orElseGet(Optional.java:267)
   	at org.apache.dubbo.registry.client.event.listener.ServiceInstancesChangedListener.doOnEvent(ServiceInstancesChangedListener.java:159)
   	at org.apache.dubbo.registry.client.event.listener.ServiceInstancesChangedListener.onEvent(ServiceInstancesChangedListener.java:113)
   	at org.apache.dubbo.registry.client.ServiceDiscoveryRegistry.subscribeURLs(ServiceDiscoveryRegistry.java:317)
   	at org.apache.dubbo.registry.client.ServiceDiscoveryRegistry.doSubscribe(ServiceDiscoveryRegistry.java:217)
   	at org.apache.dubbo.registry.client.ServiceDiscoveryRegistry.subscribe(ServiceDiscoveryRegistry.java:185)
   	at org.apache.dubbo.registry.ListenerRegistryWrapper.subscribe(ListenerRegistryWrapper.java:88)
   	at org.apache.dubbo.registry.integration.DynamicDirectory.subscribe(DynamicDirectory.java:183)
   	at org.apache.dubbo.registry.client.ServiceDiscoveryRegistryDirectory.subscribe(ServiceDiscoveryRegistryDirectory.java:127)
   	at org.apache.dubbo.registry.integration.RegistryProtocol.doCreateInvoker(RegistryProtocol.java:573)
   	at org.apache.dubbo.registry.integration.InterfaceCompatibleRegistryProtocol.getServiceDiscoveryInvoker(InterfaceCompatibleRegistryProtocol.java:65)
   	at org.apache.dubbo.registry.client.migration.MigrationInvoker.refreshServiceDiscoveryInvoker(MigrationInvoker.java:437)
   	at org.apache.dubbo.registry.client.migration.MigrationInvoker.migrateToApplicationFirstInvoker(MigrationInvoker.java:245)
   	at org.apache.dubbo.registry.client.migration.MigrationRuleHandler.refreshInvoker(MigrationRuleHandler.java:76)
   	at org.apache.dubbo.registry.client.migration.MigrationRuleHandler.doMigrate(MigrationRuleHandler.java:60)
   	at org.apache.dubbo.registry.client.migration.MigrationRuleListener.onRefer(MigrationRuleListener.java:247)
   	at org.apache.dubbo.registry.integration.RegistryProtocol.interceptInvoker(RegistryProtocol.java:538)
   	at org.apache.dubbo.registry.integration.RegistryProtocol.doRefer(RegistryProtocol.java:508)
   	at org.apache.dubbo.registry.integration.RegistryProtocol.refer(RegistryProtocol.java:490)
   	at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.refer(ProtocolListenerWrapper.java:74)
   	at org.apache.dubbo.qos.protocol.QosProtocolWrapper.refer(QosProtocolWrapper.java:83)
   	at org.apache.dubbo.rpc.protocol.ProtocolSecurityWrapper.refer(ProtocolSecurityWrapper.java:107)
   	at org.apache.dubbo.rpc.cluster.filter.ProtocolFilterWrapper.refer(ProtocolFilterWrapper.java:71)
   	at org.apache.dubbo.rpc.protocol.ProtocolSerializationWrapper.refer(ProtocolSerializationWrapper.java:52)
   	at org.apache.dubbo.rpc.protocol.InvokerCountWrapper.refer(InvokerCountWrapper.java:48)
   	at org.apache.dubbo.rpc.Protocol$Adaptive.refer(Protocol$Adaptive.java)
   	at org.apache.dubbo.config.ReferenceConfig.createInvokerForRemote(ReferenceConfig.java:614)
   	at org.apache.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:448)
   	at org.apache.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:300)
   	at org.apache.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:232)
   	at org.apache.dubbo.config.utils.SimpleReferenceCache.get(SimpleReferenceCache.java:131)
   	at org.apache.dubbo.config.deploy.DefaultModuleDeployer.lambda$referServices$6(DefaultModuleDeployer.java:396)
   	at java.util.concurrent.ConcurrentHashMap$ValuesView.forEach(ConcurrentHashMap.java:4707)
   	at org.apache.dubbo.config.deploy.DefaultModuleDeployer.referServices(DefaultModuleDeployer.java:376)
   	at org.apache.dubbo.config.deploy.DefaultModuleDeployer.startSync(DefaultModuleDeployer.java:167)
   	at org.apache.dubbo.config.deploy.DefaultModuleDeployer.start(DefaultModuleDeployer.java:139)
   	at org.apache.dubbo.config.spring.context.DubboDeployApplicationListener.onContextRefreshedEvent(DubboDeployApplicationListener.java:113)
   	at org.apache.dubbo.config.spring.context.DubboDeployApplicationListener.onApplicationEvent(DubboDeployApplicationListener.java:102)
   	at org.apache.dubbo.config.spring.context.DubboDeployApplicationListener.onApplicationEvent(DubboDeployApplicationListener.java:47)
   	at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176)
   	at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169)
   	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143)
   	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:421)
   	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:378)
   	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:938)
   	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:586)
   	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147)
   	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731)
   	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408)
   	at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
   	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303)
   	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292)
   	at com.listenrobot.dm.DMApplication.main(DMApplication.java:38)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
   	at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)
   	at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
   	at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:65)
   Caused by: java.lang.IllegalStateException: No such extension org.apache.dubbo.common.serialize.Serialization by name protobuf, no related exception was found, please check whether related SPI module is missing.
   	at org.apache.dubbo.common.extension.ExtensionLoader.findException(ExtensionLoader.java:760)
   	at org.apache.dubbo.common.extension.ExtensionLoader.createExtension(ExtensionLoader.java:767)
   	at org.apache.dubbo.common.extension.ExtensionLoader.getExtension(ExtensionLoader.java:561)
   	at org.apache.dubbo.common.extension.ExtensionLoader.getExtension(ExtensionLoader.java:535)
   	at org.apache.dubbo.common.serialize.DefaultMultipleSerialization.serialize(DefaultMultipleSerialization.java:31)
   	at org.apache.dubbo.rpc.protocol.tri.ReflectionPackableMethod$WrapRequestPack.pack(ReflectionPackableMethod.java:408)
   	at org.apache.dubbo.rpc.model.PackableMethod.packRequest(PackableMethod.java:58)
   	at org.apache.dubbo.rpc.protocol.tri.call.TripleClientCall.sendMessage(TripleClientCall.java:159)
   	... 72 common frames omitted
   
   2023-06-06 10:20:40.347  INFO 1 --- [           main] org.apache.dubbo.rpc.model.ModuleModel  :202 :  [DUBBO] Dynamically registering consumer model vui-server-dubbo/org.apache.dubbo.metadata.MetadataService:1.0.0 into model Dubbo Module[1.1.0], dubbo version: 3.1.10, current host: 10.244.6.142
   2023-06-06 10:20:40.354 ERROR 1 --- [           main] d.rpc.protocol.tri.call.TripleClientCall:? :  [DUBBO] Serialize triple request failed, service=org.apache.dubbo.metadata.MetadataService method=org.apache.dubbo.rpc.model.ReflectionMethodDescriptor@d40a18e9, dubbo version: 3.1.10, current host: 10.244.6.142, error code: 4-10. This may be caused by , go to https://dubbo.apache.org/faq/4/10 to find instructions.
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] 237chenhao commented on issue #12463: dubbo 3.1.10 metadata error: No such extension org.apache.dubbo.common.serialize.Serialization by name protobuf

Posted by "237chenhao (via GitHub)" <gi...@apache.org>.
237chenhao commented on issue #12463:
URL: https://github.com/apache/dubbo/issues/12463#issuecomment-1687622464

   我也是一样,使用的dubbo3.2.1,官方文档推荐使用fastjson2序列化,目前试过使用protobuf、fastjson2、hession2,只有hession2是可以的,其他都报错


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ commented on issue #12463: dubbo 3.1.10 metadata error: No such extension org.apache.dubbo.common.serialize.Serialization by name protobuf

Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ commented on issue #12463:
URL: https://github.com/apache/dubbo/issues/12463#issuecomment-1687644649

   > 我也是一样,使用的dubbo3.2.1,官方文档推荐使用fastjson2序列化,目前试过使用protobuf、fastjson2、hession2,只有hession2是可以的,其他都报错
   
   Could u pls provide a demo?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] dubbo 3.1.10 metadata error: No such extension org.apache.dubbo.common.serialize.Serialization by name protobuf [dubbo]

Posted by "wxbty (via GitHub)" <gi...@apache.org>.
wxbty commented on issue #12463:
URL: https://github.com/apache/dubbo/issues/12463#issuecomment-2009627833

   > 我也是一样,使用的dubbo3.2.1,官方文档推荐使用fastjson2序列化,目前试过使用protobuf、fastjson2、hession2,只有hession2是可以的,其他都报错
   
   测试确实如此,看了下代码,默认没有其他实现。
   ![image](https://github.com/apache/dubbo/assets/38374721/c33b5da0-8ca1-4be0-9e9d-abfeda05fdc4)
   
   其他序列化协议实现在dubbo-spi-extensions仓库。
   ![image](https://github.com/apache/dubbo/assets/38374721/c1ad459c-1405-4916-b97f-b8fcfe41c73a)
   
   引入对应依赖解决。
   
   文档待更新:https://cn.dubbo.apache.org/zh-cn/overview/mannual/java-sdk/reference-manual/serialization/protobuf/
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] dubbo 3.1.10 metadata error: No such extension org.apache.dubbo.common.serialize.Serialization by name protobuf [dubbo]

Posted by "wxbty (via GitHub)" <gi...@apache.org>.
wxbty closed issue #12463: dubbo 3.1.10 metadata error: No such extension org.apache.dubbo.common.serialize.Serialization by name protobuf
URL: https://github.com/apache/dubbo/issues/12463


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] dubbo 3.1.10 metadata error: No such extension org.apache.dubbo.common.serialize.Serialization by name protobuf [dubbo]

Posted by "duyang416 (via GitHub)" <gi...@apache.org>.
duyang416 commented on issue #12463:
URL: https://github.com/apache/dubbo/issues/12463#issuecomment-1926318654

   
   
   
   > @chaoyoung 目前使用`triple`时并不需要手动指定protobuf序列化,是否使用`protobuf`序列化方式是根据方法入参class类型判断的
   
   有没有使用`dubbo`协议和protobuf序列化的手册或者demo呢?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] icodening commented on issue #12463: dubbo 3.1.10 metadata error: No such extension org.apache.dubbo.common.serialize.Serialization by name protobuf

Posted by "icodening (via GitHub)" <gi...@apache.org>.
icodening commented on issue #12463:
URL: https://github.com/apache/dubbo/issues/12463#issuecomment-1578358420

   @chaoyoung 
   目前使用`triple`时并不需要手动指定protobuf序列化,是否使用`protobuf`序列化方式是根据方法入参class类型判断的


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] dubbo 3.1.10 metadata error: No such extension org.apache.dubbo.common.serialize.Serialization by name protobuf [dubbo]

Posted by "CrazyHZM (via GitHub)" <gi...@apache.org>.
CrazyHZM closed issue #12463: dubbo 3.1.10 metadata error: No such extension org.apache.dubbo.common.serialize.Serialization by name protobuf
URL: https://github.com/apache/dubbo/issues/12463


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] mqttqz commented on issue #12463: dubbo 3.1.10 metadata error: No such extension org.apache.dubbo.common.serialize.Serialization by name protobuf

Posted by "mqttqz (via GitHub)" <gi...@apache.org>.
mqttqz commented on issue #12463:
URL: https://github.com/apache/dubbo/issues/12463#issuecomment-1589566539

   same as me


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ commented on issue #12463: dubbo 3.1.10 metadata error: No such extension org.apache.dubbo.common.serialize.Serialization by name protobuf

Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ commented on issue #12463:
URL: https://github.com/apache/dubbo/issues/12463#issuecomment-1578313167

   @icodening PTAL


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org