Skip to content

SOFATracer 不兼容 Dubbo 2.7.2 版本 #230

@spiritme1984

Description

@spiritme1984

今天把dubbo版本升级到2.7.2发现客户端不能连接到服务端,提示如下:
Exception in thread "main" org.apache.dubbo.rpc.RpcException: Failed to invoke the method sayHello in the service cn.jcorn.dubbo.api.GreetingService. Tried 3 times of the providers [192.168.14.179:20880] (1/1) from the registry 127.0.0.1:2181 on the consumer 192.168.14.179 using the dubbo version 2.7.2. Last error is: Invoke remote method timeout. method: sayHello, provider: dubbo://192.168.14.179:20880/cn.jcorn.dubbo.api.GreetingService?anyhost=true&application=dubbo-consumer&bean.name=cn.jcorn.dubbo.api.GreetingService&check=false&deprecated=false&dubbo=2.0.2&dynamic=true&generic=false&interface=cn.jcorn.dubbo.api.GreetingService&lazy=false&methods=sayHello&pid=8168&register=true&register.ip=192.168.14.179&release=2.7.2&remote.application=dubbo-provider&side=consumer&sticky=false&timestamp=1560388940270,cause: org.apache.dubbo.remoting.TimeoutException: Waiting server-side response timeout by scan timer. start time: 2019-06-13 09:22:28.877, end time: 2019-06-13 09:22:29.896, client elapsed: 1 ms, server elapsed: 1018 ms, timeout: 1000 ms, request: Request [id=2, version=2.0.2, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=sayHello, parameterTypes=[class java.lang.String], arguments=[world], attachments={path=cn.jcorn.dubbo.api.GreetingService, input=235, client.serialize.time=0, interface=cn.jcorn.dubbo.api.GreetingService, version=0.0.0}]], channel: /192.168.14.179:58693 -> /192.168.14.179:20880 at org.apache.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:113) at org.apache.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:248) at org.apache.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.invoke(MockClusterInvoker.java:78) at org.apache.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:55) at org.apache.dubbo.common.bytecode.proxy0.sayHello(proxy0.java) at cn.jcorn.dubbo.consumer.Consumer.main(Consumer.java:11) Caused by: java.util.concurrent.ExecutionException: org.apache.dubbo.remoting.TimeoutException: Waiting server-side response timeout by scan timer. start time: 2019-06-13 09:22:28.877, end time: 2019-06-13 09:22:29.896, client elapsed: 1 ms, server elapsed: 1018 ms, timeout: 1000 ms, request: Request [id=2, version=2.0.2, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=sayHello, parameterTypes=[class java.lang.String], arguments=[world], attachments={path=cn.jcorn.dubbo.api.GreetingService, input=235, client.serialize.time=0, interface=cn.jcorn.dubbo.api.GreetingService, version=0.0.0}]], channel: /192.168.14.179:58693 -> /192.168.14.179:20880 at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357) at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1895) at org.apache.dubbo.rpc.protocol.AsyncToSyncInvoker.invoke(AsyncToSyncInvoker.java:54) at org.apache.dubbo.rpc.listener.ListenerInvokerWrapper.invoke(ListenerInvokerWrapper.java:78) at org.apache.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:92) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.rpc.protocol.dubbo.filter.FutureFilter.invoke(FutureFilter.java:54) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.rpc.filter.ConsumerContextFilter.invoke(ConsumerContextFilter.java:58) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$CallbackRegistrationInvoker.invoke(ProtocolFilterWrapper.java:150) at org.apache.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:56) at org.apache.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:82) ... 5 more
试过了dubbo的2.7.1版本可以正常调用,因为这个版本的dubbo有bug所以要升级到2.7.2,但是好像sofaTrace的dubbo插件不支持2.7.2版本的dubbo...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions