Не получается сделать dowloadAssets

Версия Minecraft
1.20.1
API
Fabric
1701192742809.png
 
Краш-лог
> Configure project :
Fabric Loom: 1.4.4
Exception in thread "pool-4-thread-2" java.io.UncheckedIOException: net.fabricmc.loom.util.download.DownloadException: Failed download after 3 attempts
at net.fabricmc.loom.util.download.DownloadExecutor.lambda$runAsync$0(DownloadExecutor.java:54)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: net.fabricmc.loom.util.download.DownloadException: Failed download after 3 attempts
at net.fabricmc.loom.util.download.DownloadBuilder.withRetries(DownloadBuilder.java:167)
at net.fabricmc.loom.util.download.DownloadBuilder.downloadPath(DownloadBuilder.java:123)
at net.fabricmc.loom.util.download.DownloadBuilder.lambda$downloadPathAsync$0(DownloadBuilder.java:119)
at net.fabricmc.loom.util.download.DownloadExecutor.lambda$runAsync$0(DownloadExecutor.java:50)
... 3 more
Caused by: net.fabricmc.loom.util.download.DownloadException: Failed to download file from (https://resources.download.minecraft.net/8c/8c3c3b50f72e8dfad4b5fdea7ce32db111319a3a) to (C:\Users\lo0lode\.gradle\caches\fabric-loom\assets\objects\8c\8c3c3b50f72e8dfad4b5fdea7ce32db111319a3a)
at net.fabricmc.loom.util.download.Download.error(Download.java:484)
at net.fabricmc.loom.util.download.Download.downloadPath(Download.java:162)
at net.fabricmc.loom.util.download.DownloadBuilder.lambda$downloadPath$1(DownloadBuilder.java:124)
at net.fabricmc.loom.util.download.DownloadBuilder.withRetries(DownloadBuilder.java:159)
... 6 more
Caused by: net.fabricmc.loom.util.download.DownloadException: Failed to download (https://resources.download.minecraft.net/8c/8c3c3b50f72e8dfad4b5fdea7ce32db111319a3a)
at net.fabricmc.loom.util.download.Download.error(Download.java:484)
at net.fabricmc.loom.util.download.Download.send(Download.java:126)
at net.fabricmc.loom.util.download.Download.doDownload(Download.java:187)
at net.fabricmc.loom.util.download.Download.downloadPath(Download.java:159)
... 8 more
Caused by: java.net.ConnectException
at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:951)
at java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:133)
at net.fabricmc.loom.util.download.Download.send(Download.java:124)
... 10 more
Caused by: java.net.ConnectException
at java.net.http/jdk.internal.net.http.common.Utils.toConnectException(Utils.java:1028)
at java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:227)
at java.net.http/jdk.internal.net.http.AsyncSSLConnection.connectAsync(AsyncSSLConnection.java:56)
at java.net.http/jdk.internal.net.http.Http1Exchange.sendHeadersAsync(Http1Exchange.java:312)
at java.net.http/jdk.internal.net.http.Exchange.lambda$responseAsyncImpl0$8(Exchange.java:567)
at java.net.http/jdk.internal.net.http.Exchange.checkFor407(Exchange.java:447)
at java.net.http/jdk.internal.net.http.Exchange.lambda$responseAsyncImpl0$9(Exchange.java:571)
at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934)
at java.base/java.util.concurrent.CompletableFuture.uniHandleStage(CompletableFuture.java:950)
at java.base/java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:2372)
at java.net.http/jdk.internal.net.http.Exchange.responseAsyncImpl0(Exchange.java:571)
at java.net.http/jdk.internal.net.http.Exchange.responseAsyncImpl(Exchange.java:423)
at java.net.http/jdk.internal.net.http.Exchange.responseAsync(Exchange.java:415)
at java.net.http/jdk.internal.net.http.MultiExchange.responseAsyncImpl(MultiExchange.java:413)
at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsyncImpl$7(MultiExchange.java:454)
at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934)
at java.base/java.util.concurrent.CompletableFuture.uniHandleStage(CompletableFuture.java:950)
at java.base/java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:2372)
at java.net.http/jdk.internal.net.http.MultiExchange.responseAsyncImpl(MultiExchange.java:444)
at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsync0$2(MultiExchange.java:346)
at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773)
at java.net.http/jdk.internal.net.http.HttpClientImpl$DelegatingExecutor.execute(HttpClientImpl.java:177)
at java.base/java.util.concurrent.CompletableFuture.completeAsync(CompletableFuture.java:2719)
at java.net.http/jdk.internal.net.http.MultiExchange.responseAsync(MultiExchange.java:299)
at java.net.http/jdk.internal.net.http.HttpClientImpl.sendAsync(HttpClientImpl.java:1047)
at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:930)
... 12 more
Caused by: java.nio.channels.UnresolvedAddressException
at java.base/sun.nio.ch.Net.checkAddress(Net.java:137)
at java.base/sun.nio.ch.Net.checkAddress(Net.java:145)
at java.base/sun.nio.ch.SocketChannelImpl.checkRemote(SocketChannelImpl.java:842)
at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:865)
at java.net.http/jdk.internal.net.http.PlainHttpConnection.lambda$connectAsync$1(PlainHttpConnection.java:210)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:571)
at java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:212)
... 38 more
Exception in thread "pool-4-thread-3" java.io.UncheckedIOException: net.fabricmc.loom.util.download.DownloadException: Failed download after 3 attempts
at net.fabricmc.loom.util.download.DownloadExecutor.lambda$runAsync$0(DownloadExecutor.java:54)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: net.fabricmc.loom.util.download.DownloadException: Failed download after 3 attempts
at net.fabricmc.loom.util.download.DownloadBuilder.withRetries(DownloadBuilder.java:167)
at net.fabricmc.loom.util.download.DownloadBuilder.downloadPath(DownloadBuilder.java:123)
at net.fabricmc.loom.util.download.DownloadBuilder.lambda$downloadPathAsync$0(DownloadBuilder.java:119)
at net.fabricmc.loom.util.download.DownloadExecutor.lambda$runAsync$0(DownloadExecutor.java:50)
... 3 more
Caused by: net.fabricmc.loom.util.download.DownloadException: Failed to download file from (https://resources.download.minecraft.net/40/40a4222b7ada165fa98cb9215129aeb8d9b6b379) to (C:\Users\lo0lode\.gradle\caches\fabric-loom\assets\objects\40\40a4222b7ada165fa98cb9215129aeb8d9b6b379)
at net.fabricmc.loom.util.download.Download.error(Download.java:484)
at net.fabricmc.loom.util.download.Download.downloadPath(Download.java:162)
at net.fabricmc.loom.util.download.DownloadBuilder.lambda$downloadPath$1(DownloadBuilder.java:124)
at net.fabricmc.loom.util.download.DownloadBuilder.withRetries(DownloadBuilder.java:159)
... 6 more
Caused by: net.fabricmc.loom.util.download.DownloadException: Failed to download (https://resources.download.minecraft.net/40/40a4222b7ada165fa98cb9215129aeb8d9b6b379)
at net.fabricmc.loom.util.download.Download.error(Download.java:484)
at net.fabricmc.loom.util.download.Download.send(Download.java:126)
at net.fabricmc.loom.util.download.Download.doDownload(Download.java:187)
at net.fabricmc.loom.util.download.Download.downloadPath(Download.java:159)
... 8 more
Caused by: java.net.ConnectException
at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:951)
at java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:133)
at net.fabricmc.loom.util.download.Download.send(Download.java:124)
... 10 more
Caused by: java.net.ConnectException
at java.net.http/jdk.internal.net.http.common.Utils.toConnectException(Utils.java:1028)
at java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:227)
at java.net.http/jdk.internal.net.http.AsyncSSLConnection.connectAsync(AsyncSSLConnection.java:56)
at java.net.http/jdk.internal.net.http.Http1Exchange.sendHeadersAsync(Http1Exchange.java:312)
at java.net.http/jdk.internal.net.http.Exchange.lambda$responseAsyncImpl0$8(Exchange.java:567)
at java.net.http/jdk.internal.net.http.Exchange.checkFor407(Exchange.java:447)
at java.net.http/jdk.internal.net.http.Exchange.lambda$responseAsyncImpl0$9(Exchange.java:571)
at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934)
at java.base/java.util.concurrent.CompletableFuture.uniHandleStage(CompletableFuture.java:950)
at java.base/java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:2372)
at java.net.http/jdk.internal.net.http.Exchange.responseAsyncImpl0(Exchange.java:571)
at java.net.http/jdk.internal.net.http.Exchange.responseAsyncImpl(Exchange.java:423)
at java.net.http/jdk.internal.net.http.Exchange.responseAsync(Exchange.java:415)
at java.net.http/jdk.internal.net.http.MultiExchange.responseAsyncImpl(MultiExchange.java:413)
at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsyncImpl$7(MultiExchange.java:454)
at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934)
at java.base/java.util.concurrent.CompletableFuture.uniHandleStage(CompletableFuture.java:950)
at java.base/java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:2372)
at java.net.http/jdk.internal.net.http.MultiExchange.responseAsyncImpl(MultiExchange.java:444)
at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsync0$2(MultiExchange.java:346)
at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773)
at java.net.http/jdk.internal.net.http.HttpClientImpl$DelegatingExecutor.execute(HttpClientImpl.java:177)
at java.base/java.util.concurrent.CompletableFuture.completeAsync(CompletableFuture.java:2719)
at java.net.http/jdk.internal.net.http.MultiExchange.responseAsync(MultiExchange.java:299)
at java.net.http/jdk.internal.net.http.HttpClientImpl.sendAsync(HttpClientImpl.java:1047)
at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:930)
... 12 more
Caused by: java.nio.channels.UnresolvedAddressException
at java.base/sun.nio.ch.Net.checkAddress(Net.java:137)
at java.base/sun.nio.ch.Net.checkAddress(Net.java:145)
at java.base/sun.nio.ch.SocketChannelImpl.checkRemote(SocketChannelImpl.java:842)
at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:865)
at java.net.http/jdk.internal.net.http.PlainHttpConnection.lambda$connectAsync$1(PlainHttpConnection.java:210)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:571)
at java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:212)
... 38 more
Exception in thread "pool-4-thread-4" java.io.UncheckedIOException: net.fabricmc.loom.util.download.DownloadException: Failed download after 3 attempts
at net.fabricmc.loom.util.download.DownloadExecutor.lambda$runAsync$0(DownloadExecutor.java:54)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: net.fabricmc.loom.util.download.DownloadException: Failed download after 3 attempts
at net.fabricmc.loom.util.download.DownloadBuilder.withRetries(DownloadBuilder.java:167)
at net.fabricmc.loom.util.download.DownloadBuilder.downloadPath(DownloadBuilder.java:123)
at net.fabricmc.loom.util.download.DownloadBuilder.lambda$downloadPathAsync$0(DownloadBuilder.java:119)
at net.fabricmc.loom.util.download.DownloadExecutor.lambda$runAsync$0(DownloadExecutor.java:50)
... 3 more
Caused by: net.fabricmc.loom.util.download.DownloadException: Failed to download file from (https://resources.download.minecraft.net/bb/bb36a4a223ef9290d1571156b6fe264cbc1d78f7) to (C:\Users\lo0lode\.gradle\caches\fabric-loom\assets\objects\bb\bb36a4a223ef9290d1571156b6fe264cbc1d78f7)
at net.fabricmc.loom.util.download.Download.error(Download.java:484)
at net.fabricmc.loom.util.download.Download.downloadPath(Download.java:162)
at net.fabricmc.loom.util.download.DownloadBuilder.lambda$downloadPath$1(DownloadBuilder.java:124)
at net.fabricmc.loom.util.download.DownloadBuilder.withRetries(DownloadBuilder.java:159)
... 6 more
Caused by: net.fabricmc.loom.util.download.DownloadException: Failed to download (https://resources.download.minecraft.net/bb/bb36a4a223ef9290d1571156b6fe264cbc1d78f7)
at net.fabricmc.loom.util.download.Download.error(Download.java:484)
at net.fabricmc.loom.util.download.Download.send(Download.java:126)
at net.fabricmc.loom.util.download.Download.doDownload(Download.java:187)
at net.fabricmc.loom.util.download.Download.downloadPath(Download.java:159)
... 8 more
Caused by: java.net.ConnectException
at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:951)
at java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:133)
at net.fabricmc.loom.util.download.Download.send(Download.java:124)
... 10 more
Caused by: java.net.ConnectException
at java.net.http/jdk.internal.net.http.common.Utils.toConnectException(Utils.java:1028)
at java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:227)
at java.net.http/jdk.internal.net.http.AsyncSSLConnection.connectAsync(AsyncSSLConnection.java:56)
at java.net.http/jdk.internal.net.http.Http1Exchange.sendHeadersAsync(Http1Exchange.java:312)
at java.net.http/jdk.internal.net.http.Exchange.lambda$responseAsyncImpl0$8(Exchange.java:567)
at java.net.http/jdk.internal.net.http.Exchange.checkFor407(Exchange.java:447)
at java.net.http/jdk.internal.net.http.Exchange.lambda$responseAsyncImpl0$9(Exchange.java:571)
at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934)
at java.base/java.util.concurrent.CompletableFuture.uniHandleStage(CompletableFuture.java:950)
at java.base/java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:2372)
at java.net.http/jdk.internal.net.http.Exchange.responseAsyncImpl0(Exchange.java:571)
at java.net.http/jdk.internal.net.http.Exchange.responseAsyncImpl(Exchange.java:423)
at java.net.http/jdk.internal.net.http.Exchange.responseAsync(Exchange.java:415)
at java.net.http/jdk.internal.net.http.MultiExchange.responseAsyncImpl(MultiExchange.java:413)
at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsyncImpl$7(MultiExchange.java:454)
at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934)
at java.base/java.util.concurrent.CompletableFuture.uniHandleStage(CompletableFuture.java:950)
at java.base/java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:2372)
at java.net.http/jdk.internal.net.http.MultiExchange.responseAsyncImpl(MultiExchange.java:444)
at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsync0$2(MultiExchange.java:346)
at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773)
at java.net.http/jdk.internal.net.http.HttpClientImpl$DelegatingExecutor.execute(HttpClientImpl.java:177)
at java.base/java.util.concurrent.CompletableFuture.completeAsync(CompletableFuture.java:2719)
at java.net.http/jdk.internal.net.http.MultiExchange.responseAsync(MultiExchange.java:299)
at java.net.http/jdk.internal.net.http.HttpClientImpl.sendAsync(HttpClientImpl.java:1047)
at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:930)
... 12 more
Caused by: java.nio.channels.UnresolvedAddressException
at java.base/sun.nio.ch.Net.checkAddress(Net.java:137)
at java.base/sun.nio.ch.Net.checkAddress(Net.java:145)
at java.base/sun.nio.ch.SocketChannelImpl.checkRemote(SocketChannelImpl.java:842)
at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:865)
at java.net.http/jdk.internal.net.http.PlainHttpConnection.lambda$connectAsync$1(PlainHttpConnection.java:210)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:571)
at java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:212)
... 38 more
Exception in thread "pool-4-thread-1" java.io.UncheckedIOException: net.fabricmc.loom.util.download.DownloadException: Failed download after 3 attempts
at net.fabricmc.loom.util.download.DownloadExecutor.lambda$runAsync$0(DownloadExecutor.java:54)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: net.fabricmc.loom.util.download.DownloadException: Failed download after 3 attempts
at net.fabricmc.loom.util.download.DownloadBuilder.withRetries(DownloadBuilder.java:167)
at net.fabricmc.loom.util.download.DownloadBuilder.downloadPath(DownloadBuilder.java:123)
at net.fabricmc.loom.util.download.DownloadBuilder.lambda$downloadPathAsync$0(DownloadBuilder.java:119)
at net.fabricmc.loom.util.download.DownloadExecutor.lambda$runAsync$0(DownloadExecutor.java:50)
... 3 more
Caused by: net.fabricmc.loom.util.download.DownloadException: Failed to write hash to (C:\Users\lo0lode\.gradle\caches\fabric-loom\assets\objects\a7\a783e772d25d52b7e3d4d9a58458bdc23e94efdc)
at net.fabricmc.loom.util.download.Download.error(Download.java:484)
at net.fabricmc.loom.util.download.Download.writeHash(Download.java:404)
at net.fabricmc.loom.util.download.Download.requiresDownload(Download.java:333)
at net.fabricmc.loom.util.download.Download.downloadPath(Download.java:150)
at net.fabricmc.loom.util.download.DownloadBuilder.lambda$downloadPath$1(DownloadBuilder.java:124)
at net.fabricmc.loom.util.download.DownloadBuilder.withRetries(DownloadBuilder.java:159)
... 6 more
Caused by: java.nio.channels.ClosedByInterruptException
at java.base/java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:200)
at java.base/sun.nio.ch.FileChannelImpl.endBlocking(FileChannelImpl.java:172)
at java.base/sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:309)
at java.base/sun.nio.fs.WindowsUserDefinedFileAttributeView.write(WindowsUserDefinedFileAttributeView.java:221)
at net.fabricmc.loom.util.AttributeHelper.writeAttribute(AttributeHelper.java:73)
at net.fabricmc.loom.util.download.Download.writeHash(Download.java:402)
... 10 more

