T-REX-XP / RRManager

RRManager is a Redpill Recovery DSM application aimed to provide the ability to configure/update RR without booting to RR recovery. This package is for experienced users.
304 stars 40 forks source link

After installation, it gets stuck after startup #45

Open Diluka opened 1 month ago

Diluka commented 1 month ago

rr: 24.7.1 manager: 2.0.68

image

SYNOCOMMUNITY.RRManager.AppInstance launch failed:  TypeError: Cannot read properties of null (reading 'rr_manager_config')

Uncaught SyntaxError: Unexpected end of JSON input

/webman/3rdparty/rr-manager/webapi/getRrReleaseInfo.cgi this request return empty content

# curl https://api.github.com/repos/RROrg/rr/releases/latest
curl: (35) error:0A000410:SSL routines::sslv3 alert handshake failure

python deps maybe install failed, check /var/log/packages/rr-manager.log

solution

add -x (--proxy) option to curl, modify file /var/packages/rr-manager/target/app/scripts/getRrReleaseInfo.cgi https://github.com/T-REX-XP/RRManager/blob/8d3c5542c72a7f9947fbe892f7b656c1bcedf110/src/scripts/getRrReleaseInfo.cgi#L16

LanceTsen commented 1 month ago

How to modify? --> response=$(curl -s -x "${URL}") ?

Diluka commented 1 month ago

I use ssh and nano to modify this file 发自我的 iPhone

在 2024年9月6日,下午2:35,Lance Tsen @.***> 写道:



How to modify? --> response=$(curl -s -x "${URL}") ?

— Reply to this email directly, view it on GitHubhttps://github.com/T-REX-XP/RRManager/issues/45#issuecomment-2333346613, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA4XORBCNBYQPKPFULER2HLZVFELZAVCNFSM6AAAAABNUZVADCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZTGM2DMNRRGM. You are receiving this because you authored the thread.Message ID: @.***>

LanceTsen commented 1 month ago

The problem is due to github cannot be accessed directly from China and need to set proxy. response=$(curl -s -x 'proxyserver address':'port'--proxy-user 'youname':'password' "${URL}")