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

SmackException while connecting in Listener null #29

Open
xuiqzy opened this issue Sep 21, 2014 · 5 comments
Open

SmackException while connecting in Listener null #29

xuiqzy opened this issue Sep 21, 2014 · 5 comments

Comments

@xuiqzy
Copy link
Member

xuiqzy commented Sep 21, 2014

not always: after logging in normally, switch goes off and:

09-21 01:34:17.280 19704-19742/de.adornis.Notifier E/ADORNIS﹕ SmackException while connecting in Listener null
09-21 01:34:17.280 19704-19742/de.adornis.Notifier E/ADORNIS﹕ << disconnecting

some other random cases :D

bad? normal? no other options?

display connection timeout when connecting, from main screen and from settings.
distinguish server down or user side failure?

fix with connecting multiple times?

@yorrd
Copy link
Member

yorrd commented Sep 21, 2014

This is due to packet timeouts I believe, please test with the new update (ac85049), it will try to reconnect with a greater timeout if this happens

@xuiqzy
Copy link
Member Author

xuiqzy commented Sep 21, 2014

it really tries 2 times as the logoutput states, but that's not enough when connecting on edge. tested on 1411211677

@yorrd
Copy link
Member

yorrd commented Sep 21, 2014

log output please, does it increase the timeout?

@xuiqzy
Copy link
Member Author

xuiqzy commented Sep 21, 2014

yes it increased the timeout to 10000 instead of 5000

yorrd added a commit that referenced this issue Sep 21, 2014
@yorrd
Copy link
Member

yorrd commented Sep 21, 2014

Please test again, it's going to go double twice, so it'll try 20 seconds before giving up

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