> Task :downloadAssets FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':downloadAssets'.
> net.fabricmc.loom.util.download.DownloadException: Failed to download

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 48s
Краш-лог:
> Configure project :
Fabric Loom: 1.4.4
Exception in thread "pool-4-thread-2" java.io.UncheckedIOException: net.fabricmc.loom.util.download.DownloadException: Failed download after 3 attempts
        at net.fabricmc.loom.util.download.DownloadExecutor.lambda$runAsync$0(DownloadExecutor.java:54)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
        at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: net.fabricmc.loom.util.download.DownloadException: Failed download after 3 attempts
        at net.fabricmc.loom.util.download.DownloadBuilder.withRetries(DownloadBuilder.java:167)
        at net.fabricmc.loom.util.download.DownloadBuilder.downloadPath(DownloadBuilder.java:123)
        at net.fabricmc.loom.util.download.DownloadBuilder.lambda$downloadPathAsync$0(DownloadBuilder.java:119)
        at net.fabricmc.loom.util.download.DownloadExecutor.lambda$runAsync$0(DownloadExecutor.java:50)
        ... 3 more
Caused by: net.fabricmc.loom.util.download.DownloadException: Failed to download file from (https://resources.download.minecraft.net/8c/8c3c3b50f72e8dfad4b5fdea7ce32db111319a3a) to (C:\Users\lo0lode\.gradle\caches\fabric-loom\assets\objects\8c\8c3c3b50f72e8dfad4b5fdea7ce32db111319a3a)
        at net.fabricmc.loom.util.download.Download.error(Download.java:484)
        at net.fabricmc.loom.util.download.Download.downloadPath(Download.java:162)
        at net.fabricmc.loom.util.download.DownloadBuilder.lambda$downloadPath$1(DownloadBuilder.java:124)
        at net.fabricmc.loom.util.download.DownloadBuilder.withRetries(DownloadBuilder.java:159)
        ... 6 more
Caused by: net.fabricmc.loom.util.download.DownloadException: Failed to download (https://resources.download.minecraft.net/8c/8c3c3b50f72e8dfad4b5fdea7ce32db111319a3a)
        at net.fabricmc.loom.util.download.Download.error(Download.java:484)
        at net.fabricmc.loom.util.download.Download.send(Download.java:126)
        at net.fabricmc.loom.util.download.Download.doDownload(Download.java:187)
        at net.fabricmc.loom.util.download.Download.downloadPath(Download.java:159)
        ... 8 more
Caused by: java.net.ConnectException
        at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:951)
        at java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:133)
        at net.fabricmc.loom.util.download.Download.send(Download.java:124)
        ... 10 more
