XposedInstaller icon indicating copy to clipboard operation
XposedInstaller copied to clipboard

Module update / download error: Downloading http://dl.xposed.info/repo.xml.gz failed: 302 (Moved Temporarily)

Open AmperAndSand opened this issue 5 years ago • 21 comments

I'm getting this error message when attempting to download or update Xposed modules in the Xposed Installer:

Downloading http://dl.xposed.info/repo.xml.gz failed: 302 (Moved Temporarily)

Using:
Xposed Installer v2.6.1
KitKat 4.4.2

I've cleared the app data of the Xposed Installer, but it didn't resolve the issue.

AmperAndSand avatar Feb 05 '19 03:02 AmperAndSand

@AmperAndSand, I had submitted a pull request regarding this on https://github.com/rovo89/XposedInstaller/pull/458 quite some time ago that had addressed this specific issue successfully and, unfortunately, it apparently went ignored.

I ended up closing it as a "wontfix" issue since @Rovo89 has not been active in Github for quite a long time.

Just an FYI...

~Ibuprophen

Ibuprophen avatar Feb 05 '19 21:02 Ibuprophen

Can you also edit the SQLite db where the URL is stored and it works perfectly.

robbyoconnor avatar Mar 09 '19 00:03 robbyoconnor

So, you need to run sqlite3 /data/data/de.robv.android.xposed.installer/no_backup/repo_cache.db and execute this statement: update repositories set url="https://dl.xposed.info/repo/full.xml.gz", partial_url="https://dl.xposed.info/repo/partial/%s.xml.gz" where _id=1;

YtvwlD avatar Mar 12 '19 09:03 YtvwlD

or just use https://play.google.com/store/apps/details?id=com.speedsoftware.sqleditor

robbyoconnor avatar Mar 12 '19 20:03 robbyoconnor

(I almost wrote an Xposed Module until I realized it was an even easier fix)

robbyoconnor avatar Mar 12 '19 20:03 robbyoconnor

@AmperAndSand, I had submitted a pull request regarding this on #458 quite some time ago that had addressed this specific issue successfully and, unfortunately, it apparently went ignored.

I ended up closing it as a "wontfix" issue since @rovo89 has not been active in Github for quite a long time.

Just an FYI...

~Ibuprophen

So how do you solve this problem?

1213766282 avatar Mar 24 '19 08:03 1213766282

I ran into this issue and months later I just installed the new 3.1.4 or 3.1.5 app, it works on KitKat just fine :)

Younes-L avatar Mar 24 '19 09:03 Younes-L

@AmperAndSand, I had submitted a pull request regarding this on #458 quite some time ago that had addressed this specific issue successfully and, unfortunately, it apparently went ignored. I ended up closing it as a "wontfix" issue since @rovo89 has not been active in Github for quite a long time. Just an FYI... ~Ibuprophen

So how do you solve this problem?

I installed @ibuprophen1's fixed version of the Xposed Installer (XDA Developers forums) which fixes the 301/302 error messages.

AmperAndSand avatar Mar 24 '19 12:03 AmperAndSand

@AmperAndSand @Younes-L @Ibuprophen1

This is my working progress on top of the original, there are so bugs but it works let me me know how it goes; https://github.com/Xstar97/XposedInstaller

My alt project will need to be built in Android studio....as the apk was not yet compiled

xstar97 avatar Mar 24 '19 12:03 xstar97

No need for a custom app -- just go into SQLIteEditor and change the http:// to https:// for both url and partial_url in the repositories table.

robbyoconnor avatar Mar 24 '19 13:03 robbyoconnor

well its a multi module project, core, tv, and mobile...written in kotlin mostly...

On Sun, Mar 24, 2019 at 9:13 AM robbyoconnor [email protected] wrote:

No need for a custom app -- just go into SQLIteEditor https://play.google.com/store/apps/details?id=com.speedsoftware.sqleditor and change the http:// to https://

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rovo89/XposedInstaller/issues/465#issuecomment-475957986, or mute the thread https://github.com/notifications/unsubscribe-auth/AI9un3VAxwHjbG4grkJlMep-4t6qfvJsks5vZ3n7gaJpZM4aierI .

xstar97 avatar Mar 24 '19 13:03 xstar97

Still -- I don't see a real need -- I fixed it by just editing the database :)

well its a multi module project, core, tv, and mobile...written in kotlin mostly...

robbyoconnor avatar Mar 24 '19 13:03 robbyoconnor

It's an option for those who don't want to install diff app -- the old one works just fine.

robbyoconnor avatar Mar 24 '19 13:03 robbyoconnor

My project is still original with slight tweaks to the UI, bottombar as the default nav and project structure.

Mobile and TV module are for UI only and the core is the base.

I only made it to make easier to migrate to different os's like Android TV

We should stop commenting because everyone is getting notified.

xstar97 avatar Mar 24 '19 13:03 xstar97

So, you need to run sqlite3 /data/data/de.robv.android.xposed.installer/no_backup/repo_cache.db and execute this statement: update repositories set url="https://dl.xposed.info/repo/full.xml.gz", partial_url="https://dl.xposed.info/repo/partial/%s.xml.gz" where _id=1;

Thank you very much! I simply threw this into Termux and it solved the problem in an instant. :)

qoheniac avatar Oct 24 '19 18:10 qoheniac

Can someone post a working version @Ibuprophen version either doesn't exist or work

bluerex11178 avatar Oct 30 '20 11:10 bluerex11178

I have a lg e400 with cm9

bluerex11178 avatar Oct 30 '20 11:10 bluerex11178

Try my variant, just a tune up and written in kotlin -> https://github.com/Xstar97/XposedInstaller

On Fri, Oct 30, 2020, 7:14 AM bluerex11178 [email protected] wrote:

I have a lg e400 with cm9

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rovo89/XposedInstaller/issues/465#issuecomment-719492628, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACHW5H3O65YDIVNHVCKIDE3SNKNYDANCNFSM4GUJ5LEA .

xstar97 avatar Oct 30 '20 21:10 xstar97

Try my variant, just a tune up and written in kotlin -> https://github.com/Xstar97/XposedInstaller On Fri, Oct 30, 2020, 7:14 AM bluerex11178 @.***> wrote: I have a lg e400 with cm9 — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#465 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACHW5H3O65YDIVNHVCKIDE3SNKNYDANCNFSM4GUJ5LEA .

Unfortunately i don't have a pc to do anything plus still a rookie so please provide me with a download link

bluerex11178 avatar Nov 02 '20 11:11 bluerex11178

I used SQLiteEditor to edit /data/data/de.robv.android.xposed.installer/no_backup/repo_cache.db and change "http" to "https" in url (there is no entry for partial url), and saved my edit. However, I still encountered the same error when rerunning the apk after the change, and when going back in SQLiteEditor found that my edited "https" got reverted back to "http"!

Any idea/pointer on why/how my edit got reverted?

TIA.

digixmax avatar Dec 21 '22 04:12 digixmax

I used SQLiteEditor to edit /data/data/de.robv.android.xposed.installer/no_backup/repo_cache.db and change "http" to "https" in url (there is no entry for partial url), and saved my edit. However, I still encountered the same error when rerunning the apk after the change, and when going back in SQLiteEditor found that my edited "https" got reverted back to "http"!

Any idea/pointer on why/how my edit got reverted?

TIA.

Here's a working version I remember this one was good and didn't need anything https://drive.google.com/file/d/1T_fQFL6zPPpVVZljQMhdG9JDPUuV9KGk/view?usp=drivesdk

bluerex11178 avatar Dec 21 '22 12:12 bluerex11178