reflex-platform icon indicating copy to clipboard operation
reflex-platform copied to clipboard

Running try-reflex script takes a long time

Open panmona opened this issue 10 months ago • 3 comments

I'm trying to try out reflex on my local machine and followed the instructions in the README.

I already installed nix the other day on my Linux distro, using the recommended multi-user installation script from the nix website. I have these binary caches set up and restarted my daemon after adding them (these are from the obelisk documentation):

binary-caches = https://cache.nixos.org https://nixcache.reflex-frp.org
binary-cache-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= ryantrinkle.com-1:JJiAKaRv9mWgpVAz8dwewnZe0AzzEAzPkagE9SP5NWI=
binary-caches-parallel-connections = 40

Nonetheless running try-reflex takes a long time (not minutes, it's for sure already running for about close to an hour). The documentation mentions that it should only take a few minutes, if binary caches are set-up correctly.

I assume that I'm running into this issue due to my caches not being set up correctly? I couldn't find a reference to how to set them up correctly in the documentation of this repo: Can you give me pointers on how to do it? Or do you have other ideas why it takes so long and how I can fix it? (It doesn't seem to be in a loop or anything but rather it seems to compile everything from scratch?) Note: The same issue also occurred when I wanted to try out obelisk.

panmona avatar Feb 22 '25 14:02 panmona

I think there's been some issues in the last week with the machine where binary caches are hosted cc @ali-abrar

alexfmpe avatar Feb 22 '25 14:02 alexfmpe

Thanks. It's good to know that I don't seem to do something wrong. Is there any workaround to install reflex-platform or obelisk until this issue gets fixed?

panmona avatar Feb 26 '25 15:02 panmona

Not that I'm aware of. I'd just leave a build going overnight. On macos nix builds there's some slight impurities and a weaker sandbox so sometimes builds from source run into problems, but AFAICT on linux it's much more reliable.

alexfmpe avatar Feb 26 '25 16:02 alexfmpe