gorilla-devs / ferium

Fast and multi-source CLI program for managing Minecraft mods and modpacks from Modrinth, CurseForge, and GitHub Releases
Mozilla Public License 2.0
1.15k stars 49 forks source link

Linux AArch64 builds do not work on Android #426

Open xronin01 opened 2 months ago

xronin01 commented 2 months ago

Description

Screenshot_20240816-164330_TermuxMonet

For some reason the Ferium does not connect to the internet in termux, I'm using 4.7.0 linux-arm64-nogui from GitHub Releases

https://f-droid.org/packages/com.termux/

Steps to reproduce

No response

Operating System

other (Specify in Additional Information)

Are you using the latest version of ferium?

Additional Information

No response

theRookieCoder commented 2 months ago

Can you run something like ping api.modrinth.com to verify that it can actually connect normally?

xronin01 commented 2 months ago

ping works normally

theRookieCoder commented 1 month ago

Try curl https://api.modrinth.com/v2/tag/game_version, and check again with the latest version of ferium.

If it still fails, I'm sorry but I have absolutely no idea what causes this.

ScottBot10 commented 3 weeks ago

I had the same issue with the linux-arm64-nogui release and curl https://api.modrinth.com/v2/tag/game_version produces the expected result. It does work, for some reason, if I compile it for Android (you do need to edit libium a bit first - https://github.com/gorilla-devs/libium/issues/21).

theRookieCoder commented 3 weeks ago

Hmm this is very confusing. I suspect this might have something to do with SSL, since the crypto libraries often have handwritten platform-specific assembly.