Yneth/distress-releases

Termux support

Closed this issue · 4 comments

When I try to run it, I got the following error. Is it possible to support Termux?

$ ./distress_aarch64-unknown-linux-musl
2024-03-23 17:54:57 WARN  - failed to load latest version, reason: TimedOutFetchingVersion. continuing to work...
2024-03-23 17:54:59 INFO  - main| starting distress:0.7.20 for any questions or support refer to: https://t.me/distress_support
2024-03-23 17:54:59 INFO  - main| initializing context...
2024-03-23 17:56:55 INFO  - context| using interface ["wlan0"]
2024-03-23 17:59:21 ERROR - failed to load targets
2024-03-23 18:00:05 WARN  - failed to load proxies
2024-03-23 18:00:05 INFO  - main| starting...
2024-03-23 18:00:05 ERROR - core| failed due to internal error, error_id:d39a9b6c-9215-498a-b743-28cf47bad418 error:no targets...
2024-03-23 18:00:05 INFO  - core| attempting to restart in 30sec...
2024-03-23 18:00:35 INFO  - core| refreshing app...

check internet connection or DNS resolving issues

you could also specify the network interface, maybe the default one is incorrectly resolved

check internet connection or DNS resolving issues

I don't have such issues on my phone, Internet works perfectly fine. And I can use wget, curl etc in Termux

you could also specify the network interface, maybe the default one is incorrectly resolved

I tried but it fails

2024-03-24 12:59:09 WARN  - failed to retrieve default interface Generic("Default Interface not found")
2024-03-24 12:59:09 WARN  - failed to retrieve specified interface Generic("Failed to find interface with name 'lo'")
2024-03-24 12:59:09 WARN  - failed to retrieve specified interface Generic("Failed to find interface with name 'rmnet1'")
2024-03-24 12:59:09 WARN  - failed to retrieve specified interface Generic("Failed to find interface with name 'rmnet2'")
2024-03-24 12:59:09 WARN  - failed to retrieve specified interface Generic("Failed to find interface with name 'wlan0'")
2024-03-24 12:59:09 INFO  - context| using interface []

Nevermind, I installed Ubuntu inside Terrmux by following this steps https://github.com/MFDGaming/ubuntu-in-termux, and ran Distress inside, it works perfectly