Caused by: java.net.ConnectException
        at java.net.http/jdk.internal.net.http.common.Utils.toConnectException(Utils.java:1028)
        at java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:227)
        at java.net.http/jdk.internal.net.http.AsyncSSLConnection.connectAsync(AsyncSSLConnection.java:56)
        at java.net.http/jdk.internal.net.http.Http1Exchange.sendHeadersAsync(Http1Exchange.java:312)
        at java.net.http/jdk.internal.net.http.Exchange.lambda$responseAsyncImpl0$8(Exchange.java:567)
        at java.net.http/jdk.internal.net.http.Exchange.checkFor407(Exchange.java:447)
        at java.net.http/jdk.internal.net.http.Exchange.lambda$responseAsyncImpl0$9(Exchange.java:571)
        at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934)
        at java.base/java.util.concurrent.CompletableFuture.uniHandleStage(CompletableFuture.java:950)
        at java.base/java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:2372)
        at java.net.http/jdk.internal.net.http.Exchange.responseAsyncImpl0(Exchange.java:571)
        at java.net.http/jdk.internal.net.http.Exchange.responseAsyncImpl(Exchange.java:423)
        at java.net.http/jdk.internal.net.http.Exchange.responseAsync(Exchange.java:415)
        at java.net.http/jdk.internal.net.http.MultiExchange.responseAsyncImpl(MultiExchange.java:413)
        at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsyncImpl$7(MultiExchange.java:454)
        at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934)
        at java.base/java.util.concurrent.CompletableFuture.uniHandleStage(CompletableFuture.java:950)
        at java.base/java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:2372)
        at java.net.http/jdk.internal.net.http.MultiExchange.responseAsyncImpl(MultiExchange.java:444)
        at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsync0$2(MultiExchange.java:346)
        at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150)
        at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
        at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773)
        at java.net.http/jdk.internal.net.http.HttpClientImpl$DelegatingExecutor.execute(HttpClientImpl.java:177)
        at java.base/java.util.concurrent.CompletableFuture.completeAsync(CompletableFuture.java:2719)
        at java.net.http/jdk.internal.net.http.MultiExchange.responseAsync(MultiExchange.java:299)
        at java.net.http/jdk.internal.net.http.HttpClientImpl.sendAsync(HttpClientImpl.java:1047)
        at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:930)
        ... 12 more
