Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to invoke the method com.***.****.XxxxService .No provider is available because can't connect server. #2607

Open
drama10096 opened this issue Mar 5, 2024 · 4 comments
Milestone

Comments

@drama10096
Copy link

drama10096 commented Mar 5, 2024

Environment

  • Server: java提供的dubbo服务, dubbo版本2.7.3
  • Client: Dubbo-go, v1.5.8
  • Protocol:dubbo
  • Registry: zookeeper

Issue description

通过dubbo-go客户端调用java提供的dubbo服务,报“No provider is available because can't connect server” 这种奇怪错误(偶现的,感觉机器负载压力高的时候会出现),查不到相关资料,在容器内部 telnet 命令访问目标dubbo服务的ip和端口是能正常通信的,dubbo管控台也正常体现provider的服务

Logs

Uploading Snipaste_2024-03-05_17-15-32.png…

Click me to check logs
Failed to invoke the method getHealthyEnvConfigListByShowTypeV2 of the service com.aaaa.bbbb.healthy.HealthyService .No provider is available because can't connect server.

@drama10096
Copy link
Author

Uploading Snipaste_2024-03-05_17-15-32.png…

@chickenlj chickenlj added this to the 3.1.2 milestone Mar 6, 2024
@chickenlj
Copy link
Contributor

The picture is broken.

@drama10096
Copy link
Author

The picture is broken.

又出现这个问题了,原始堆栈如下

Failed to invoke the method batchPkgUpgradeByRange of the service com.xxx.xxx.xx.IUpgradeService .No provider is available because can't connect server.

@drama10096
Copy link
Author

drama10096 commented Aug 5, 2024

Environment
Server: java提供的dubbo服务, dubbo版本2.7.3
Client: Dubbo-go, v1.5.8
Protocol:dubbo
Registry: zookeeper

dubbo-go源码中的代码位置:
cluster/cluster_impl/failover_cluster_invoker.go:49
日志打印代码:
"Failed to invoke the method %s of the service %s .No provider is available because can't connect server."

这里的server是个什么意思??? 日志里没体现IP或端口地址

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants