I've set up Ejabberd successfully everything works as it should. Only the login or a registration takes a long time, sometimes over 20 seconds. DNS entries match, config, SSL certificate too, needed ports are open.
do not know why it takes so long. What could it be, if you need something logs, config or other things please tell me.