Caused by: java.nio.channels.UnresolvedAddressException
        at java.base/sun.nio.ch.Net.checkAddress(Net.java:137)
        at java.base/sun.nio.ch.Net.checkAddress(Net.java:145)
        at java.base/sun.nio.ch.SocketChannelImpl.checkRemote(SocketChannelImpl.java:842)
        at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:865)
        at java.net.http/jdk.internal.net.http.PlainHttpConnection.lambda$connectAsync$1(PlainHttpConnection.java:210)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:571)
        at java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:212)
        ... 38 more
Exception in thread "pool-4-thread-3" java.io.UncheckedIOException: net.fabricmc.loom.util.download.DownloadException: Failed download after 3 attempts
        at net.fabricmc.loom.util.download.DownloadExecutor.lambda$runAsync$0(DownloadExecutor.java:54)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
        at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: net.fabricmc.loom.util.download.DownloadException: Failed download after 3 attempts
        at net.fabricmc.loom.util.download.DownloadBuilder.withRetries(DownloadBuilder.java:167)
        at net.fabricmc.loom.util.download.DownloadBuilder.downloadPath(DownloadBuilder.java:123)
        at net.fabricmc.loom.util.download.DownloadBuilder.lambda$downloadPathAsync$0(DownloadBuilder.java:119)
        at net.fabricmc.loom.util.download.DownloadExecutor.lambda$runAsync$0(DownloadExecutor.java:50)
        ... 3 more
