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

Connection error on Jellybean #913

Open
echaskaris opened this issue Nov 21, 2019 · 9 comments
Open

Connection error on Jellybean #913

echaskaris opened this issue Nov 21, 2019 · 9 comments

Comments

@echaskaris
Copy link

org.jivesoftware.smack.SmackException$ConnectionException: The following addresses failed
at com.xabber.xmpp.smack.XMPPTCPConnection.connectUsingConfiguration(Unknown Source)
at com.xabber.xmpp.smack.XMPPTCPConnection.connectInternal(Unknown Source)
at org.jivesoftware.smack.AbstractXMPPConnection.connect(Unknown Source)
at com.xabber.android.data.connection.ConnectionThread.connectAndLogin(Unknown Source)
at com.xabber.android.data.connection.ConnectionThread$1.run(Unknown Source)
at java.lang.Thread.run(Thread.java:856)

Phone doesn't have Google Play Services
Works on Kitkat phone with Google Play Services

@andrewnenakhov
Copy link
Member

You might have encountered a rare bug in connection code, try latest update to Xabber Beta (on Google Play). Please, report here if it helps (or not).

@echaskaris
Copy link
Author

Doesn't work. Now I get no response exception, while waiting for tls

@vitaliipopov23
Copy link
Contributor

There are various problems with connection those can lead to this exception. Cause you doesn't provided another data, we can only advice to check your connection settings: host address, port, proxy, etc or maybe even reinstall app. Or you can provide log-files, steps what you do, and then we try to locate a problem with more accuracy.

@echaskaris
Copy link
Author

@echaskaris
Copy link
Author

Do you see anything in the log?

@echaskaris
Copy link
Author

@andrewnenakhov @popovvitaly Sorry to ping you but I'd like to get xabber to work

@vitaliipopov23
Copy link
Contributor

Android before 5.0 can't enable TLS by default without using Google Play Services. I think we can't easily fix it, sorry.

@echaskaris
Copy link
Author

Ok, what about SSL? I can't get that to work either. Xabber_2.6.6.645_2019-12-16_12-08-29-2124424731.txt

Also I found this https://stackoverflow.com/questions/37705367/how-do-i-get-tls-1-2-to-work-in-android-4-4-without-the-help-of-google-play-serv

@bleedingcrow
Copy link

@echaskaris spot on

The newest TLS does not require an android version "upgrade"

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

4 participants