Liu-YanP opened a new issue, #13245:
URL: https://github.com/apache/dubbo/issues/13245

   <!-- If you need to report a security issue please visit 
https://github.com/apache/dubbo/security/policy -->
   
   ### Environment
   
   * Dubbo version: 3.2.6
   * Java version: jdk11
   
   
   升级3.2.6版本后 一直报getMetadataInfo超时错误。可以确定网络是没问题的。
   
   <!-- What do you expect from the above steps?-->
   
   <!-- What actually happens? -->
   
   ```
    [DUBBO] Failed to get app metadata for revision 
bbc7548be1e77bec95618bdfc77a950a for type local from instance host:port, dubbo 
version: 3.2.6, current host: XXXXXXX, 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.RpcException: Invoke remote method timeout. method: 
getMetadataInfo, provider: 
tri://(host:port)/org.apache.dubbo.metadata.MetadataService?connections=200&corethreads=2&dubbo=2.0.2&group=xxxxx&port=xxxxx&prefer.serialization=fastjson2,hessian2&protocol=tri&release=3.2.6&retries=0&side=consumer&threadpool=cached&threads=100&timeout=5000&token=************************************&version=1.0.0,
 cause: Timeout after 5000ms waiting for result.
        at 
org.apache.dubbo.rpc.protocol.AbstractInvoker.waitForResultIfSync(AbstractInvoker.java:304)
        at 
org.apache.dubbo.rpc.protocol.AbstractInvoker.invoke(AbstractInvoker.java:190)
        at 
org.apache.dubbo.rpc.proxy.InvocationUtil.invoke(InvocationUtil.java:61)
        at 
org.apache.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:75)
        at 
org.apache.dubbo.metadata.MetadataServiceDubboProxy1.getMetadataInfo(MetadataServiceDubboProxy1.java)
        at 
org.apache.dubbo.registry.client.metadata.MetadataUtils.getRemoteMetadata(MetadataUtils.java:173)
        at 
org.apache.dubbo.registry.client.AbstractServiceDiscovery.lambda$getRemoteMetadata$2(AbstractServiceDiscovery.java:229)
        at 
org.apache.dubbo.metrics.event.MetricsEventBus.post(MetricsEventBus.java:86)
        at 
org.apache.dubbo.registry.client.AbstractServiceDiscovery.getRemoteMetadata(AbstractServiceDiscovery.java:228)
        at 
org.apache.dubbo.registry.client.event.listener.ServiceInstancesChangedListener.lambda$doOnEvent$2(ServiceInstancesChangedListener.java:162)
        at java.base/java.util.Optional.orElseGet(Optional.java:369)
        at 
org.apache.dubbo.registry.client.event.listener.ServiceInstancesChangedListener.doOnEvent(ServiceInstancesChangedListener.java:162)
        at 
org.apache.dubbo.registry.client.event.listener.ServiceInstancesChangedListener.onEvent(ServiceInstancesChangedListener.java:116)
        at 
org.apache.dubbo.registry.client.event.listener.ServiceInstancesChangedListener$AddressRefreshRetryTask.run(ServiceInstancesChangedListener.java:489)
        at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at 
java.base/java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:264)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java)
        at 
java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
   Caused by: java.util.concurrent.TimeoutException: Timeout after 5000ms 
waiting for result.
        at org.apache.dubbo.rpc.AsyncRpcResult.get(AsyncRpcResult.java:207)
        at 
org.apache.dubbo.rpc.protocol.AbstractInvoker.waitForResultIfSync(AbstractInvoker.java:287)
        ... 20 more
   
   ```
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to