"Failed to connect to map server" is a pretty common message that you will get if your character gets stuck while passing through portals. Sometimes this is caused by a massive crowd of users, causing lag, or if you're flying through portals very quickly. You can usually fix this by sending your character home, which you can be done by signing into the golden box at the top of the website, clicking "User Panel," typing in your username and password, and selecting the character you wish to send (or reset) to their home.