如果您的正版启动器的Launcher Log登录时出现类似下面的错误信息:
- [时:分:秒 ERROR]: Unexpected exception refreshing version list
- java.net.SocketTimeoutException: connect timed out
- at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method) ~[?:1.8.0_20]
- at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) ~[?:1.8.0_20]
- at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) ~[?:1.8.0_20]
- at java.net.AbstractPlainSocketImpl.connect(Unknown Source) ~[?:1.8.0_20]
- at java.net.PlainSocketImpl.connect(Unknown Source) ~[?:1.8.0_20]
- at java.net.SocksSocketImpl.connect(Unknown Source) ~[?:1.8.0_20]
- at java.net.Socket.connect(Unknown Source) ~[?:1.8.0_20]
- at sun.security.ssl.SSLSocketImpl.connect(Unknown Source) ~[?:1.8.0_20]
- at sun.net.NetworkClient.doConnect(Unknown Source) ~[?:1.8.0_20]
- at sun.net.www.http.HttpClient.openServer(Unknown Source) ~[?:1.8.0_20]
- at sun.net.www.http.HttpClient.openServer(Unknown Source) ~[?:1.8.0_20]
- at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source) ~[?:1.8.0_20]
- at sun.net.www.protocol.https.HttpsClient.New(Unknown Source) ~[?:1.8.0_20]
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source) ~[?:1.8.0_20]
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source) ~[?:1.8.0_20]
- at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) ~[?:1.8.0_20]
- at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source) ~[?:1.8.0_20]
- at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) ~[?:1.8.0_20]
- at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) ~[?:1.8.0_20]
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source) ~[?:1.8.0_20]
- at com.mojang.launcher.Http.performGet(Http.java:54) ~[launcher.jar:?]
- at net.minecraft.launcher.updater.RemoteVersionList.getContent(RemoteVersionList.java:27) ~[launcher.jar:?]
- at net.minecraft.launcher.updater.VersionList.refreshVersions(VersionList.java:85) ~[launcher.jar:?]
- at net.minecraft.launcher.updater.MinecraftVersionManager.refreshVersions(MinecraftVersionManager.java:60) ~[launcher.jar:?]
- at net.minecraft.launcher.Launcher$2.run(Launcher.java:131) [launcher.jar:?]
- at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_20]
- at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_20]
- at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_20]
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_20]
- at java.lang.Thread.run(Unknown Source) [?:1.8.0_20]
- Couldn't download resources
- java.net.ConnectException: Connection timed out: connect
- ……
或是启动游戏时显示以下错误:
- 错误: 找不到或无法加载主类 .net.minecraft.client.main.Main
- ......
原因:中国电信近日对Amazon S3的SSL连接进行了阻断。类似情况一般投诉无门,因为这涉及到政治因素。
直接导致https加密连接的s3.amazonaws.com域名下的地址无法访问,这种连接方式就是官方启动器的方式。
若是直接连接,还可以通过把https的s去掉以达到目的。但像官方启动器这种难以干涉的东西,目前我的方案为:
解决方法:
- 打开控制面板-Java-常规-网络设置(zhh补充,部分win7以上系统需要点击控制面板——程序——才能找到java)
- 点选“使用代理服务器”并点击“高级”
- 将Socks或http一栏填上你喜欢的代理服务器的地址以及端口号,填哪一栏请根据您使用的代理方式而定,例如喜闻乐见的XX门即为127.0.0.1:8580(不用XX门的填了可是没用啊),其余不填也可以。
- 然后一路确定下去……
XX门一类代理软件涉及敏感政治因素,我们不会提供下载,也请大家勿在论坛内发布。请自行利用搜索引擎搜索好用的代理软件或代理服务器。
本帖基本上是授人以渔的目的……