TuringSoftware / CrystalFetch

macOS UI for creating Windows installer ISO from UUPDump
Apache License 2.0
590 stars 22 forks source link

could not connect to server #27

Open UriZafrir opened 10 months ago

UriZafrir commented 10 months ago

Hi When using with Mac M1 and pressing the "all builds" button I get "could not connect to server it seems https://uupdump.net is not working. image image image

chadlwilson commented 10 months ago

Not sure if its the same issue, but I always just get timeouts trying to load the "All builds..." list with 2.1.0 (4).

image

chadlwilson commented 10 months ago

Ahh, looks like UUPDump has been down for the last 2 weeks or so: https://www.reddit.com/r/windowsinsiders/comments/16hci7n/is_uupdump_down_for_everyone/

There is https://www.uup.ee/ so I wonder if there is a way to point CrystalFetch at a different UUPDump site and/or a local instance.

Kusanalee commented 10 months ago

UUPDump is still down. There should be an option to use alternative uup sites.

Kusanalee commented 10 months ago

So I have tried to switch it out with UUP.ee - but that doesn't work because it doesn't have a json-api. I also tried uupdump.cn which does have a json-api but crystalfetch still spits out a "the data couldn't be read because it isn't in the correct format". I'm currently looking for other sources of UUPdump in hopes that it works.

image
Helloyunho commented 10 months ago

image https://uupdump.net seems like permanently down now...

Helloyunho commented 10 months ago

image https://uupdump.net seems like permanently down now...

You can download the whole website source from there and use the JSON API via the local network though hmmm... I think we need an option to select our own API endpoint URL

chadlwilson commented 10 months ago

After some hacking around with both the UUPDump JSON API and CrystalFetch (to change it to point to a local version of the API running in a Docker instance) I did get a setup running locally that allowed me to create an install iso.

I'll see if I can automate the UUPDump "distribution" stuff to make this work, and see if I can submit a PR to CrystalFetch to allow the UUPDump URL to be changed.

Broad steps (which needs more detail)

gedw99 commented 10 months ago

Is this the same thing ?

https://www.uupdump.cn/?lang=en-us

Seems to have various build of Windows OS, etc

Kusanalee commented 10 months ago

I tried using uupdump.cn, however that does not work (usually with an error about the network connection was lost). I'll try locally hosting it in docker to see if works.

chadlwilson commented 10 months ago

Yeah, it definitely works locally, although the data is slightly stale in uupdump's repos, so it's missing a few builds. Looks like the auto-updates of data into GitHub is also broken. e.g at time of writing it is missing this build.

This may reduce the usefulness of even running locally over time unless there are enough folks doing manual PRs. https://github.com/uup-dump/packs/commits/master https://github.com/uup-dump/fileinfo/commits/master

chadlwilson commented 10 months ago

My PR to allow this to be configured is at https://github.com/TuringSoftware/CrystalFetch/pull/32 - not much help since you'd still need to build locally unless merged/released and could as easily edit the URL in the code for your local use, but might be a starting point for someone who knows SwiftUI better than I 🙏

Helloyunho commented 9 months ago

CleanShot 2023-10-30 at 08 57 07@2x Great news! About a week ago https://uupdump.net is open again! ...But as mentioned in #32 uupdump creates wrong iso for arm64