Jump to content

Unable to load maven metadata [peer not athenticated] [1.7.10]


Yurim64

Recommended Posts

Hi, I was trying to create a project for a mod in minecraft 1.7.10, but running the command from windows shell ". \gradlew.bat setupDecompWorkspace" I get this error:

 

Quote

PS D:\Fiverr\NarutoModAddon\forge-1.7.10-10.13.4.1614-1.7.10> .\gradlew.bat setupDecompWorkspace --info
Connected to the daemon. Dispatching Build{id=a3c4268a-000e-4b77-a0cb-acb88e8c9f40.1, currentDir=D:\Fiverr\NarutoModAddon\forge-1.7.10-10.13.4.1614-1.7.10} request.
The client will now receive all logging from the daemon (pid: 11472). The daemon log file: C:\Users\Ike\.gradle\daemon\2.0\daemon-11472.out.log
Executing build with daemon context: DefaultDaemonContext[uid=bbf323d7-9a43-4602-9c63-19ada1e4c761,javaHome=C:\Program Files\Java\jdk1.8.0_121,daemonRegistryDir=C:\Users\Ike\.gradle\daemon,pid=11472,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=windows-1252]
Starting Build
Settings evaluated using empty settings script.
Projects loaded. Root project using build file 'D:\Fiverr\NarutoModAddon\forge-1.7.10-10.13.4.1614-1.7.10\build.gradle'.
Included projects: [root project 'forge-1.7.10-10.13.4.1614-1.7.10']
Evaluating root project 'forge-1.7.10-10.13.4.1614-1.7.10' using build file 'D:\Fiverr\NarutoModAddon\forge-1.7.10-10.13.4.1614-1.7.10\build.gradle'.
Compiling build file 'D:\Fiverr\NarutoModAddon\forge-1.7.10-10.13.4.1614-1.7.10\build.gradle' using StatementExtractingScriptTransformer.
Failed to get resource: GET. [HTTP HTTP/1.1 501 HTTPS Required: http://repo1.maven.org/maven2/net/minecraftforge/gradle/ForgeGradle/1.2-SNAPSHOT/maven-metadata.xml]

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'forge-1.7.10-10.13.4.1614-1.7.10'.
> Could not resolve all dependencies for configuration ':classpath'.
   > Could not resolve net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT.
     Required by:
         :forge-1.7.10-10.13.4.1614-1.7.10:unspecified
      > Unable to load Maven meta-data from https://maven.minecraftforge.net/net/minecraftforge/gradle/ForgeGradle/1.2-SNAPSHOT/maven-metadata.xml.
         > Could not GET 'https://maven.minecraftforge.net/net/minecraftforge/gradle/ForgeGradle/1.2-SNAPSHOT/maven-metadata.xml'.
            > peer not authenticated
      > Unable to load Maven meta-data from http://repo1.maven.org/maven2/net/minecraftforge/gradle/ForgeGradle/1.2-SNAPSHOT/maven-metadata.xml.
         > Could not GET 'http://repo1.maven.org/maven2/net/minecraftforge/gradle/ForgeGradle/1.2-SNAPSHOT/maven-metadata.xml'. Received status code 501 from server: HTTPS Required

* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.

BUILD FAILED

Total time: 1.439 secs
PS D:\Fiverr\NarutoModAddon\forge-1.7.10-10.13.4.1614-1.7.10> .\gradlew.bat setupDecompWorkspace --info
Connected to the daemon. Dispatching Build{id=1c714b38-e6a1-4a2e-b71d-5b9863f080fe.1, currentDir=D:\Fiverr\NarutoModAddon\forge-1.7.10-10.13.4.1614-1.7.10} request.
The client will now receive all logging from the daemon (pid: 11472). The daemon log file: C:\Users\Ike\.gradle\daemon\2.0\daemon-11472.out.log
Executing build with daemon context: DefaultDaemonContext[uid=bbf323d7-9a43-4602-9c63-19ada1e4c761,javaHome=C:\Program Files\Java\jdk1.8.0_121,daemonRegistryDir=C:\Users\Ike\.gradle\daemon,pid=11472,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=windows-1252]
Starting Build
Settings evaluated using empty settings script.
Projects loaded. Root project using build file 'D:\Fiverr\NarutoModAddon\forge-1.7.10-10.13.4.1614-1.7.10\build.gradle'.
Included projects: [root project 'forge-1.7.10-10.13.4.1614-1.7.10']
Evaluating root project 'forge-1.7.10-10.13.4.1614-1.7.10' using build file 'D:\Fiverr\NarutoModAddon\forge-1.7.10-10.13.4.1614-1.7.10\build.gradle'.
Compiling build file 'D:\Fiverr\NarutoModAddon\forge-1.7.10-10.13.4.1614-1.7.10\build.gradle' using StatementExtractingScriptTransformer.
Resource missing. [HTTP GET: https://repo1.maven.org/maven2/net/minecraftforge/gradle/ForgeGradle/1.2-SNAPSHOT/maven-metadata.xml]
Resource missing. [HTTP GET: https://repo1.maven.org/maven2/net/minecraftforge/gradle/ForgeGradle/1.2-SNAPSHOT/ForgeGradle-1.2-SNAPSHOT.pom]
Resource missing. [HTTP HEAD: https://repo1.maven.org/maven2/net/minecraftforge/gradle/ForgeGradle/1.2-SNAPSHOT/ForgeGradle-1.2-SNAPSHOT.jar]
Resource missing. [HTTP GET: https://oss.sonatype.org/content/repositories/snapshots/net/minecraftforge/gradle/ForgeGradle/1.2-SNAPSHOT/maven-metadata.xml]
Resource missing. [HTTP GET: https://oss.sonatype.org/content/repositories/snapshots/net/minecraftforge/gradle/ForgeGradle/1.2-SNAPSHOT/ForgeGradle-1.2-SNAPSHOT.pom]
Resource missing. [HTTP HEAD: https://oss.sonatype.org/content/repositories/snapshots/net/minecraftforge/gradle/ForgeGradle/1.2-SNAPSHOT/ForgeGradle-1.2-SNAPSHOT.jar]

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'forge-1.7.10-10.13.4.1614-1.7.10'.
> Could not resolve all dependencies for configuration ':classpath'.
   > Could not resolve net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT.
     Required by:
         :forge-1.7.10-10.13.4.1614-1.7.10:unspecified
      > Unable to load Maven meta-data from http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/1.2-SNAPSHOT/maven-metadata.xml.
         > Could not GET 'http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/1.2-SNAPSHOT/maven-metadata.xml'.
            > peer not authenticated

* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.

BUILD FAILED

Total time: 2.934 secs

 

I changed the file build.gradle using this link: https://gist.github.com/Arzio/848b8375c4c2ff828d5a7470ac1866b6.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I've been trying to make a mod pack for the last day or so now and I haven't been able to launch it once even with all mods disabled. It keeps showing up with Exit Code 1. I gave the modpack to a friend to try and it didn't launch on their pc either due to the same exit code, so I'm not entirely certain what the problem is or how to check it in the logs. So far I've attempted: - Changing from forge version 43.3.0 to 43.3.5 - Downloading Java - Disabling mods (both entirely and individually) I have an NVIDIA GeForce GTX 1070 driver, and I haven't tried to uninstall or reinstall it yet because I'm not certain how to and would have to mess anything up further. I have the latest .txt file of the crash report here: [16:24:34] [main/WARN]: Failed to add PDH Counter: \Paging File(_Total)\% Usage, Error code: 0xC0000BB8 [16:24:34] [main/WARN]: Failed to add counter for PDH counter: \Paging File(_Total)\% Usage [16:24:34] [main/WARN]: Disabling further attempts to query Paging File. [16:24:36] [main/WARN]: COM exception: Invalid Query: SELECT PERCENTUSAGE FROM Win32_PerfRawData_PerfOS_PagingFile [16:24:39] [Datafixer Bootstrap/INFO]: 198 Datafixer optimizations took 149 milliseconds [16:24:40] [Render thread/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD] [16:24:40] [Render thread/INFO]: Setting user: CatDoodlee [16:24:41] [Render thread/INFO]: Backend library: LWJGL version 3.3.2+13 [16:24:42] [Render thread/INFO]: Reloading ResourceManager: vanilla [16:24:42] [Worker-Main-11/INFO]: Found unifont_all_no_pua-15.1.04.hex, loading [16:24:44] [Render thread/WARN]: Missing sound for event: minecraft:item.goat_horn.play [16:24:44] [Render thread/WARN]: Missing sound for event: minecraft:entity.goat.screaming.horn_break [16:24:44] [Render thread/INFO]: OpenAL initialized on device OpenAL Soft on Speakers (Atrix Wired Elite Headset) [16:24:44] [Render thread/INFO]: Sound engine started [16:24:44] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas [16:24:44] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/signs.png-atlas [16:24:44] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas [16:24:44] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas [16:24:44] [Render thread/INFO]: Created: 1024x1024x4 minecraft:textures/atlas/armor_trims.png-atlas [16:24:44] [Render thread/INFO]: Created: 128x64x4 minecraft:textures/atlas/decorated_pot.png-atlas [16:24:44] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas [16:24:44] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas [16:24:44] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas [16:24:45] [Render thread/WARN]: Shader rendertype_entity_translucent_emissive could not find sampler named Sampler2 in the specified shader program. [16:24:45] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/particles.png-atlas [16:24:45] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas [16:24:45] [Render thread/INFO]: Created: 128x128x0 minecraft:textures/atlas/mob_effects.png-atlas [16:24:45] [Render thread/INFO]: Created: 1024x512x0 minecraft:textures/atlas/gui.png-atlas [16:25:41] [Render thread/INFO]: Stopping! any form of help is greatly appreciated ❤️
    • Tanks for answer, I added SleepTight and I removed Modernfix, but it still crashing: new log new crash log
    • Hi, I'm trying to hide specific vanilla effects such as levitation or slow falling from the inventory GUI, but I haven't been able to figure out how to do this. I need this because they are triggered by another effect and I don't need them all showing up. Unfortunately, I don't know of any mods that include this feature, and I couldn't find any documentation on the process. I've already looked into the IClientMobEffectExtensions interface, but I'm uncertain about how to implement it in my own effect, let alone in any existing vanilla effect. Please help I am using Forge 47.2.0. for Minecraft 1.20.1
    • Also wondering how to create these manually.  First time creating a forge server.
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.