Uploaded image for project: 'Minecraft Realms'
  1. Minecraft Realms
  2. REALMS-12104

"Failed to download resource pack" error when trying to load a map with a resource pack

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.21 (Java)
    • 1.21 (Java)
    • None
    • Confirmed
    • Java
    • 1284326

      Attempting to load a Realms map with a resource pack results in an error. This was initially reported on the MinecraftRealms Slack to osthys.

      [16:54:30] [Download-2/WARN]: Existing file C:\Users\Johannes\AppData\Roaming\.minecraft\downloads\a0b918db-98a5-3fb2-b13c-7885031e7f4f\1d8dd9affea9a92daac9e0ae660988c5e3fe4f42 not found or had mismatched hash
      [16:54:30] [Download-2/ERROR]: HTTP response error: <?xml version="1.0" encoding="utf-8"?><Error><Code>PublicAccessNotPermitted</Code><Message>Public access is not permitted on this storage account.
      RequestId:4df43a0c-001e-0014-1247-f2e00f000000
      Time:2024-08-19T14:54:22.7466922Z</Message></Error>
      [16:54:30] [Download-2/INFO]: Pack 1 failed to download
      [16:54:30] [Download-2/ERROR]: Failed to download https://atlasmapstorageprod-endpoint.azureedge.net/realms-resourcepacks/22c6cb0d-f4e3-45b7-991e-93629c7c4cec.zip
      java.lang.IllegalStateException: Failed to download file https://atlasmapstorageprod-endpoint.azureedge.net/realms-resourcepacks/22c6cb0d-f4e3-45b7-991e-93629c7c4cec.zip
      	at net.minecraft.util.HttpUtil.java.nio.file.Path downloadFile(java.nio.file.Path,java.net.URL,java.util.Map,com.google.common.hash.HashFunction,com.google.common.hash.HashCode,int,java.net.Proxy,net.minecraft.util.HttpUtil$DownloadProgressListener)(HttpUtil.java:137) ~[24w33a.jar:?]
      	at net.minecraft.server.packs.DownloadQueue.void lambda$runDownload$0(net.minecraft.server.packs.DownloadQueue$BatchConfig,net.minecraft.server.packs.DownloadQueue$BatchResult,java.util.UUID,net.minecraft.server.packs.DownloadQueue$DownloadRequest)(DownloadQueue.java:107) ~[24w33a.jar:?]
      	at java.base/java.util.HashMap.forEach(HashMap.java:1429) ~[?:?]
      	at net.minecraft.server.packs.DownloadQueue.net.minecraft.server.packs.DownloadQueue$BatchResult runDownload(net.minecraft.server.packs.DownloadQueue$BatchConfig,java.util.Map)(DownloadQueue.java:103) ~[24w33a.jar:?]
      	at net.minecraft.server.packs.DownloadQueue.net.minecraft.server.packs.DownloadQueue$BatchResult lambda$downloadBatch$1(net.minecraft.server.packs.DownloadQueue$BatchConfig,java.util.Map)(DownloadQueue.java:140) ~[24w33a.jar:?]
      	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
      	at net.minecraft.util.thread.ProcessorMailbox.boolean pollTask()(ProcessorMailbox.java:91) ~[24w33a.jar:?]
      	at net.minecraft.util.thread.ProcessorMailbox.int pollUntil(it.unimi.dsi.fastutil.ints.Int2BooleanFunction)(ProcessorMailbox.java:146) ~[24w33a.jar:?]
      	at net.minecraft.util.thread.ProcessorMailbox.void run()(ProcessorMailbox.java:102) ~[24w33a.jar:?]
      	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:1570) [?:?]
      Caused by: java.io.IOException: Server returned HTTP response code: 409 for URL: https://atlasmapstorageprod-endpoint.azureedge.net/realms-resourcepacks/22c6cb0d-f4e3-45b7-991e-93629c7c4cec.zip
      	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:2014) ~[?:?]
      	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1615) ~[?:?]
      	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:223) ~[?:?]
      	at net.minecraft.util.HttpUtil.java.nio.file.Path downloadFile(java.nio.file.Path,java.net.URL,java.util.Map,com.google.common.hash.HashFunction,com.google.common.hash.HashCode,int,java.net.Proxy,net.minecraft.util.HttpUtil$DownloadProgressListener)(HttpUtil.java:85) ~[24w33a.jar:?]
      	... 11 more
      [16:54:30] [Render thread/ERROR]: Failed to download resource pack from {a=51.145.253.0:30102 b=https://atlasmapstorageprod-endpoint.azureedge.net/realms-resourcepacks/22c6cb0d-f4e3-45b7-991e-93629c7c4cec.zip c=1d8dd9affea9a92daac9e0ae660988c5e3fe4f42}
      java.util.concurrent.CompletionException: java.lang.IllegalStateException: Failed to apply pack a0b918db-98a5-3fb2-b13c-7885031e7f4f, reason: DOWNLOAD_FAILED
      	at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:332) ~[?:?]
      	at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:347) ~[?:?]
      	at java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:781) ~[?:?]
      	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
      	at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2194) ~[?:?]
      	at net.minecraft.client.resources.server.DownloadedPackSource$7.void reportFinalResult(java.util.UUID,net.minecraft.client.resources.server.PackLoadFeedback$FinalResult)(DownloadedPackSource.java:434) ~[24w33a.jar:?]
      	at net.minecraft.client.resources.server.DownloadedPackSource$2.void reportFinalResult(java.util.UUID,net.minecraft.client.resources.server.PackLoadFeedback$FinalResult)(DownloadedPackSource.java:115) ~[24w33a.jar:?]
      	at net.minecraft.client.resources.server.ServerPackManager.boolean lambda$cleanupRemovedPacks$0(net.minecraft.client.resources.server.ServerPackManager$ServerPackData)(ServerPackManager.java:258) ~[24w33a.jar:?]
      	at java.base/java.util.ArrayList.removeIf(ArrayList.java:1756) ~[?:?]
      	at java.base/java.util.ArrayList.removeIf(ArrayList.java:1744) ~[?:?]
      	at net.minecraft.client.resources.server.ServerPackManager.void cleanupRemovedPacks()(ServerPackManager.java:248) ~[24w33a.jar:?]
      	at net.minecraft.client.resources.server.ServerPackManager.void tick()(ServerPackManager.java:244) ~[24w33a.jar:?]
      	at net.minecraft.client.resources.server.DownloadedPackSource$5.void runAllUpdates()(DownloadedPackSource.java:241) ~[24w33a.jar:?]
      	at bqa.d(SourceFile:164) [24w33a.jar:?]
      	at bqe.d(SourceFile:23) [24w33a.jar:?]
      	at bqa.B(SourceFile:138) [24w33a.jar:?]
      	at bqa.bC(SourceFile:123) [24w33a.jar:?]
      	at fib.c(SourceFile:1260) [24w33a.jar:?]
      	at fib.f(SourceFile:894) [24w33a.jar:?]
      	at net.minecraft.client.main.Main.main(SourceFile:256) [24w33a.jar:?]
      Caused by: java.lang.IllegalStateException: Failed to apply pack a0b918db-98a5-3fb2-b13c-7885031e7f4f, reason: DOWNLOAD_FAILED
      	... 15 more
      

        1. deobf_latest.log
          9 kB
          [Bot] Arisa
        2. image-2024-08-19-16-56-31-243.png
          254 kB
          [Mod] turbo
        3. latest.log
          7 kB
          [Mod] turbo

            Unassigned Unassigned
            zTxrbq [Mod] turbo
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: