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

Manual login takes forever when the XMPP server returns "internal-server-error" #616

Closed
MarcelWaldvogel opened this issue Sep 5, 2017 · 0 comments
Labels

Comments

@MarcelWaldvogel
Copy link
Contributor

Expected behavior

When the connection to the XMPP server fails for some obscure reason when clicking "No connection! Relogin" in the roster, the message should be displayed and the modal dialog dismissed.

Actual behavior

When the XMPP server responds with <body xmlns='http://jabber.org/protocol/httpbind' type='terminate' condition='internal-server-error'/>, the (re-)login box stays forever.

Steps to reproduce the behavior

  1. Click on "Relogin"
  2. Try to login with user@domain for a domain the XMPP server is not responsible.
  3. Wait

Environment

  • JSXC version: 3.3.0
  • Host system and version: Nextcloud
  • Browser vendor and version: Firefox and Chromium
  • Is your XMPP server working with other clients as expected? Yes

JSXC

i18next::translator: missingKey en translation Connecting... Connecting...
jsxc.js:183 State changed to ESTABLISHING
jsxc.js:183 New connection
jsxc.js:183 CONNECTING: null
jsxc.js:1221 > <body rid=​"764414834" xmlns=​"http:​/​/​jabber.org/​protocol/​httpbind" to=​"example.com" xml:lang=​"en" wait=​"60" hold=​"1" content=​"text/​xml;​ charset=utf-8" ver=​"1.6" xmpp:version=​"1.0" xmlns:xmpp=​"urn:​xmpp:​xbosh">​</body>​
jsxc.js:1218 < <body xmlns=​"http:​/​/​jabber.org/​protocol/​httpbind" type=​"terminate" condition=​"internal-server-error">​</body>​
jsxc.js:183 CONNFAIL: internal-server-error
jsxc.js:183 XMPP connection failed: undefined
jsxc.js:183 DISCONNECTED: internal-server-error
jsxc.js:183 Try to relogin
jsxc.js:183 disconnected
jsxc.js:183 State changed to SUSPEND
jsxc.js:183 check master
jsxc.js:183 State changed to ESTABLISHING
jsxc.js:183 New connection
jsxc.js:183 CONNECTING: null
jsxc.js:1221 > <body rid=​"2830779043" xmlns=​"http:​/​/​jabber.org/​protocol/​httpbind" to=​"example.com" xml:lang=​"en" wait=​"60" hold=​"1" content=​"text/​xml;​ charset=utf-8" ver=​"1.6" xmpp:version=​"1.0" xmlns:xmpp=​"urn:​xmpp:​xbosh">​</body>​
jsxc.js:1218 < <body xmlns=​"http:​/​/​jabber.org/​protocol/​httpbind" type=​"terminate" condition=​"internal-server-error">​</body>​
jsxc.js:183 CONNFAIL: internal-server-error
jsxc.js:183 Could not relogin.
jsxc.js:183 State changed to TRYTOINTERCEPT
jsxc.js:183 State changed to INTERCEPTED
jsxc.js:183 XMPP connection failed: undefined
jsxc.js:183 DISCONNECTED: internal-server-error
jsxc.js:183 Try to relogin
jsxc.js:183 I am not able to relogin
jsxc.js:183 disconnected
jsxc.js:183 State changed to SUSPEND
@sualko sualko added the bug label Sep 13, 2017
@sualko sualko closed this as completed in 265ec13 Sep 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants