rovo89 / XposedInstaller

3.89k stars 1.51k forks source link

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

Open AmperAndSand opened 5 years ago

AmperAndSand commented 5 years ago

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.

Ibuprophen commented 5 years ago

@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

robbyoconnor commented 5 years ago

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

YtvwlD commented 5 years ago

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;

robbyoconnor commented 5 years ago

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

robbyoconnor commented 5 years ago

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

1213766282 commented 5 years ago

@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?

Younes-L commented 5 years ago

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 :)

AmperAndSand commented 5 years ago

@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.

xstar97 commented 5 years ago

@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

robbyoconnor commented 5 years ago

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.

xstar97 commented 5 years ago

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

On Sun, Mar 24, 2019 at 9:13 AM robbyoconnor notifications@github.com 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 .

robbyoconnor commented 5 years ago

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 commented 5 years ago

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

xstar97 commented 5 years ago

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.

qoheniac commented 5 years ago

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. :)

bluerex11178 commented 4 years ago

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

bluerex11178 commented 4 years ago

I have a lg e400 with cm9

xstar97 commented 4 years ago

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 notifications@github.com 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 .

bluerex11178 commented 4 years ago

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

digixmax commented 1 year ago

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.

bluerex11178 commented 1 year ago

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