./setup.sh not working

  • I was closely following the ‘Building’ instructions from the readme https://github.com/GlowstoneMC/Glowstone/blob/master/README.md
    but whenever I try ./setup.sh, it fails building with this stack trace:

    Failed to execute goal on project glowstone: Could not resolve dependencies for project net.glowstone:glowstone:jar:1.10.2-SNAPSHOT: Failed to collect dependencies for [net.glowstone:glowkit:jar:1.10.2-R0.1-SNAPSHOT (compile), com.flowpowered:flow-network:jar:1.1.0-SNAPSHOT (compile), jline:jline:jar:2.11 (compile), org.projectlombok:lombok:jar:1.14.8 (provided), net.sf.trove4j:trove4j:jar:3.0.3 (compile), co.aikar:fastutil-lite:jar:1.0 (compile), org.jetbrains.kotlin:kotlin-runtime:jar:1.1-SNAPSHOT (compile), org.jetbrains.kotlin:kotlin-reflect:jar:1.1-SNAPSHOT (compile), io.netty:netty-transport-native-epoll:jar:4.1.0.CR7 (compile), junit:junit:jar:4.12 (test)]: Failed to read artifact descriptor for net.glowstone:glowkit:jar:1.10.2-R0.1-SNAPSHOT: Could not transfer artifact net.glowstone:glowkit:pom:1.10.2-R0.1-SNAPSHOT from/to glowstone-snapshots (https://repo.glowstone.net/content/repositories/snapshots/): peer not authenticated -> [Help 1]

    I’ve been trying to figure out how to solve this for about two weeks, but I couldn’t fix it. What can I do to fix this build failure? Thanks.

  • Admin

    @euisuny Are you on an intrusive network that changes certificates? Check to see if you can connect to https://repo.glowstone.net/ through your browser.

    Also, what is your operating system?

    As a workaround, before we fix the problem together, you can edit setup.sh and add -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true to the end of mvn package, so that it skips checking certificates. But note that then Maven will not be able to verify the validity of the dependencies.

  • Admin

    This post is deleted!

Log in to reply

Looks like your connection to Glowstone was lost, please wait while we try to reconnect.