Wrong error message when a server is unavailable

Description

Spark is giving the same "wrong username/password" error when the server is unavailable (offline). It should give an error that server is unavailable instead.

Environment

None

Activity

Show:
wroot
September 1, 2016, 8:20 PM

Have merged your PR and added a few translations and fixed wording a bit. Also tweaked the server unavailable check, so it would give the can't connect error instead of the unknown error when server is down.

speedy
August 31, 2016, 5:56 PM

So, it looks like the code would look at instanceof XMPPException for a matching condition. However it appears that most of the exceptions are being throw to SASLErrorException and SmackException.

speedy
August 29, 2016, 5:09 PM

It looks like none of the Exception conditions are working in LoginDialog.java, and everything is his hitting the default message, "Invalid username or password"
The default message should probably be changed to "Connection Error" or something similar and generic.

Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Priority

Minor

Assignee

speedy

Reporter

wroot

Labels