Caused by: net.fabricmc.loom.util.download.DownloadException: Failed to download file from (https://resources.download.minecraft.net/40/40a4222b7ada165fa98cb9215129aeb8d9b6b379) to (C:\Users\lo0lode\.gradle\caches\fabric-loom\assets\objects\40\40a4222b7ada165fa98cb9215129aeb8d9b6b379)
        at net.fabricmc.loom.util.download.Download.error(Download.java:484)
        at net.fabricmc.loom.util.download.Download.downloadPath(Download.java:162)
        at net.fabricmc.loom.util.download.DownloadBuilder.lambda$downloadPath$1(DownloadBuilder.java:124)
        at net.fabricmc.loom.util.download.DownloadBuilder.withRetries(DownloadBuilder.java:159)
        ... 6 more
Caused by: net.fabricmc.loom.util.download.DownloadException: Failed to download (https://resources.download.minecraft.net/40/40a4222b7ada165fa98cb9215129aeb8d9b6b379)
        at net.fabricmc.loom.util.download.Download.error(Download.java:484)
        at net.fabricmc.loom.util.download.Download.send(Download.java:126)
        at net.fabricmc.loom.util.download.Download.doDownload(Download.java:187)
        at net.fabricmc.loom.util.download.Download.downloadPath(Download.java:159)
        ... 8 more
Caused by: java.net.ConnectException
        at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:951)
        at java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:133)
        at net.fabricmc.loom.util.download.Download.send(Download.java:124)
        ... 10 more
