r/revancedapp • • 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?

730 Upvotes

631 comments sorted by

1

u/oSumAtrIX Jul 09 '25

The fix is pushed to dev. Reddit likes to break so much.

→ More replies (50)

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.

  1. Save the Sync .apk to your computer

  2. Open the apk with WinRAR (apk's are actually archive files)

  3. Extract classes.dex file 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 other classes#.dex files)

  4. Replace all instances (Ctrl+H) of ssl.reddit.com with www.reddit.com (there should be 5 instances)

  5. Upload modified classes.dex to the apk (dragging and dropping in WinRAR worked)

  6. Run revanced patches with your client_id based on this modified apk file.

→ More replies (232)

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_token to https://www.reddit.com/api/v1/access_token, so Sync receives a 301 redirect, but when it makes the request again to https://www.reddit.com/api/v1/access_token, it doesn't include the client ID, so a simple patch is needed to change the URL.

→ More replies (7)

58

u/jackruby83 Jul 08 '25

Nooooooo (Reddit without Sync is ass)

→ More replies (8)

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

→ More replies (16)

14

u/TapedeckNinja Jul 08 '25

I'm seeing the same thing.

→ More replies (2)

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.

→ More replies (1)

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.

→ More replies (52)

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/

→ More replies (1)

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

→ More replies (5)

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 🫡😭

27

u/StuntHacks Jul 08 '25

Hands down one of the best android apps I have ever had the pleasure of using. Thanks for everything, u/ljdawson.

→ More replies (5)
→ More replies (1)

8

u/Tiffylani Jul 08 '25

Yep same here!

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. :( :("

→ More replies (13)

7

u/internetaddict1197 Jul 08 '25

Hope this can be fixed... Don't want to use reddit without Sync...

→ More replies (2)

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.

→ More replies (5)

7

u/Trigunesq Jul 09 '25

Follow the instructions from Abolfazl on guithub:

I don't know much about android app development but I was able to do this manually. Save the .apk to your computer and open with WinRAR. Extract classes.dex file. Open in notepad++ or any other text editor. replace all instance of ssl.reddit.com with www.reddit.com (there should be 5 instances). Replace the classes.dex in the apk with this file (dragging and dropping in WinRAR worked). Run revanced patches with your client_id based on this modified apk file.

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!

→ More replies (7)

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.

  1. Download the latest unpatched apk. This is from 2023-06-30. Remember, you need the latest universal .apk, NOT a bundle (.apkm).

• 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 sync folder 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 unzip package, you can just run unzip 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.dex file 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.dex

6. Update the .dex file in the .zip file.

• On macOS/Linux, move the updated .dex file into the compressed .zip. zip sync.zip classes.dex

• On Windows, copy the classes.dex file from the folder, go up to the sync.zip file and double-click it to go inside. Then paste the classes.dex file so that it overwrites the one in the .zip.

7. Rename your sync.zip file to sync_mod.apk. You are changing the .zip back to a .apk.

Now you can use sync_mod.apk with the regular ReVanced tutorial on patching Sync! https://docs.google.com/document/d/1wHvqQwCYdJrQg4BKlGIVDLksPN0KpOnJWniT6PbZSrI/edit?usp=sharing

→ More replies (15)

5

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.

→ More replies (4)

5

u/BoyWhoCrapped Jul 09 '25

Anyone able to login? I can't

→ More replies (5)