Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

500 Error #23

Open
non-bin opened this issue Jun 28, 2023 · 1 comment
Open

500 Error #23

non-bin opened this issue Jun 28, 2023 · 1 comment

Comments

@non-bin
Copy link

non-bin commented Jun 28, 2023

Your server is probably down, is there a way to have curl show the response code in the magisk log? it only showed up in the log file for me

And is there a way we can support you, to help keep the servers running?

- Copying zip to temp directory
- Installing NFCScreenOff-v0.3.3.zip
- Current boot slot: _b
- Device is system-as-root
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: module.prop
****************
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: customize.sh
 NFC Screen Off 
****************
*******************
 Powered by Magisk 
*******************
- Extracting module files
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
   creating: bin/
  inflating: bin/zip
  inflating: bin/curl
  inflating: customize.sh
  inflating: module.prop
  inflating: service.sh
   creating: system/
  inflating: system/placeholder
-- Searching for NFC app in /system/app/ and /system/system_ext/app/ folders...
-- NfcNci.apk found!
-- Device info --
APK_NAME=NfcNci
MANUFACTURER=Google
MODEL=Pixel 4a
DEVICE=sunfish
ROM=ro.lineage.20.0
-----------------
-- Searching for NfcNci.apk backup...
-- NfcNci_bak.apk not found. Creating backup of original NfcNci.apk.
cp: can't stat '/system/app/NfcNci/oat/arm64/NfcNci.odex': No such file or directory
-- Searching for NfcNci.odex backup...
-- NfcNci_bak.odex not found. Creating backup of original NfcNci.odex.
-- Searching for NfcNci.vdex backup...
-- NfcNci_bak.vdex not found. Creating backup of original NfcNci.vdex.
cp: can't stat '/system/app/NfcNci/oat/arm64/NfcNci.vdex': No such file or directory
-- Searching for custom NfcNci.apk in extracted files...
-- NfcNci_align.apk not found.
-- Zipping NfcNci.apk and device's framework (/data/adb/modules_update/NFCScreenOff/bin/zip)
  adding: .env (stored 0%)
  adding: NfcNci.apk (deflated 21%)
  adding: framework-res.apk (deflated 40%)
-- Uploading device's apks for modding (/system/bin/curl), it may take a while (24Mb)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  5 24.3M    0     0    5 1344k      0   830k  0:00:30  0:00:01  0:00:29  830k
  6 24.3M    0     0    6 1664k      0   659k  0:00:37  0:00:02  0:00:35  659k
 32 24.3M    0     0   32 8000k      0  2343k  0:00:10  0:00:03  0:00:07 2343k
 49 24.3M    0     0   49 12.0M      0  2802k  0:00:08  0:00:04  0:00:04 2802k
 67 24.3M    0     0   67 16.5M      0  3119k  0:00:08  0:00:05  0:00:03 3518k
 87 24.3M    0     0   87 21.3M      0  3401k  0:00:07  0:00:06  0:00:01 4267k
