converse.js icon indicating copy to clipboard operation
converse.js copied to clipboard

unable to login with websockets after a wrong password has been specified initially

Open mt7479 opened this issue 10 years ago • 9 comments

software

prosody-trunk (62d533535334) converse.js (0.10.1)

steps to reproduce

  • issue a wrong password for your account
  • issue the correct password for your account

problem

converse.js shows the spinning dots and does not continue to login until you refresh the page with F5 and enter your credentials again.

browsers

Firefox 45.0.1 Chrome 48.0.2564.109

else

  • when using bosh the same procedure works
  • all tests conducted directly against the bosh/websocket endpoints (no proxying)

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

mt7479 avatar Mar 25 '16 12:03 mt7479

@jcbrand I think you can close this issue now. This bug does not exist in new release of converse.js

saganshul avatar Mar 05 '17 10:03 saganshul

Thanks @saganshul

jcbrand avatar Mar 06 '17 07:03 jcbrand

@saganshul How did you test this ? The issue still persists for me.

mt7479 avatar Mar 07 '17 12:03 mt7479

@mt403 which version of converse.js you are working on?

saganshul avatar Mar 07 '17 13:03 saganshul

@saganshul 3.0.0

mt7479 avatar Mar 07 '17 13:03 mt7479

I tested this now and can confirm the problem. However it's not clear to me that this is a problem with converse.js (or more strictly speaking with strophe.js).

In the case where logging in hangs... the log output says that converse.js sent this stanza:

<iq type="set" id="_bind_auth_2" xmlns="jabber:client"><bind xmlns="urn:ietfarams:xml:ns:xmpp-bind"><resource>converse.js-20611459</resource></bind></iq>

to bind the resource.

It then waits for a reply IQ which it apparently never receives.

In the debug log output of Prosody, I don't see any mention of that stanza being received. However in the case where login works, I do see that stanza being mentioned in the log output.

This might therefore be a problem on Prosody's end.

jcbrand avatar Mar 08 '17 19:03 jcbrand

Related prosody issue:

https://prosody.im/issues/issue/843

mt7479 avatar Mar 09 '17 07:03 mt7479

I think the issue can be closed for good since I'm not able the reproduce the error with a clean lab setup. The original instance is not available any more.

I've updated the prosody issues as well. Sorry for any inconvenience.

mt7479 avatar Jun 25 '17 10:06 mt7479

Ok, thanks for reporting back.

jcbrand avatar Jun 25 '17 10:06 jcbrand