[jitsi-dev] Jitsi forget the password every time there is an auth problem


#1

Hi!

On occasion the XMPP endpoints from Facebook and from LJ return a
transient error when one attempts to log in.

When this happens to Jitsi, it pops up a dialog asking the user to
re-enter the password, after forgetting what the password was.

This also happens when Jitsi tries to reconnect in when I am on a
network with a captive HTTP portal and my local wireless login times
out.

This is extremely annoying, because I then has to go back to my
password vault, look up the password again, and paste it into that
dialog.

Can Jitsi be changed so it stops forgetting the password when there is
a transient login error?

Thanks!

..m


#2

On occasion the XMPP endpoints from Facebook and from LJ return a
transient error when one attempts to log in.

When this happens to Jitsi, it pops up a dialog asking the user to
re-enter the password, after forgetting what the password was.

This also happens when Jitsi tries to reconnect in when I am on a
network with a captive HTTP portal and my local wireless login times out.

This is extremely annoying, because I then has to go back to my password
vault, look up the password again, and paste it into that dialog.

Can Jitsi be changed so it stops forgetting the password when there is
a transient login error?

I've been annoyed by this too, but I don't know when we can look at this.
Could you please open a feature request on our issue tracker so we don't
forget about it?

Thanks!
..m

Ingo


#3

On occasion the XMPP endpoints from Facebook and from LJ return a
transient error when one attempts to log in.

When this happens to Jitsi, it pops up a dialog asking the user to
re-enter the password, after forgetting what the password was.

This also happens when Jitsi tries to reconnect in when I am on a
network with a captive HTTP portal and my local wireless login times out.

This is extremely annoying, because I then has to go back to my password
vault, look up the password again, and paste it into that dialog.

Can Jitsi be changed so it stops forgetting the password when there is
a transient login error?

I've been annoyed by this too,

+1

To sum it up: when a server tells us wrong password, we erase it and ask the user again. That's what should happen.

The problem here is that we are sometimes confusing transport errors with auth errors. We'll try to look into it, but yes, plese create a ticket so that we don't lose track.

Thanks!
Emil

···

On 24.07.13, 19:55, Ingo Bauersachs wrote:

but I don't know when we can look at this.
Could you please open a feature request on our issue tracker so we don't
forget about it?

Thanks!
..m

Ingo

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
https://jitsi.org


#4

Hi,

in smack there are no error codes, every error is an XMPPException.
That's why we try to guess it based on their messages. The method
doing this is isAuthenticationFailed (
https://github.com/jitsi/jitsi/blob/master/src/net/java/sip/communicator/impl/protocol/jabber/ProtocolProviderServiceJabberImpl.java#L1928
).

Now I see that the message "Authentication failed" message is received
when no packet is received while authenticating which can be
misleading as just the connection has dropped.

I will go again through them and update the message guessing to make
sure it doesn't catch some network errors.

Regards
damencho

···

On Thu, Jul 25, 2013 at 12:38 AM, Emil Ivov <emcho@jitsi.org> wrote:

On 24.07.13, 19:55, Ingo Bauersachs wrote:

On occasion the XMPP endpoints from Facebook and from LJ return a
transient error when one attempts to log in.

When this happens to Jitsi, it pops up a dialog asking the user to
re-enter the password, after forgetting what the password was.

This also happens when Jitsi tries to reconnect in when I am on a
network with a captive HTTP portal and my local wireless login times out.

This is extremely annoying, because I then has to go back to my password
vault, look up the password again, and paste it into that dialog.

Can Jitsi be changed so it stops forgetting the password when there is
a transient login error?

I've been annoyed by this too,

+1

To sum it up: when a server tells us wrong password, we erase it and ask the
user again. That's what should happen.

The problem here is that we are sometimes confusing transport errors with
auth errors. We'll try to look into it, but yes, plese create a ticket so
that we don't lose track.

Thanks!
Emil

but I don't know when we can look at this.
Could you please open a feature request on our issue tracker so we don't
forget about it?

Thanks!
..m

Ingo

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
https://jitsi.org

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#5

Hi,

we made a little change there, hope it will improve things. If it
happens again reporting and attaching some logs will help further
investigate this case.
Changes will be available in build 4761.

Regards
damencho

···

On Thu, Jul 25, 2013 at 9:11 AM, Damian Minkov <damencho@jitsi.org> wrote:

Hi,

in smack there are no error codes, every error is an XMPPException.
That's why we try to guess it based on their messages. The method
doing this is isAuthenticationFailed (
https://github.com/jitsi/jitsi/blob/master/src/net/java/sip/communicator/impl/protocol/jabber/ProtocolProviderServiceJabberImpl.java#L1928
).

Now I see that the message "Authentication failed" message is received
when no packet is received while authenticating which can be
misleading as just the connection has dropped.

I will go again through them and update the message guessing to make
sure it doesn't catch some network errors.

Regards
damencho

On Thu, Jul 25, 2013 at 12:38 AM, Emil Ivov <emcho@jitsi.org> wrote:

On 24.07.13, 19:55, Ingo Bauersachs wrote:

On occasion the XMPP endpoints from Facebook and from LJ return a
transient error when one attempts to log in.

When this happens to Jitsi, it pops up a dialog asking the user to
re-enter the password, after forgetting what the password was.

This also happens when Jitsi tries to reconnect in when I am on a
network with a captive HTTP portal and my local wireless login times out.

This is extremely annoying, because I then has to go back to my password
vault, look up the password again, and paste it into that dialog.

Can Jitsi be changed so it stops forgetting the password when there is
a transient login error?

I've been annoyed by this too,

+1

To sum it up: when a server tells us wrong password, we erase it and ask the
user again. That's what should happen.

The problem here is that we are sometimes confusing transport errors with
auth errors. We'll try to look into it, but yes, plese create a ticket so
that we don't lose track.

Thanks!
Emil

but I don't know when we can look at this.
Could you please open a feature request on our issue tracker so we don't
forget about it?

Thanks!
..m

Ingo

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
https://jitsi.org

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev