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

跑在容器里provider端不停的报All clients has discontected... #1990

Closed
losphantom opened this issue Jun 26, 2018 · 4 comments
Closed
Labels
type/need-triage Need maintainers to triage

Comments

@losphantom
Copy link

losphantom commented Jun 26, 2018

provider可以正常提供服务, 但是基本上每隔20秒, 就一直输出以下日志, 貌似直接运行不会这样, 是容器里不能建立长连接吗? 还是我需要做什么设置?

[2018-06-26 13:57:09.914 - WARN] c.a.d.remoting.transport.AbstractServer  :  -  [DUBBO] All clients has discontected from /127.0.0.1:9090. You can graceful shutdown now., dubbo version: 2.6.1.2, current host: 172.1.2.155
[2018-06-26 13:57:29.924 - WARN] c.a.d.remoting.transport.AbstractServer  :  -  [DUBBO] All clients has discontected from /127.0.0.1:9090. You can graceful shutdown now., dubbo version: 2.6.1.2, current host: 172.1.2.155
[2018-06-26 13:57:49.911 - WARN] c.a.d.remoting.transport.AbstractServer  :  -  [DUBBO] All clients has discontected from /127.0.0.1:9090. You can graceful shutdown now., dubbo version: 2.6.1.2, current host: 172.1.2.155
[2018-06-26 13:58:09.904 - WARN] c.a.d.remoting.transport.AbstractServer  :  -  [DUBBO] All clients has discontected from /127.0.0.1:9090. You can graceful shutdown now., dubbo version: 2.6.1.2, current host: 172.1.2.155
[2018-06-26 13:58:29.933 - WARN] c.a.d.remoting.transport.AbstractServer  :  -  [DUBBO] All clients has discontected from /127.0.0.1:9090. You can graceful shutdown now., dubbo version: 2.6.1.2, current host: 172.1.2.155
[2018-06-26 13:58:49.906 - WARN] c.a.d.remoting.transport.AbstractServer  :  -  [DUBBO] All clients has discontected from /127.0.0.1:9090. You can graceful shutdown now., dubbo version: 2.6.1.2, current host: 172.1.2.155

补充一下: 容器环境是docker+k8s, 网络使用的是flannel的gw模式.

@ralf0131
Copy link
Contributor

Hi, I have update your description using markdown style.

@chickenlj chickenlj added the type/need-triage Need maintainers to triage label Jul 9, 2018
@chickenlj
Copy link
Contributor

Could you describe your problem with more details? How the consumer and provider cooperate with each other? The way you start Dubbo in docker+k8s, do you specify the IP for registry or for export.

@zhongkaiuu
Copy link

这个应该是容器探活导致的。TCP探活了dubbo端口,当TCP链接断开后,触发了AbstractServer的disconnected事件,又没有任何consumer链接,所以打印了这个日志。可以另外起个端口给探活用

@CrazyHZM
Copy link
Member

No feedback for a long time, please close the issue temporarily. If there is still a problem, you can reopen it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/need-triage Need maintainers to triage
Projects
None yet
Development

No branches or pull requests

5 participants