I have followed the guide at https://github.com/jitsi/jicofo#secure-domain. 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?
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.