Can't get user authentication to work

I have followed the guide at However, after user enter the username and password when prompted, the system is showing “Connecting” but nothing happens after that.

Do you see any error in the js console log?

This is what I saw.

504 indicates errors in prosody, check your prosody logs for errors.


I found the problem. I have to set “c2s_require_encryption = false” in Prosody VirtualHost setting.