Caused by: java.net.ConnectException
        at java.net.http/jdk.internal.net.http.common.Utils.toConnectException(Utils.java:1028)
        at java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:227)
        at java.net.http/jdk.internal.net.http.AsyncSSLConnection.connectAsync(AsyncSSLConnection.java:56)
        at java.net.http/jdk.internal.net.http.Http1Exchange.sendHeadersAsync(Http1Exchange.java:312)
        at java.net.http/jdk.internal.net.http.Exchange.lambda$responseAsyncImpl0$8(Exchange.java:567)
        at java.net.http/jdk.internal.net.http.Exchange.checkFor407(Exchange.java:447)
        at java.net.http/jdk.internal.net.http.Exchange.lambda$responseAsyncImpl0$9(Exchange.java:571)
        at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934)
        at java.base/java.util.concurrent.CompletableFuture.uniHandleStage(CompletableFuture.java:950)
        at java.base/java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:2372)
        at java.net.http/jdk.internal.net.http.Exchange.responseAsyncImpl0(Exchange.java:571)
        at java.net.http/jdk.internal.net.http.Exchange.responseAsyncImpl(Exchange.java:423)
        at java.net.http/jdk.internal.net.http.Exchange.responseAsync(Exchange.java:415)
        at java.net.http/jdk.internal.net.http.MultiExchange.responseAsyncImpl(MultiExchange.java:413)
        at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsyncImpl$7(MultiExchange.java:454)
        at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934)
        at java.base/java.util.concurrent.CompletableFuture.uniHandleStage(CompletableFuture.java:950)
        at java.base/java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:2372)
        at java.net.http/jdk.internal.net.http.MultiExchange.responseAsyncImpl(MultiExchange.java:444)
        at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsync0$2(MultiExchange.java:346)
        at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150)
        at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
        at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773)
        at java.net.http/jdk.internal.net.http.HttpClientImpl$DelegatingExecutor.execute(HttpClientImpl.java:177)
        at java.base/java.util.concurrent.CompletableFuture.completeAsync(CompletableFuture.java:2719)
        at java.net.http/jdk.internal.net.http.MultiExchange.responseAsync(MultiExchange.java:299)
        at java.net.http/jdk.internal.net.http.HttpClientImpl.sendAsync(HttpClientImpl.java:1047)
        at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:930)
        ... 12 more
