From time to time users on IRC or Trac report that they have problems logging into the lobby. Often it helps to simply disable TLS.
Why not just add a note to the error message that you could try to disable TLS in the game settings.
So far, this seems to be very common among Spanish-speaking users.