Maybe your own realm was offline at the time. Just let it autochoose a realm after selecting your language, etc, then click cancel to bring up a full realm list.
If you can't see yours, it's offline. If you can, just tick the box to remember account details before entering and hopefully after you've accessed your realm and logged out you won't have further issues.