Caused by: java.nio.channels.UnresolvedAddressException
        at java.base/sun.nio.ch.Net.checkAddress(Net.java:137)
        at java.base/sun.nio.ch.Net.checkAddress(Net.java:145)
        at java.base/sun.nio.ch.SocketChannelImpl.checkRemote(SocketChannelImpl.java:842)
        at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:865)
        at java.net.http/jdk.internal.net.http.PlainHttpConnection.lambda$connectAsync$1(PlainHttpConnection.java:210)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:571)
        at java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:212)
        ... 38 more
Exception in thread "pool-4-thread-4" java.io.UncheckedIOException: net.fabricmc.loom.util.download.DownloadException: Failed download after 3 attempts
        at net.fabricmc.loom.util.download.DownloadExecutor.lambda$runAsync$0(DownloadExecutor.java:54)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
        at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: net.fabricmc.loom.util.download.DownloadException: Failed download after 3 attempts
        at net.fabricmc.loom.util.download.DownloadBuilder.withRetries(DownloadBuilder.java:167)
        at net.fabricmc.loom.util.download.DownloadBuilder.downloadPath(DownloadBuilder.java:123)
        at net.fabricmc.loom.util.download.DownloadBuilder.lambda$downloadPathAsync$0(DownloadBuilder.java:119)
        at net.fabricmc.loom.util.download.DownloadExecutor.lambda$runAsync$0(DownloadExecutor.java:50)
        ... 3 more
Caused by: net.fabricmc.loom.util.download.DownloadException: Failed to download file from (https://resources.download.minecraft.net/bb/bb36a4a223ef9290d1571156b6fe264cbc1d78f7) to (C:\Users\lo0lode\.gradle\caches\fabric-loom\assets\objects\bb\bb36a4a223ef9290d1571156b6fe264cbc1d78f7)
        at net.fabricmc.loom.util.download.Download.error(Download.java:484)
        at net.fabricmc.loom.util.download.Download.downloadPath(Download.java:162)
        at net.fabricmc.loom.util.download.DownloadBuilder.lambda$downloadPath$1(DownloadBuilder.java:124)
        at net.fabricmc.loom.util.download.DownloadBuilder.withRetries(DownloadBuilder.java:159)
        ... 6 more
Caused by: net.fabricmc.loom.util.download.DownloadException: Failed to download (https://resources.download.minecraft.net/bb/bb36a4a223ef9290d1571156b6fe264cbc1d78f7)
        at net.fabricmc.loom.util.download.Download.error(Download.java:484)
        at net.fabricmc.loom.util.download.Download.send(Download.java:126)
        at net.fabricmc.loom.util.download.Download.doDownload(Download.java:187)
        at net.fabricmc.loom.util.download.Download.downloadPath(Download.java:159)
        ... 8 more
Caused by: java.net.ConnectException
        at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:951)
        at java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:133)
        at net.fabricmc.loom.util.download.Download.send(Download.java:124)
        ... 10 more
