We have a problem with our setup. We use strophe to create a chat. The problem is that the initial authentication takes very long, around 20 seconds. Everything else seems to work fine.
Here’s an example. it took 25 seconds for the server to reply with this:
<body xmlns='[http://jabber.org/protocol/httpbind](http://jabber.org/protocol/httpbind)'><iq type="result" id="_bind_auth_2" to="xmpp.nrk.no/d2aa05f8"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>firstname.lastname@example.org/nrkChatWebClient</jid></bind></iq></body>
All the other stuff took a few milliseconds. And there are no other users on the server.
This makes the server crash when 5000 users try to logon at nearly the same time.
does anyone have an idea why it’s so slow?