topjohnwu / Magisk

The Magic Mask for Android
GNU General Public License v3.0
46.67k stars 11.78k forks source link

Online update module will not auto install #8208

Closed vvb2060 closed 6 days ago

vvb2060 commented 1 month ago
osm0sis commented 1 month ago

app can't update itself right now either, hidden or unhidden; may be connected?

Edit: Or maybe not connected...

Log excerpt:

07-14 00:39:56.041  9741 13714 I okhttp.OkHttpClient: --> GET https://cdn.jsdelivr.net/gh/topjohnwu/magisk-files@ad9ae1442af88b56cf382f987624d823b897a72a/notes.md
07-14 00:39:56.060  9741 13714 I okhttp.OkHttpClient: <-- 200 https://cdn.jsdelivr.net/gh/topjohnwu/magisk-files@ad9ae1442af88b56cf382f987624d823b897a72a/notes.md (18ms, unknown-length body)
07-14 00:39:56.099  9741  9741 W TextView: onProvideContentCaptureStructure(): calling assumeLayout()
07-14 00:39:56.099  9741  9741 W TextView: onProvideContentCaptureStructure(): calling assumeLayout()
07-14 00:39:56.100  9741  9741 W TextView: onProvideContentCaptureStructure(): calling assumeLayout()
07-14 00:39:57.115  9741  9741 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda11@a5eddd9
07-14 00:39:57.125  9741 11748 D HWUI    : endAllActiveAnimators on 0xb4000070f4739700 (RippleDrawable) with handle 0xb400007264776920
07-14 00:39:57.260  9741 13714 I okhttp.OkHttpClient: --> GET https://cdn.jsdelivr.net/gh/topjohnwu/magisk-files@ad9ae1442af88b56cf382f987624d823b897a72a/app-debug.apk
07-14 00:39:57.355  9741 13714 D TrafficStats: tagSocket(145) with statsTag=0xffffffff, statsUid=-1
07-14 00:39:57.810  9741 13714 I okhttp.OkHttpClient: <-- 403 https://cdn.jsdelivr.net/gh/topjohnwu/magisk-files@ad9ae1442af88b56cf382f987624d823b897a72a/app-debug.apk (549ms, 49-byte body)
07-14 00:39:57.812  9741  9821 D CompatibilityChangeReporter: Compat change id reported: 247079863; UID 10434; state: ENABLED
07-14 00:39:57.813  9741  9821 E DownloadEngine$download: java.io.IOException: retrofit2.HttpException: HTTP 403 
07-14 00:39:57.813  9741  9821 E DownloadEngine$download:   at com.topjohnwu.magisk.core.repository.NetworkService.fetchFile(NetworkService.kt:82)
07-14 00:39:57.813  9741  9821 E DownloadEngine$download:   at com.topjohnwu.magisk.core.repository.NetworkService$fetchFile$1.invokeSuspend(Unknown Source:15)
07-14 00:39:57.813  9741  9821 E DownloadEngine$download:   at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
07-14 00:39:57.813  9741  9821 E DownloadEngine$download:   at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
07-14 00:39:57.813  9741  9821 E DownloadEngine$download:   at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
07-14 00:39:57.813  9741  9821 E DownloadEngine$download:   at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
07-14 00:39:57.813  9741  9821 E DownloadEngine$download:   at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
07-14 00:39:57.813  9741  9821 E DownloadEngine$download:   at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
07-14 00:39:57.813  9741  9821 E DownloadEngine$download:   at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
07-14 00:39:57.813  9741  9821 E DownloadEngine$download:   at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
07-14 00:39:57.813  9741  9821 E DownloadEngine$download: Caused by: retrofit2.HttpException: HTTP 403 
07-14 00:39:57.813  9741  9821 E DownloadEngine$download:   at retrofit2.KotlinExtensions$await$2$2.onResponse(KotlinExtensions.kt:53)
07-14 00:39:57.813  9741  9821 E DownloadEngine$download:   at retrofit2.OkHttpCall$1.onResponse(OkHttpCall.java:164)
07-14 00:39:57.813  9741  9821 E DownloadEngine$download:   at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519)
07-14 00:39:57.813  9741  9821 E DownloadEngine$download:   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
07-14 00:39:57.813  9741  9821 E DownloadEngine$download:   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
07-14 00:39:57.813  9741  9821 E DownloadEngine$download:   at java.lang.Thread.run(Thread.java:1012)

Attempting to manually go to https://cdn.jsdelivr.net/gh/topjohnwu/magisk-files@ad9ae1442af88b56cf382f987624d823b897a72a/app-debug.apk gives the error: File size exceeded the configured limit of 20 MB.

The app has indeed crept from 18.8mb to 22mb in the last few debug canaries.

lssong99 commented 1 month ago

Yes. Not able to update APP with hidden...