Caused by: java.net.ConnectException
        at java.net.http/jdk.internal.net.http.common.Utils.toConnectException(Utils.java:1028)
        at java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:227)
        at java.net.http/jdk.internal.net.http.AsyncSSLConnection.connectAsync(AsyncSSLConnection.java:56)
        at java.net.http/jdk.internal.net.http.Http1Exchange.sendHeadersAsync(Http1Exchange.java:312)
        at java.net.http/jdk.internal.net.http.Exchange.lambda$responseAsyncImpl0$8(Exchange.java:567)
        at java.net.http/jdk.internal.net.http.Exchange.checkFor407(Exchange.java:447)
        at java.net.http/jdk.internal.net.http.Exchange.lambda$responseAsyncImpl0$9(Exchange.java:571)
        at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934)
        at java.base/java.util.concurrent.CompletableFuture.uniHandleStage(CompletableFuture.java:950)
        at java.base/java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:2372)
        at java.net.http/jdk.internal.net.http.Exchange.responseAsyncImpl0(Exchange.java:571)
        at java.net.http/jdk.internal.net.http.Exchange.responseAsyncImpl(Exchange.java:423)
        at java.net.http/jdk.internal.net.http.Exchange.responseAsync(Exchange.java:415)
        at java.net.http/jdk.internal.net.http.MultiExchange.responseAsyncImpl(MultiExchange.java:413)
        at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsyncImpl$7(MultiExchange.java:454)
        at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934)
        at java.base/java.util.concurrent.CompletableFuture.uniHandleStage(CompletableFuture.java:950)
        at java.base/java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:2372)
        at java.net.http/jdk.internal.net.http.MultiExchange.responseAsyncImpl(MultiExchange.java:444)
        at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsync0$2(MultiExchange.java:346)
        at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150)
        at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
        at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773)
        at java.net.http/jdk.internal.net.http.HttpClientImpl$DelegatingExecutor.execute(HttpClientImpl.java:177)
        at java.base/java.util.concurrent.CompletableFuture.completeAsync(CompletableFuture.java:2719)
        at java.net.http/jdk.internal.net.http.MultiExchange.responseAsync(MultiExchange.java:299)
        at java.net.http/jdk.internal.net.http.HttpClientImpl.sendAsync(HttpClientImpl.java:1047)
        at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:930)
        ... 12 more
Caused by: java.nio.channels.UnresolvedAddressException
        at java.base/sun.nio.ch.Net.checkAddress(Net.java:137)
        at java.base/sun.nio.ch.Net.checkAddress(Net.java:145)
        at java.base/sun.nio.ch.SocketChannelImpl.checkRemote(SocketChannelImpl.java:842)
        at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:865)
        at java.net.http/jdk.internal.net.http.PlainHttpConnection.lambda$connectAsync$1(PlainHttpConnection.java:210)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:571)
        at java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:212)
        ... 38 more
Exception in thread "pool-4-thread-1" java.io.UncheckedIOException: net.fabricmc.loom.util.download.DownloadException: Failed download after 3 attempts
        at net.fabricmc.loom.util.download.DownloadExecutor.lambda$runAsync$0(DownloadExecutor.java:54)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
        at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: net.fabricmc.loom.util.download.DownloadException: Failed download after 3 attempts
        at net.fabricmc.loom.util.download.DownloadBuilder.withRetries(DownloadBuilder.java:167)
        at net.fabricmc.loom.util.download.DownloadBuilder.downloadPath(DownloadBuilder.java:123)
        at net.fabricmc.loom.util.download.DownloadBuilder.lambda$downloadPathAsync$0(DownloadBuilder.java:119)
        at net.fabricmc.loom.util.download.DownloadExecutor.lambda$runAsync$0(DownloadExecutor.java:50)
        ... 3 more
Caused by: net.fabricmc.loom.util.download.DownloadException: Failed to write hash to (C:\Users\lo0lode\.gradle\caches\fabric-loom\assets\objects\a7\a783e772d25d52b7e3d4d9a58458bdc23e94efdc)
        at net.fabricmc.loom.util.download.Download.error(Download.java:484)
        at net.fabricmc.loom.util.download.Download.writeHash(Download.java:404)
        at net.fabricmc.loom.util.download.Download.requiresDownload(Download.java:333)
        at net.fabricmc.loom.util.download.Download.downloadPath(Download.java:150)
        at net.fabricmc.loom.util.download.DownloadBuilder.lambda$downloadPath$1(DownloadBuilder.java:124)
        at net.fabricmc.loom.util.download.DownloadBuilder.withRetries(DownloadBuilder.java:159)
        ... 6 more
Caused by: java.nio.channels.ClosedByInterruptException
        at java.base/java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:200)
        at java.base/sun.nio.ch.FileChannelImpl.endBlocking(FileChannelImpl.java:172)
        at java.base/sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:309)
        at java.base/sun.nio.fs.WindowsUserDefinedFileAttributeView.write(WindowsUserDefinedFileAttributeView.java:221)
        at net.fabricmc.loom.util.AttributeHelper.writeAttribute(AttributeHelper.java:73)
        at net.fabricmc.loom.util.download.Download.writeHash(Download.java:402)
        ... 10 more

> Task :downloadAssets FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':downloadAssets'.
> net.fabricmc.loom.util.download.DownloadException: Failed to download

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 48s
Сверху