Texture pack serveur

C

Compte supprimé

Invité
Ola ! J'essaye depuis quelques temps de télécharger un pack de texture sur mon serveur privé, mais je n'y arrive pas. Je certifie que le lien est un lien direct de téléchargement... Du coup, je suis allé dans mes lois et je suis tombé la-dessus :
23:28:48 no [STDERR]: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
23:28:48 no [STDERR]: at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
23:28:48 no [STDERR]: at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
23:28:48 no [STDERR]: at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
23:28:48 no [STDERR]: at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
23:28:48 no [STDERR]: at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1509)
23:28:48 no [STDERR]: at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
23:28:48 no [STDERR]: at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
23:28:48 no [STDERR]: at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
23:28:48 no [STDERR]: at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
23:28:48 no [STDERR]: at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
23:28:48 no [STDERR]: at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
23:28:48 no [STDERR]: at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
23:28:48 no [STDERR]: at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
23:28:48 no [STDERR]: at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
23:28:48 no [STDERR]: at sun.net.www.protocol.http.HttpURLConnection.followRedirect0(HttpURLConnection.java:2662)
23:28:48 no [STDERR]: at sun.net.www.protocol.http.HttpURLConnection.followRedirect(HttpURLConnection.java:2584)
23:28:48 no [STDERR]: at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1770)
23:28:48 no [STDERR]: at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
23:28:48 no [STDERR]: at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
23:28:49 no [STDERR]: at rd$1.run(SourceFile:143)
23:28:49 no [STDERR]: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
23:28:49 no [STDERR]: at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:111)
23:28:49 no [STDERR]: at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:58)
23:28:49 no [STDERR]: at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:75)
23:28:49 no [STDERR]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
23:28:49 no [STDERR]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
23:28:49 no [STDERR]: at java.lang.Thread.run(Thread.java:745)
23:28:49 no [STDERR]: Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
23:28:49 no [STDERR]: at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)
23:28:49 no [STDERR]: at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
23:28:49 no [STDERR]: at sun.security.validator.Validator.validate(Validator.java:260)
23:28:49 no [STDERR]: at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
23:28:49 no [STDERR]: at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
23:28:49 no [STDERR]: at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
23:28:49 no [STDERR]: at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1491)
23:28:49 no [STDERR]: ... 22 more
23:28:49 no [STDERR]: Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
23:28:49 no [STDERR]: at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)
23:28:49 no [STDERR]: at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
23:28:49 no [STDERR]: at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
23:28:49 no [STDERR]: at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
23:28:49 no [STDERR]: ... 28 more

Je pense que mon problème est là-dedant, vous pourriez me dire comment faire pour que je puisse télécharger le pack ?

Merci d'avance ! :D
 
Dernière édition par un modérateur:

robin4002

Expert en informatique et systèmes d'information
Staff
Responsable technique
Responsable forum
12 Novembre 2012
20 891
158
3 003
347
26
Alsace
www.minecraftforgefrance.fr
C

Compte supprimé

Invité
Brrr ! J'ai pensé à monsieur Google
Du coup j'ai mis un lien de téléchargement direct en forme de goo.gl/xxx (sinon le dl=1 permettant le téléchargement direct devenait dl\=1, et donc ça ne fonctionnait plus)

J'ai eu ça : http://goo.gl/fLBE6Y
Tu peux vérifier, le ZIP est téléchargé directement.
Mais maintenant j'ai ça :'(

Found file /Users/moi/Library/Application Support/minecraft/server-resource-packs/4ddf2fa510996569f8669a30046ef69470897299 without verification hash

Server resourcepack is invalid, ignoring it java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:219) at java.util.zip.ZipFile.<init>(ZipFile.java:149) at java.util.zip.ZipFile.<init>(ZipFile.java:163) at cej.d(SourceFile:29) at cej.a(SourceFile:37) at ced.a(SourceFile:60) at ceu$a.a(SourceFile:361) at ceu.c(SourceFile:290) at ceu.a(SourceFile:316) at ceu.a(SourceFile:221) at brz.a(SourceFile:1452) at jv.a(SourceFile:42) at jv.a(SourceFile:9) at gw.a(SourceFile:135) at gw.channelRead0(SourceFile:52) at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:280) at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:396) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:248) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:287) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:134) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:624) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:559) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:476) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) at java.lang.Thread.run(Thread.java:745)

A noter que je n'ai pas de clé SHA-1 vu que je ne sais absolument pas comment procéder pour l'avoir.
 

robin4002

Expert en informatique et systèmes d'information
Staff
Responsable technique
Responsable forum
12 Novembre 2012
20 891
158
3 003
347
26
Alsace
www.minecraftforgefrance.fr
Ça ne va pas non plus.
http://goo.gl/fLBE6Y n'est pas un lien direct mais une redirection vers autre chose. Ton navigateur suit les redirections mais pas Minecraft, lui télécharge la redirection et non le fichier zip.
Et comme la redirection n'est pas un fichier zip, forcement il n'arrive pas à l'ouvrir en temps que fichier zip.

dropbox ne semble pas approprié à cette usage, car en fait je viens de voir que même https://www.dropbox.com/s/07meitb7b00p9se/Test.zip?dl=1 n'est pas un lien directe mais une redirection vers autre chose. (vers un lien généré à la volé qui expire,https://dl.dropboxusercontent.com/c...g7cCQyb3nb79MaBV7tBMCYU88orbjkgCpVi/file?dl=1 dans mon cas)