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

有哪些情况会导致断开连接 #32

Open
Labradors opened this issue Apr 13, 2017 · 2 comments
Open

有哪些情况会导致断开连接 #32

Labradors opened this issue Apr 13, 2017 · 2 comments

Comments

@Labradors
Copy link

Labradors commented Apr 13, 2017

com.china.epower.chat:remote W/HermesEventBus: Hermes service disconnected!
遇到这种情况有手动重连的方法吗?

@Xiaofei-it
Copy link
Owner

Xiaofei-it commented May 5, 2017

断开连接是因为android service连接被中断,这个可以从android service为什么会断开方面考虑。

一般是进程被杀死,或者某个进程有崩溃导致死亡。当然还有很多其他原因,比如国产手机的一些坑。

@Xiaofei-it
Copy link
Owner

关于手动重连,已经有相应的PR被提出,我会merge。见pull request #26

另外,这个问题在之前的issue里也有人问过。你可以参考 #30

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