must be authenticated to github for wget to work
diehard88 opened this issue · comments
diehard88 commented
lhroot is running under su, where I'm not authenticated to github.
root@android:/data/data/com.termux/files/home #
root@android:/data/data/com.termux/files/home # wget "https://raw.githubusercontent.com/FerryAr/lhroot-repo/mai>
Connecting to raw.githubusercontent.com (185.199.108.133:443)
wget: error getting response: Connection reset by peer
root@android:/data/data/com.termux/files/home
under termux bash wget works because it's connected to it.
~ $
~ $ wget "https://raw.githubusercontent.com/FerryAr/lhroot-repo/main/Rootfs/Kali/arm64/kali-rootfs-arm64.tar.xz"
--2022-06-20 05:41:52-- https://raw.githubusercontent.com/FerryAr/lhroot-repo/main/Rootfs/Kali/arm64/kali-rootfs-arm64.tar.xz
Resolving raw.githubusercontent.com... 185.199.109.133, 185.199.110.133, 185.199.111.133, ...
Connecting to raw.githubusercontent.com|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 39444224 (38M) [application/octet-stream]
Saving to: ‘kali-rootfs-arm64.tar.xz.1’
kali-rootfs-arm64.tar.xz.1 20%[=======> ] 7.64M 1.03MB/s eta 28s
Azriel Akbar Ferry A commented
diehard88 commented
I believe now it's a wget issue.
In termux, wget is version 1.21.3, while under su wget is version 1.34.1 (osmosis).....
jake5253 commented
export PATH="/sbin/.magisk/busybox:$PATH"
Busybox that is built-into magisk allows https connections... kind of. it still says something about it isn't supported but it DOES seem to download anyways.