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

PostDialPlugin:auth-bearer 无法重连 #86

Closed
hagbei opened this issue May 12, 2020 · 2 comments
Closed

PostDialPlugin:auth-bearer 无法重连 #86

hagbei opened this issue May 12, 2020 · 2 comments

Comments

@hagbei
Copy link

hagbei commented May 12, 2020

您好,当服务端关闭后,客户端有概率出现如下错误,出现错误后重连机制就没有了。

[2020/05/12 08:00:04.169] [DEBU] [PostDialPlugin:auth-bearer] network:tcp, addr:127.0.0.1:8081, is_redial:true, error:{"code":102,"msg":"Connection Closed","cause":"read tcp 127.0.0.1:60300->127.0.0.1:8081: read: connection reset by peer"}
[2020/05/12 08:00:04.169] [ERRO] redial fail (network:tcp, addr:127.0.0.1:8081, id:127.0.0.1:60238): {"code":102,"msg":"Connection Closed","cause":"read tcp 127.0.0.1:60300->127.0.0.1:8081: read: connection reset by peer"}

客户端出现如上错误后,不会再重新尝试连接服务端。

andeya added a commit that referenced this issue May 12, 2020
Change-Id: Ib4d2dd774c6901aa0faf8b3adbf9e2c69e1cb711
@andeya
Copy link
Owner

andeya commented May 12, 2020

已经修复,使用最新commit再试试

@hagbei
Copy link
Author

hagbei commented May 12, 2020

好了,已经没有问题了已经可以正常重连了。感谢感谢!

@hagbei hagbei closed this as completed May 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants