Can't log in thru domnain name

when i tryinmg to log in first time, it says “Som,ethinbg went wrong”.
Also my domain is under CloudFlare. If I trying to log in thru IP adress, i can log in without problems.