Hi,
I think the handleAuthentication() function in the XMPPConnection.as file should have the dispatchError slightly modified from this:
dispatchError(“Authentication Error”, “”, “”, 401);
to
dispatchError( “not-authorized”, “Not Authorized”, “auth”, 401 );
but maybe I’m mistaken?