100 24.3M    0     0  100 24.3M      0  3076k  0:00:08  0:00:08 --:--:-- 4166k
100 24.3M    0     0  100 24.3M      0  2738k  0:00:09  0:00:09 --:--:-- 2974k
100 24.3M    0     0  100 24.3M      0  2467k  0:00:10  0:00:10 --:--:-- 2209k
100 24.3M    0     0  100 24.3M      0  2245k  0:00:11  0:00:11 --:--:-- 1415k
100 24.3M    0     0  100 24.3M      0  2059k  0:00:12  0:00:12 --:--:--  552k
100 24.3M    0     0  100 24.3M      0  1902k  0:00:13  0:00:13 --:--:--     0
100 24.3M    0     0  100 24.3M      0  1767k  0:00:14  0:00:14 --:--:--     0
100 24.3M    0     0  100 24.3M      0  1650k  0:00:15  0:00:15 --:--:--     0
100 24.3M    0     0  100 24.3M      0  1548k  0:00:16  0:00:16 --:--:--     0
100 24.3M    0     0  100 24.3M      0  1457k  0:00:17  0:00:17 --:--:--     0
100 24.3M    0     0  100 24.3M      0  1377k  0:00:18  0:00:18 --:--:--     0
100 24.3M    0     0  100 24.3M      0  1305k  0:00:19  0:00:19 --:--:--     0
100 24.3M    0     0  100 24.3M      0  1240k  0:00:20  0:00:20 --:--:--     0
100 24.3M    0     0  100 24.3M      0  1181k  0:00:21  0:00:21 --:--:--     0
100 24.3M    0     0  100 24.3M      0  1128k  0:00:22  0:00:22 --:--:--     0
100 24.3M    0     0  100 24.3M      0  1079k  0:00:23  0:00:23 --:--:--     0
100 24.3M    0     0  100 24.3M      0  1034k  0:00:24  0:00:24 --:--:--     0
100 24.3M    0     0  100 24.3M      0   993k  0:00:25  0:00:25 --:--:--     0
100 24.3M    0     0  100 24.3M      0   955k  0:00:26  0:00:26 --:--:--     0
100 24.3M    0     0  100 24.3M      0   920k  0:00:27  0:00:27 --:--:--     0
100 24.3M    0     0  100 24.3M      0   887k  0:00:28  0:00:28 --:--:--     0
100 24.3M    0     0  100 24.3M      0   881k  0:00:28  0:00:28 --:--:--     0
curl: (22) The requested URL returned error: 500
-- Classic modding failed, trying odex strategy
-- Adding whole framework folder and odex/vdex files to archive
	zip warning: name not matched: /dev/tmp/NfcNci.odex
	zip warning: name not matched: /dev/tmp/NfcNci.vdex
  adding: .env (stored 0%)
  adding: NfcNci.apk (deflated 21%)
  adding: arm64/ (stored 0%)
  adding: arm64/boot-framework.vdex (deflated 52%)
  adding: arm64/boot-framework.art (deflated 33%)
  adding: arm64/boot-framework-graphics.art (deflated 92%)
  adding: arm64/boot-okhttp.art (deflated 31%)
  adding: arm64/boot-core-icu4j.art (deflated 26%)
  adding: arm64/boot-apache-xml.art (deflated 96%)
  adding: arm64/boot-okhttp.oat (deflated 59%)
  adding: arm64/boot-core-icu4j.vdex (deflated 44%)
  adding: arm64/boot-okhttp.vdex (deflated 42%)
  adding: arm64/boot.oat (deflated 58%)
  adding: arm64/boot-core-libart.vdex (deflated 44%)
  adding: arm64/boot-framework.oat (deflated 58%)
  adding: arm64/boot-framework-graphics.oat (deflated 94%)
  adding: arm64/boot-ims-common.vdex (deflated 48%)
  adding: arm64/boot-core-icu4j.oat (deflated 55%)
  adding: arm64/boot-apache-xml.oat (deflated 91%)
  adding: arm64/boot-voip-common.art (deflated 32%)
  adding: arm64/boot-voip-common.oat (deflated 90%)
  adding: arm64/boot-telephony-common.art (deflated 32%)
  adding: arm64/boot-ext.art (deflated 37%)
  adding: arm64/boot-telephony-common.oat (deflated 89%)
  adding: arm64/boot-ims-common.art (deflated 28%)
  adding: arm64/boot-apache-xml.vdex (deflated 49%)
  adding: arm64/boot-voip-common.vdex (deflated 51%)
  adding: arm64/boot-core-libart.oat (deflated 61%)
  adding: arm64/boot-telephony-common.vdex (deflated 58%)
  adding: arm64/boot.art (deflated 24%)
  adding: arm64/boot-ext.vdex (deflated 42%)
  adding: arm64/boot-core-libart.art (deflated 27%)
  adding: arm64/boot-ims-common.oat (deflated 92%)
  adding: arm64/boot-bouncycastle.vdex (deflated 52%)
  adding: arm64/boot-ext.oat (deflated 64%)
  adding: arm64/boot-bouncycastle.oat (deflated 63%)
  adding: arm64/boot-bouncycastle.art (deflated 25%)
  adding: arm64/boot-framework-graphics.vdex (deflated 31%)
  adding: arm64/boot.vdex (deflated 44%)
/
-- Uploading archive for odex modding (/system/bin/curl), it may take a while (14Mb)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  8 14.6M    0     0    8 1344k      0   866k  0:00:17  0:00:01  0:00:16  866k
 10 14.6M    0     0   10 1536k      0   701k  0:00:21  0:00:02  0:00:19  701k
 51 14.6M    0     0   51 7680k      0  2445k  0:00:06  0:00:03  0:00:03 2445k
 92 14.6M    0     0   92 13.5M      0  3353k  0:00:04  0:00:04 --:--:-- 3353k
100 14.6M    0     0  100 14.6M      0  2812k  0:00:05  0:00:05 --:--:-- 2925k
100 14.6M    0     0  100 14.6M      0  2367k  0:00:06  0:00:06 --:--:-- 2854k
100 14.6M    0     0  100 14.6M      0  2044k  0:00:07  0:00:07 --:--:-- 2616k
100 14.6M    0     0  100 14.6M      0  1798k  0:00:08  0:00:08 --:--:-- 1407k
100 14.6M    0     0  100 14.6M      0  1605k  0:00:09  0:00:09 --:--:--  210k
100 14.6M    0     0  100 14.6M      0  1449k  0:00:10  0:00:10 --:--:--     0
100 14.6M    0     0  100 14.6M      0  1419k  0:00:10  0:00:10 --:--:--     0
curl: (22) The requested URL returned error: 502
!! Odex strategy failed.
! Installation failed
@Jon8RFC
Copy link

Jon8RFC commented Jul 6, 2023

Curl v7.76.0 (currently using v7.64.1) can use --fail-with-body to display more info, if it's updated.

Unfortunately, I couldn't find anything close to the tiny file size (for curl or zip), and 6+megs is unreasonable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants