TehNut-Mods / HWYLA

A fork of Waila maintaining it for new MC versions
https://bitbucket.org/ProfMobius/waila
Other
118 stars 75 forks source link

Maven down? #253

Closed clienthax closed 4 years ago

clienthax commented 4 years ago

Issue Description:

Unable to pull http://tehnut.info/maven/mcp/mobius/waila/Hwyla/1.8.20-B35_1.12/Hwyla-1.8.20-B35_1.12.pom http://tehnut.info/maven/mcp/mobius/waila/Hwyla/1.8.20-B35_1.12/Hwyla-1.8.20-B35_1.12.jar

What happens:

Dependency is not found

What you expected to happen:

For it to be found

Steps to reproduce:

repositories {
    maven { url "http://tehnut.info/maven" }
}

dependencies {
    deobfCompile "mcp.mobius.waila:Hwyla:1.8.20-B35_1.12"
}
TehNut commented 4 years ago

Yes as noted on the homepage. You can pull from curse for now

Boy132 commented 4 years ago

Could someone please give an example of how this needs to look?

Kolbrandr commented 4 years ago

I'd like to know how to pull it from curse as well

TehNut commented 4 years ago

You should (?) now be able to switch the maven endpoint to https://maven.tehnut.info to pull the following builds:

image

Cydhra commented 4 years ago

No, the server denies access with a 403: Forbidden error code:

https://maven.tehnut.info/mcp/mobius/waila/Hwyla/1.8.26-B41_1.12.2/Hwyla-1.8.26-B41_1.12.2.pom

TehNut commented 4 years ago

Whoops. Kids, don't play with CDN permissions at 3am. Should be available now.

Cydhra commented 4 years ago

confirmed with 1.8.26-B41_1.12.2

Edivad99 commented 4 years ago

confirmed with Hwyla-1.10.8-B72_1.15.2

rubensworks commented 4 years ago

Same here for 1.10.8-B72_1.15.2.

ghost commented 4 years ago

Trying to browse the maven repo still produces access denied for me. I'm only able to access the files with direct links.

Edit: Without being able to browse the maven repo, I had to guess that the url was https://maven.tehnut.info/mcp/mobius/waila/Hwyla/fabric-1.16.1-1.9.22-75/Hwyla-fabric-1.16.1-1.9.22-75.pom. It took me a bit of time to figure this out, but if anyone else needs the link for the latest version of Hywla as of this writing, here it is.

Edit 2: It appears the link I posted broke since I've posted it.

TehNut commented 4 years ago

That link never would have worked in the first place. The artifact does not include -fabric in the name. The correct URL for the latest Fabric build is https://maven.tehnut.info/mcp/mobius/waila/Hwyla/1.16.1-1.9.22-75/Hwyla-1.16.1-1.9.22-75.jar.

Also, it's a CDN. It's not supposed to be browseable. I'm working on a solution to that, but I haven't had time to put into it.

ghost commented 4 years ago

Yep, I must have copied the wrong link I was experimenting with. Looking at the POM I downloaded, I didn't have fabric in the name. Thanks!

Hwyla-1.16.1-1.9.22-75.pom.renamed.for.github.txt

Edivad99 commented 4 years ago

Why don't you load api on curseforge? At least you're sure they always work.

ghost commented 4 years ago

I'm trying to get Hywla to work in my development environment. That way I can work on adding support for Hywla in my mod. I'm trying to get Gradle to download it and remap the jar for the development environment.

Currently, Gradle refuses to even look at maven.tehnut.info even though it's in my repository list, so I'm not sure if remapping works for Hywla yet (I had successfully loaded TechReborn and Mod Menu using the same method I'm trying to load Hywla with).

Edit: I should mention, I'm trying to do this in a way so that anyone who clones the repo can perform the tests themselves without having to go through this setup again while at the same time not redistributing any 3rd party jars.

Edit 2: Here's a build scan. https://scans.gradle.com/s/xifzofky52nay

It appears that gradle is contacting the repo, but it stops before it gets to resolve Hywla. It is searching for eclipse dependencies for some reason on the repo. It gets 403 errors across the board, so my guess is it gives up?

ghost commented 4 years ago

So, I got the dependency to download. I just now need to figure out how to get the jar to be remapped so I can load it in the development environment. That is outside of the scope of this issue report, so I'll be leaving this issue alone now.

shartte commented 4 years ago

We are probably going to mirror the API artifact since everytime the Maven goes down, so does our build :-|

puggan commented 4 years ago

Is the readme-page getting an update?

TehNut commented 4 years ago

Yup, whenever I update it.

ghost commented 4 years ago

TehNut, in the meantime while you are working on fixing the Maven, can you post a dev jar to Curseforge which doesn't remap classes such as Identifier to class_2960? That would help greatly as then people can get the development jar directly from Curseforge by using https://github.com/Wyn-Price/CurseMaven.

Edit: I should also mention, having https://maven.tehnut.info/ greatly slows down Gradle's ability to process my builds. Loading gradle in debug mode shows that a lot of dependencies get 403'd even though this particular repo is in the bottom of my list of repos. Taking this Maven out makes Gradle work in seconds instead of the indeterminate amount of time it would have taken, plus I get no 403s (also taking out Hywla too of course). So, I'm looking for an alternative that doesn't spit out a bunch of 403s and works quickly. I believe the 403s slow Gradle down for some reason, maybe having to do with logging?

TehNut commented 4 years ago

But it is fixed.

https://github.com/TehNut/HWYLA/issues/253#issuecomment-647103525

ghost commented 4 years ago

I should also mention, this Maven is the only one that goes out on me a lot too and looking at it in my browser shows that the site is inaccessible (which could be the other reason Gradle is so slow).

Screen Shot 2020-07-07 at 7 56 43 PM

TehNut commented 4 years ago

https://maven.tehnut.info/mcp/mobius/waila/Hwyla/1.8.26-B41_1.12.2/Hwyla-1.8.26-B41_1.12.2.pom is downloading the file properly for me. maven.tehnut.info is just a CNAME for tehnut-mod-maven.sfo2.cdn.digitaloceanspaces.com, which has not had an availability issue since June 28th.

TehNut commented 4 years ago

The README now displays the proper methods of pulling Hwyla as a library.