itzg / docker-minecraft-server

Docker image that provides a Minecraft Server that will automatically download selected version at startup
https://docker-minecraft-server.readthedocs.io/
Apache License 2.0
9.32k stars 1.53k forks source link

Certificate issue for HTTPS/Authentication #251

Closed nigels-com closed 6 years ago

nigels-com commented 6 years ago

There is a thread mentioning a workaround for OpenJDK that comes with Ubuntu 18.04

https://www.minecraftforum.net/forums/support/server-support-and/2909126-authentication-servers-are-down-on-ubuntu-18-04

[03:10:18] [User Authenticator #1/INFO]: Disconnecting com.mojang.authlib.GameProfile@20e9a9db[id=<null>,name=tandanis,properties={},legacy=false] (/172.18.0.1:59878): Authentication servers are down. Please try again later, sorry! [03:10:18] [User Authenticator #1/ERROR]: Couldn't verify username because servers are unavailable [03:10:18] [Server thread/INFO]: com.mojang.authlib.GameProfile@20e9a9db[id=<null>,name=tandanis,properties={},legacy=false] (/172.18.0.1:59878) lost connection: Authentication servers are down. Please try again later, sorry!

I'm not sure what the Alpine fix might be, update Alpine?

nigels-com commented 6 years ago

Apologies. It's docker/Ubuntu/ISP quirk that now I remember I came across before. (It's a fresh install of Ubuntu 18.04)

https://github.com/docker/libnetwork/issues/1654

This approach worked for me:

https://development.robinwinslow.uk/2016/06/23/fix-docker-networking-dns/