Androidacy / WebviewManager-Module

WebView Manager is a magisk module to change your webview and browser to one of your choice.
https://www.androidacy.com
Other
83 stars 9 forks source link

Still fails to install #6

Closed mrzapp closed 2 years ago

mrzapp commented 2 years ago

When trying to install this module from the Magisk manager, the installer fails and outputs this to the log:

Module: WebviewManager v10
Device: motorola Moto G (5S) Plus (sanders)
ROM: RQ3A.210705.001, sdk30
[INFO]: Initializing API with paramaters: ,
[INFO]: Building client and exporting variables
[INFO]: Starting tokens initialization
[WARN]: Couldn't find API credentials. If this is a first run, this warning can be safely ignored.
wget: server returned error: HTTP/1.1 404 Not Found
cat: can't open '/sdcard/androidacy.json': No such file or directory
[INFO]: Exporting token
[INFO]: Starting tokens validation
wget: server returned error: HTTP/1.1 401 Unauthorized
[WARN]: Got invalid response when trying to validate token!
[INFO]: Restarting process in 1
[INFO]: Starting tokens initialization
[WARN]: Couldn't find API credentials. If this is a first run, this warning can be safely ignored.
wget: server returned error: HTTP/1.1 404 Not Found
cat: can't open '/sdcard/androidacy.json': No such file or directory
[INFO]: Exporting token
[INFO]: Starting tokens validation
wget: server returned error: HTTP/1.1 401 Unauthorized
[WARN]: Got invalid response when trying to validate token!
[INFO]: Restarting process in 2
[INFO]: Starting tokens initialization
[WARN]: Couldn't find API credentials. If this is a first run, this warning can be safely ignored.
wget: server returned error: HTTP/1.1 404 Not Found
cat: can't open '/sdcard/androidacy.json': No such file or directory
[INFO]: Exporting token
[INFO]: Starting tokens validation
wget: server returned error: HTTP/1.1 401 Unauthorized
[WARN]: Got invalid response when trying to validate token!
[INFO]: Restarting process in 3
[INFO]: Starting tokens initialization
[WARN]: Couldn't find API credentials. If this is a first run, this warning can be safely ignored.
wget: server returned error: HTTP/1.1 404 Not Found
cat: can't open '/sdcard/androidacy.json': No such file or directory
[INFO]: Exporting token
[INFO]: Starting tokens validation
wget: server returned error: HTTP/1.1 401 Unauthorized
[WARN]: Got invalid response when trying to validate token!
[ERROR]: Failed to validate token after 3 attempts. Aborting.

I'm just guessing here, but it seems like it's trying to fetch some API credentials, but the request fails with a 404 Not Found, so all subsequent requests fail with 401 Unauthorized, because the credentials are missing.

github-actions[bot] commented 2 years ago

Thanks for your contribution! Please keep in mind we will get to this issue when we have a chance. Logs and device information are mandatory if you do not want your issue closed without response.

androidacy-user commented 2 years ago

Are you absolutely sure you have the latest version? None of the team can reproduce, and we have user reports from two days back that this was fixed.

androidacy-user commented 2 years ago

You're definitely not using the latest version , as the credentials is now in /sdcard/.androidacy/credentials.json. Please try with the latest version and open a new issue if you still have problems.