r/revancedapp • u/NotAnOwlOrAZebra • Jul 08 '25
🆘Question Getting an 'Error loading page: 401' when trying to open up Reddit Sync. Anyone else with this issue?
As the title says. Am I cooked?
731
Upvotes
•
u/oSumAtrIX Team Jul 09 '25 •
The fix is pushed to dev. Reddit likes to break so much.
175
u/Albuyeh Jul 08 '25 edited Jul 09 '25
2025-07-09 Update: Fix has been pushed to development release of Revanced. Go to Revanced Manager settings and select use pre-release. Update the patches and spoof client_id like normal. Leaving my instructions below for anyone who still wants to patch manually.
Edit: Issue seems to be found at https://github.com/ReVanced/revanced-patches/issues/5387#issuecomment-3050530834. Looks like it is beause it makes call to https://ssl.reddit.com/api/v1/access_token instead of https://www.reddit.com/api/v1/access_token
Edit2: Instructions if you want to apply this fix yourself.
classes.dexfile and open in notepad++ or any other text editor (Be wary of using VS code. Some people have said "Don't re-encode the .dex as UTF-8, just edit and save. Notepad++ reads the file as ANSI".) The file will look weird and have strange symbols, don't worry about it. (Also if you're using Sync Pro or another reddit app, you may have to do Step 3&4 for the otherclasses#.dexfiles)ssl.reddit.comwithwww.reddit.com(there should be 5 instances)classes.dexto the apk (dragging and dropping in WinRAR worked)53
u/_lunala_ Jul 08 '25 edited Jul 08 '25
I also said this in the GitHub issue, but thought I'd mention here they aren't targeting Sync. The auth URL changed from
https://ssl.reddit.com/api/v1/access_tokentohttps://www.reddit.com/api/v1/access_token, so Sync receives a 301 redirect, but when it makes the request again tohttps://www.reddit.com/api/v1/access_token, it doesn't include the client ID, so a simple patch is needed to change the URL.58
u/jackruby83 Member Jul 08 '25
Nooooooo (Reddit without Sync is ass)
29
u/DizzyWeb Jul 08 '25
Yep, same. Sure as hell hope this doesn't spell the end of using sync, it'd pretty much make Reddit unusable on mobile for me...
14
u/TapedeckNinja Jul 08 '25
I'm seeing the same thing.
12
u/Arklese1zure Jul 08 '25
Holy crap I didn't expect so many people were still using Sync.
Could it be just a server-side hiccup? I think it's too soon to say that this specific app is being targeted.
12
u/Independent_Tank3817 Jul 09 '25
From the GitHub: "I can confirm that this is the cause of the issue. I replaced all instances of ssl.reddit.com with www.reddit.com in the classes.dex file, patched the APK and can now use Sync for Reddit again. Thanks!"
It would be nice if I wasn't computer illiterate and could figure out how to do this on my own.
10
u/muffinanomaly Jul 09 '25
I love that this broke for enough people that it showed up on down detector and I just assumed reddit was down
https://downdetector.com/status/reddit/
9
u/levite805 Jul 09 '25
I was able to fix my sync using the instructions found on the GitHub issue straight from my phone without having to do anything on a PC.
Note: I found MT Manager on apkmirror
Note 2: didn't have to uninstall Sync, just patched it though Revanced Manager and updated it
17
u/next_door_nicotine Jul 08 '25
What's it been, 2 years now since the app-pocalypse?
I didn't expect to make it this long, but if this is truly it then it has been an honor, Sync 🫡😭
8
u/Tiffylani Jul 08 '25
Yep same here!
8
u/DurianLongan Jul 08 '25
Were cooked
15
u/EmotionalKirby Jul 08 '25
reposting my comment from the post 15 min ago that was deleted
"yup, been doomscrolling for 4 hours so it was nice to get a reprieve from that. now i can spend a bunch of time researching and finagling and pulling my hair out to browse reddit mobilely again.
EDIT - i just tried going to https://www.reddit.com/prefs/apps and deleting my app. made a new app and set the redirect url to http://redditsync/auth (which cant be reached from my desktop, unsure if its always like that or if related). i then repatched sync with revanced manager using the new oath code it provides for the new app, and it still shows error 401 when i launch sync. :( :("
7
u/internetaddict1197 Jul 08 '25
Hope this can be fixed... Don't want to use reddit without Sync...
7
u/CamzoUK Jul 08 '25
I think Reddit pushed out a bad update which has broken the front-page, it's just showing suggested posts rather than what's subscribed currently.
I wouldn't be surprised if that's related to this as well since it can't load anything it should normally be able to.
7
u/Trigunesq Jul 09 '25
Follow the instructions from Abolfazl on guithub:
I can confirm this works
7
u/SupaZT Jul 09 '25
Can anyone just link my the correct APK file with the modified classes.dex?
7
u/LarnPatrong Jul 09 '25
I'm unable to sign in - getting error messages: "Something went wrong. Please try again." followed by "Server error. Try again later." (whenever I'm not entering unknown username and password).
I've been following the guide from Albuyeh, but using 7zip as I'm not allowed to install winrar on my work computer, and seem to have those steps working either case. And following this guide for the rest: https://github.com/KobeW50/ReVanced-Documentation/blob/main/Reddit-Client-ID-Guide.md#info, using the classes.dex-modified apk.
There were no instances of ssl.reddit.com in the classes2.dex nor classes3.dex-files, only in the main one.
I uninstalled my version of Sync before applying patch and reinstalling.
The troubleshooting portion in the github guide isn't helping, as I've followed every step exactly, and double checked, twice, even generating new client ID twice and trying over.
Any advice? I can't stand Reddit's Android app, so I'm really hoping for some assistance. (Will ask in the ReVanced telegram thread as well, and update here if I get any wiser). Thanks!
7
u/starsky1357 Jul 09 '25 edited Jul 09 '25
I've tried to make this as clear as possible for anyone struggling!
401 errors are being encountered on Sync for Reddit today. This is because Reddit has changed one of the URLs for authentication from ssl.reddit.com to www.reddit.com. As Sync no longer receives updates, you will need to manually address this.
• You can find it here. (https://www.apkmirror.com/apk/red-apps-ltd/sync-for-reddit/sync-for-reddit-v23-06-30-1339-release/sync-for-reddit-v23-06-30-1339-2-android-apk-download/download)
2. Rename the file you just downloaded to
sync.zip. Ignore any warnings about the file being damaged, you are intentionally changing the file extension from .apk to .zip.• If using macOS/Linux You may wish to use the Terminal to do this (with
mv), otherwise use your file explorer (Files/Finder).3. Extract the zip so that you end up with a folder called
sync.• On macOS, you can do this just by double-clicking the zip. The
syncfolder will appear next to the zip.• On Windows, you can right-click the zip, select "Extract all" and select "Extract" on the popup.
• If you have the
unzippackage, you can just rununzip sync.zip.4. Open your Terminal.
• On macOS, you can use Spotlight Search (Cmd+Spacebar) to search for "Terminal".
• On Windows, open the Start Menu and search for "PowerShell".
• On most Linux distros, press Ctrl+Alt+T.
5. Change the
classes.dexfile inside the extracted folder (sync)• On macOS/Linux, copy and paste the command
LC_CTYPE=C sed 's/ssl\.reddit\.com/www.reddit.com/g' classes.dex > tmp && mv tmp classes.dex• On Windows (in PowerShell), copy and paste the command
(Get-Content classes.dex) -replace 'ssl\.reddit\.com', 'www.reddit.com' | Set-Content classes.dex6. Update the
.dexfile in the.zipfile.• On macOS/Linux, move the updated
.dexfile into the compressed.zip.zip sync.zip classes.dex• On Windows, copy the
classes.dexfile from the folder, go up to thesync.zipfile and double-click it to go inside. Then paste theclasses.dexfile so that it overwrites the one in the.zip.7. Rename your
sync.zipfile tosync_mod.apk. You are changing the.zipback to a.apk.Now you can use
sync_mod.apkwith the regular ReVanced tutorial on patching Sync! https://docs.google.com/document/d/1wHvqQwCYdJrQg4BKlGIVDLksPN0KpOnJWniT6PbZSrI/edit?usp=sharing5
u/kloptzkkloptz Jul 08 '25
Not like this
5
u/bisonrbig Jul 08 '25
Same here. Was hoping the API is down or something but super bummed to hear it's just sync. Hopefully someone can figure out a solution, the Reddit app sucks.
5
u/BoyWhoCrapped Jul 09 '25
Anyone able to login? I can't
9
u/Enchantress619 Jul 08 '25
I'm trying Continuum now and it's working great.
https://github.com/cygnusx-1-org/continuum
4
u/Flash93933 Jul 08 '25
Damn this just might be the end
4
u/Capt_Obviously_Slow Jul 08 '25 edited Jul 08 '25
Same...
Seems like the redirect link is not working anymore: http://redditsync/auth
Maybe JD didn't renew it or Reddit revoked his auth or I just don't know what the hell I'm talking 😔
Edit: yeah I was talking out of my ass - it's an URI.
4
u/Mrbubbles153 Jul 08 '25
Noooooooooooooooooooooo!!!, I was mid scroll and then BOOM Error 401....I hope it's not gone. I've had this app for absolute ages. Probably ever since it released.
4
u/eternal_peril Jul 09 '25
Fixed, patched and back
Boy that was a tough few hours lol
4
u/AhogadoEnImpuestos Jul 09 '25
Is it necessary to do all these steps by myself if I ever want the app to work again, or can I just wait for a Revanced patch or something?
4
u/tookdrums Jul 09 '25
I'm happy to see that people are still using and maintaining this.
3
u/Nikla3310 Jul 08 '25
Same
3
u/Apart-Two6495 Jul 08 '25
Yep also seeing this issue. Highly annoying. I guess there's nothing much that can be done but wait I guess?
3
u/mcclanenr1 Jul 08 '25
same here. hopefully it can be fixed again.
3
u/Highgasm Jul 08 '25
Same here. Hopefully it gets fixed soon. Reddit without sync is terrible
3
u/Paraless Jul 08 '25
I lost all hope today
3
u/NotAgedWell Jul 08 '25
Oh no. Was hoping it was just me. I was afraid that this would happen someday. Here's hoping for a fix but this might just break my Reddit addiction if not.
3
u/[deleted] Jul 08 '25
Wow I felt so alone until I found this thread lol
3
u/IAmAnAnonymousCoward Jul 08 '25
It was a matter of time :(
3
u/hipery2 Jul 08 '25
I'm going to keep an eye on this thread.
3
u/Puripuri_Purizona Jul 09 '25
Me too! Please let us know if there is a fix!
3
u/Demonhotrod Jul 09 '25
Thank you everyone for working on this so quickly! My Reddit addiction appreciates it immensely!
3
u/JohanGrimm Jul 09 '25 edited Jul 09 '25
Having the login issue with Sync after doing the fix, app works fine but cannot login despite details being correct. Had the same issue when Boost broke and was subsequently fixed which lead me to just abandon it.
Just to go over what I've already done:
Either get a standard incorrect username/password or server error. Only thing I haven't tried obviously is waiting days or weeks which supposedly has worked for some people in the past.
Getting burnt out here.
Edit: It was a WebView issue. Updated Chrome and Google just to be safe and it works now.
3
u/IhatewhatIsee Jul 09 '25
Ive followed the steps multiple times for baconreader. The app works but login gets a "Target host must not be null" error. I deleted and recreated my app. Any ideas on what is going on?
3
u/Nopski Jul 10 '25
Still getting the 401 :(
5
u/Dead_End_Street Jul 08 '25
Lost my beloved RIF the other week.. my condolences to all
4
u/Ghostttpro Jul 10 '25
To anyone struggling after reading these comments. When you are spoofing the client. Put the name of the ID Thingy.
I remember placing the ID Thingy. When we first set it up we had to put that ID in a separate file and then and then link it.
This time just put the name of the ID
2
u/Cthulhus_cuck Jul 08 '25
Same, could be they changed link formatting and we need to wait for a patch, happened before https://lemmy.eco.br/post/2818698/4858177
2
u/Jazzlike-Compote4463 Jul 08 '25
Damn, I was kinda hoping this was just me :(
2
u/reddit_-is_retarded Jul 08 '25
Oh boy
2
u/RtHonJamesHacker Jul 08 '25
Same. Looks like I'm using the mobile browser from now, I'm sure as hell not using the official app unless it's patched beyond recognition.
2
u/RoosterVking Jul 08 '25
Same rip
2
u/BlastMyself3356 Jul 08 '25
Well guys,it was a good run for me and us. Time to dust off Infinity ReVanced/Continuum because that's the only thing close enough to Sync in terms of UX/UI,and it has the nice bonus of still not being abandoned.
2
u/altacct3 Jul 08 '25
Anyone else getting this error trying to setup a new app under https://www.reddit.com/prefs/apps?
Was trying to set up continuum.
"You cannot create any more applications if you are a developer on 1 or more applications, reach out to us if you believe you need to be a developer on more applications: https://support.reddithelp.com/hc/en-us/requests/new?ticket_form_id=14868593862164"
2
u/amoretpax199 Jul 08 '25
Hopefully, it will get fixed soon.
2
u/sbfse inotia00/revanced-manager Jul 09 '25 edited Jul 09 '25
patiently waiting for a new revanced patch for Sync, using the stock patched version suuuucks. 🙏
edit: used the MT Manager method posted above, working just fine now!
2
u/just4747 Jul 09 '25
Same here
2
u/macetheface Jul 09 '25
revanced baconreader down too.
2
u/BeginningFew8188 Jul 09 '25
Same issue
2
u/Strykah Jul 09 '25
I've had to download the terrible official Reddit app because sync isn't working anymore.
Do we know if it's permanently gone?
2
u/yosephwu Jul 09 '25
Not able to log in. App works with newly created and alt accounts but I can't log in with my main for some reason. Run into an "Error: Invalid request to Oauth API" even after setting the client_id and following the steps replacing ssl.reddit.com, revanced patches, etc.
2
u/Motor-Bid-4164 Jul 09 '25
Anyway to patch this, or is manually changing the url the only way? Don't have access to a computer for a while :)
2
u/TheCancerMan Jul 09 '25
I found a way to log in successfully when you're getting "incorrect password/login) and everything seems to work.
Fucking webview is the problem, it has to be at least version 131. I just have installed android webview beta from play store and tested on both Sync and Continuum
Welcome back Sync
2
u/Shatterpoint Jul 09 '25 edited Jul 10 '25
Dumb questions but, after the fix has been pushed to the ReVanced app, I'm not getting an option to (re)install sync when I have the API downloaded.
Any advice?
EDIT: I forgot to install the Sync API before I attempted to patch it. That solved my issue.
2
u/smokeey Jul 09 '25
The pre release patch still isn't working. I even went and made a new app for a new oath code and still 😔
1
u/Saavik33 Jul 08 '25
Same here...
1
u/STomato Jul 08 '25
Same thing here. I'm hoping it is just a hiccup...
1
u/OreOfChlorophyte Jul 08 '25
same here
1
u/howling92 Jul 08 '25
No God please no
1
u/alok1nanda Jul 08 '25
Same here...
1
u/GorillaX Jul 08 '25
Nooooooooooooooo
1
u/OMGsuperHAX Jul 08 '25
Oh no
1
u/haha_12 Jul 08 '25
Stopping by from RIF.
Ok, I'm not trying to jinx it.
1
u/awesomeocelot12 Jul 08 '25
Same here, I'm hoping someone is able to find a workaround or fix soon!
1
u/Dr_doener Jul 08 '25
Please no
1
u/soaringspoon Jul 08 '25
Same rip :|
1
u/YouAreWhatYouEet Jul 08 '25
Same here :(((
1
u/QXPZ Jul 08 '25
nooooooooooooooo
1
u/SonOfZork Jul 08 '25
Hard down too. Sad times.
1
u/JesusTalksToMuch Jul 08 '25
Yes sir. Same here.
1
u/gullzway Jul 08 '25
$H#T
1
u/ShadowedMage Jul 08 '25
I will still hope that a fix can be found, but if not...
It was a good run. Sync was one of the best.
1
u/Anoniemeer Jul 08 '25
Been using this app for 8/9 years please fix! :(. F reddit Sync
1
u/BreitGrotesk Jul 08 '25
It's over ;_;
1
u/toughlovekb Jul 09 '25
Is their a guide on how to use revanaced with Reddit
I have searched and can't find squat
1
u/DurianLongan Jul 09 '25
Youre clutch bro thanks
1
u/jimmeyotoole Jul 09 '25 edited Jul 09 '25
Anyone run into issues installing the modified APK?
I loaded it via gDrive, and I just get a simple "android app not installed as package appears to be invalid" error. Tried via ADB install and I got another fail error. "adb install apk failure INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from ... base.apk: META-INF/BNDLTOOL.SF indicates /data/app/vmdl1641918790.tmp/base.apk is signed using APK Signature Scheme v2, but no such signature was found. Signature stripped?]"
This is with manually modified dex file as well as the limewire uploaded one linked. I thought their might be a left over data file from me uninstalling it or something?
I'm running Android 15 on Color 15.
Edit - NVM! Turns out that revanced will zip-align and fix the issues once you create the local patch. I usually installed the APK first and patched the existing one creating a new apk and re-installed it. Leaving my question for anyone that runs into it.
1
u/Ok_Snow_2427 Jul 09 '25
Meklale fidga tg xiaoxiaois
1
u/MessyRoad Jul 09 '25
do i have to patch it myself or i can wait to get fixed? i'm not that tech savy
1
u/AhogadoEnImpuestos Jul 09 '25
I followed the steps to patch the app and it worked, but now it crashes every time I click on an image (holding works tho). Does anybody have the same issue?
1
u/VidGaMeR777 Jul 09 '25
Anyone know how to fix it now crashing when trying to open a post? I edited the files from ssl and that worked but any time I try to open a picture or something it immediately crashes.
1
u/ddulz Jul 09 '25 edited Jul 09 '25
For some reason I uninstall sync earlier, now after applying fix that everybody mentions, I cant log in at all. Some says just use mobile data, yeah can't do that, this is tablet with wifi only.
Edit: yeah latest update doesnt work either, some says to update webview, can't do that either, this is cheapass amazon tablet.
I guess I have to use other 3rd party client because they have a feature to login from normal browser. Would be bongkers honestly if revanced team could do that instead, but I did not see that happening.
1
u/[deleted] Jul 09 '25
Why does my sync app save as a file after exiting MT manager?
Therefore cannot install as APK, any advice thanks.
1
u/Leahkim_ Jul 09 '25
I'm still having issues with this. I've tried re-downloading the apk every time, using MT manager as well as editing the classes.dex on my pc and moving it over. I've downloaded it fresh, patched it, changed the 5 classes instances, then install. I've updated revanced to 1.25. I'm using the 06 30 version of the apk. Everything results in 401 when I launch the app though. Has the oauth spoof changed recently? I've tried putting the developed app text directly into the patcher, as well as pointing it towards the .txt file but nothings works
1
u/Aarpnation Jul 09 '25
MT Manager lets you make changes and reinstall the APK right from your phone, so no computer or patching required.
1
u/friz_beez Jul 09 '25
just wanted to say thanks to everyone who posted fixes for this. worked like a charm.
1
u/iamthestigscousin Jul 09 '25
I fucking 💕 Android.
Not only can you keep apps going after they've officially been killed, but you can even open parts of them up and change a few text strings manually when they break to get them going again.
1
u/andrewapicture Jul 10 '25
Anyone getting an error when trying to open YouTube on sync? Something like it saying you need the YouTube app even though you have it downloaded?
1
u/Leahkim_ Jul 10 '25
Yeah I'm using the pre-relase revanced, made sure I grabbed the right apk, patched it with no errors, used MT to change the 5 instances, went back to revanced to install, still getting 401 error
1
u/Quantum_TF2 Jul 10 '25
No longer getting a 401 error with the new patch but when I log in I get sent to this screen. https://files.catbox.moe/jo2nct.jpg any idea on how to fix? spoof and video download patches seem to fail due to "Failed to match the fingerprint" errors.
1
u/Tyre_4770 Jul 10 '25
...I thought sync was dead?
1
u/Xedriell Jul 10 '25
Just patched and fix is working well, thank you!
1
u/desi_dybuk Jul 10 '25
Used the patch. Everything works now. Thanks to all the talented devs!
1
u/Nopski Jul 10 '25
Can anyone download gifs? Before it's not working but now I'm able to download them again...
1
u/TheLeftAlone Jul 10 '25
Tysm for fixing the thunbnail issue as well!
1
u/DDozar Jul 11 '25
I patched the app with Revanced and my app client ID, the app now functions properly but I'm not signed in and can't figure out if it's a Client ID issue or I'm just an idiot and can't find the sign-in prompt?
1
u/erto66 Jul 12 '25
Does anybody have an idea how to fix 'Error: Invalid request to Oauth API'?
The url is setup to 'http://redditsync/auth', did something change with that after the fix?
Otherwise Sync is working fine, just cannot sign in.
1
u/doritos101 Jul 12 '25 edited Jul 12 '25
Anyone else having trouble getting Favorites to appear in the drawer? Unfavoriting and favoriting subreddits doesn't help, they just won't appear in the side drawer.
I backed upp all Sync's settings on the old patch, uninstalled it, installed the newly patched app and restored.
Edit: nevermind, found a setting I've never used before. In the search bar of the drawer, three dots > Selection Visibility. Favorites was unchecked somehow.
1
u/d-RLY Jul 13 '25
I have to be doing some part of this wrong. I have tried installing both the main and dev versions of ReVanced and have tried with "use pre-releases" and not toggling it on. I have made sure to pull down on the main screen of ReVanced and verified that the patches change log has had both the current one of 5.31.2-dev and the main version of 5.31.1 (used with both the main and dev release of the manager). Still get 401 and the OAuth sign-in error if I try to add my account.
Also tried the MT manager (with the steps that incredible-derp posted) to edit the classes.dex file to manually (with the steps Albuyeh provided) replace the ssl.reddit to www.reddit.com and then running it through ReVanced. I even went into the reddit perfs apps page on my desktop and deleted the old Installed App and made a new one (with the sync/auth present). Changed the "reddit_client_id_revanced.txt" to have my new app ID from the perfs/app page on reddit.
I have tried clearing the 401 errored Sync for Reddit app before uninstalling to remove as much left over data as I can. Then re-patched the initial clean copy of the apk (and have tried both patching the installed version and clean version). Still 401 and OAuth sign-in errors when getting past the initial setup of the Sync app. Also have tried all the above on my Galaxy S24 Ultra, Galaxy Tab S8+, and my Pixel Tablet (both the S24U and the Pixel Tablet never had Sync installed before). I also noticed that a few times I have seen the patcher show a bunch of extra text while doing the patch. But most of the time I get just text stating successes as it applies the different patches and when it signs the app before offering to install or update the app (depending on if running clean install or with the previous attempts respectfully).
I am losing my mind because I just can figure out what parts aren't working (including whatever actions I might be missing). It is awesome to see that so many people have somehow gotten it to work. But really sucks that it refuses to work on any of my devices. I think that back when the original patches came out to keep the app working after the purges might have had issues doing the patch on my tablet and worked on my via my old Galaxy Tab S2. Then I copied the apk to my tablet and was able to install (but I can't remember). I am wondering if I should ask for someone to upload a working copy that has the ssl.reddit parts working and run ReVanced to add my "reddit_client_id_revanced" in the spoof. But that of course opens up chances for a malware version.
Can anyone offer suggestions or steps that they may have done to get it to work after having to try a bunch of times?
1
u/iamazondeliver Jul 17 '25
can't log in
1
u/melecoaze Aug 14 '25
If someone has done everything and is still getting the 401 error: I had a space in the end of my ID in the spoof client thing. After removing the space it worked lol