Game says "authentication servers are down" due to broken certs on Ubuntu and derivative
After downloading latest .deb for linux, loging in and trying to connect to server, I get the message:
"Failed to log in: The authentication servers are currently down for maintenance."
This is not true since my older launcher on other machine is working fine and mojang website reports all servers good.
This issue is caused by a bug with Ubuntu 18.04 and Ubuntu derivatives (e.g. Mint) with changes in the keystore format.
Reinstalling/updating the ca-certificates-java package should correct this issue. Run the command:
sudo apt-get update && sudo apt-get upgrade
If this does not resolve the issue, try manually reinstalling the package:
sudo apt-get install ca-certificates-java
Environment
Linux bushman-asus2 4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
openjdk version "10.0.1" 2018-04-17
OpenJDK Runtime Environment (build 10.0.1+10-Ubuntu-3ubuntu1)
OpenJDK 64-Bit Server VM (build 10.0.1+10-Ubuntu-3ubuntu1, mixed mode)
Linked Issues
is duplicated by4
Created Issue:
Can't connect to game, server says authentication servers are down
After downloading latest .deb for linux, loging in and trying to connect to server, I get the message:
"Failed to log in: The authentication servers are currently down for maintenance."
This is not true since my older launcher on other machine is working fine and mojang website reports all servers good.
Environment
Linux bushman-asus2 4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
openjdk version "10.0.1" 2018-04-17
OpenJDK Runtime Environment (build 10.0.1+10-Ubuntu-3ubuntu1)
OpenJDK 64-Bit Server VM (build 10.0.1+10-Ubuntu-3ubuntu1, mixed mode)
Can't connect to game,serversays authentication servers are downCan't connect to game, game says authentication servers are down
After downloading latest .deb for linux, loging in and trying to connect to server, I get the message:
"Failed to log in: The authentication servers are currently down for maintenance."
This is not true since my older launcher on other machine is working fine and mojang website reports all servers good.
Moderator NoteThis issue is caused by a bug with Ubuntu 18.04 and Ubuntu derivatives (e.g. Mint) with changes in the keystore format.
Reinstalling/updating the ca-certificates-java package should correct this issue. Run the command:
sudo apt-get update && sudo apt-get upgrade
If this does not resolve the issue, try manually reinstalling the package:
sudo apt-get install ca-certificates-java
Can't connect to game, game says authentication servers are downGame says "authentication servers are down" due to broken certs on Ubuntu and derivative
is duplicated by
MC-134946"The authentication servers are currently down for maintenance" When they are not.Duplicate
relates to
mike skummer, Detlef Kuonen, see here MCL-9794 for "auth servers down"

Please attach .minecraft/logs/latest.log and .minecraft/launcher_log.txt
There is no indication of such an error in the logfiles.
You've entered suceesfully a game, didn't you?
No i did not.
I can only play single player mode but my skin is set to default slim skin as if the game couldn't load my skin.
When I try to connect to server the message is shown like in the screenshot.
Please attach both logs immediately after having this error.
Those ARE logs after this error. I've specifically deleted all logs prior to generating those two.
I'm also gonna mention, in case this has something in common, that i have issues with logging in after restarting the launcher. It doesn't always remember my login and sometimes i need to enter the password more than once or restart the launcher all together.
Sorry.
So you got the error message of the screenshot somewhere in the 3 seconds between
Yes. Right after trying to join the server.
I've added a screen capture, so you can see the whole process.
Ok, that should be enough information for Mojang to solve this issue.
Kumasasa , there are more reports like this and they're all resolved as it's a technical support issue.
I know.
I have been doing some fairly extensive digging into this issue, and as far as I can tell it has to do with changes made in Ubuntu and derivatives keystore messing up Java certs (see details here). I have been trying to recreate the issue, but all my testing on a fresh Ubuntu 18.04 box have yielded no results. This leads me to believe that the issue likely only occurs for users who have either multiple versions of Java installed (8 and newer versions), or have had Java since before the change in keystores.
I theorize that the easiest fix would involve uninstalling all versions of java, including dependencies (notably the ca-certificates), then reinstalling openJDK 8 (or equivalent).
I.e., running something like:
This is a fresh install of Linux Mint (Ubuntu derivative). openJDK 10 is default/current version for this distro.
Are there any operations you'd like me to perform in order to better diagnose the problem? (other than regressing java version)
Wojciech Nycz, the current release (and likely many future releases) of the game do not support versions of java newer than Java 8. Furthermore, 8 is an LTS release, so it should be considered safe and stable for quite a while. If you have a need for Java 10, I can understand that. The solution above is a proposed solution; I don't know if that will fix the issue. I am looking for people who are experiencing this to test with the steps I've proposed. If you should try what I suggested, and it does work, you can try reinstalling Java 10 after the fact, and see if that makes a different. Please be sure though that the game is running on a Java 8 jre in that case.
@CubeTheThird, thank you for your help. After reading your comments I've started performing various tests, including changing default version of java for my system with the command bellow. I had 2 versions installed:
~$ sudo update-alternatives --config java There are 2 choices for the alternative java (providing /usr/bin/java). Selection Path Priority Status ------------------------------------------------------------ * 0 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1101 auto mode 1 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1101 manual mode 2 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual modeChoosing version 8 didn't solve the issue but... I've noticed that there was an update for "ca-certificates-java" among many others. After installing the update and returning to default version (which is java-11-openjdk-amd64) the issue has resolved itself and I can connect to server as usual. I'm providing the version information of the update fixing the issue below. Please mark this bug appropriately.
Thanks again and have a nice day!
Wojtek
Thanks for the update. For now it seems updating/reinstalling the ca-certificates-java package may be a viable solution. I will update the ticket accordingly.