r/Infinity_For_Reddit • • May 30 '24

Bug Infinity not loading posts

[removed]

181 Upvotes

106 comments sorted by

View all comments

119

u/Hostilenemy I am the dev May 30 '24 edited May 30 '24

Okay a fix is coming. You can go to GitHub to download the latest version if you don't want to wait. https://github.com/Docile-Alligator/Infinity-For-Reddit/releases/tag/v7.2.3

https://www.reddit.com/r/redditdev/comments/1d3spoc/error_getting_submitted_with_mobile_useragent/

Whatever the change was, it now propagates to all places, not only the user submitted posts.

No worries, a temporary workaround will be available very soon.

Sorry, it's Reddit's fault.

30

u/johnnay_h May 30 '24

Thanks for working on the fix! And sorry Reddit it making things difficult (again).

24

u/PanicCenter May 30 '24

Much appreciated, dev!

Even including all of the hiccups, this is a much nicer alternative to the main Reddit app.

9

u/Angus__Z May 30 '24 edited May 30 '24

Thanks for the quick work! However, I can't seem to use revanced to patch the app like I normally do

Edit: the Google Colab Script still works!

3

u/squirrelscrush May 30 '24

It shows an error with OAuth. It's night so I can't try out compiling by myself (it would take a long time to set up the correct settings + it's a lot of trial and error) but even when patching it up, there's a whole block of errors posting up

2

u/ThePropofologist May 30 '24

I had oauth error until I used apkmirror version of the apk rather than GitHub. Weird.

→ More replies (4)
→ More replies (1)

2

u/lerokko May 30 '24

Just tried it and the app works for me again after updating. One day I will stop using this website but that day ain't today!

→ More replies (8)

5

u/HexField1 May 30 '24

I downloaded the new version from above and it is not letting me login, it keeps giving me the error invalid request to oauth API. Is there a reason why and what is the fix for this?

3

u/Hostilenemy I am the dev May 30 '24

I am not sure. I can login without issue.

3

u/squirrelscrush May 30 '24 edited May 30 '24

I have a similar issue with it (using app patched with revanced manager): https://imgur.com/a/cC1FBg4

This is part of the log:

Spoof client failed: app.revanced.patcher.patch.PatchException: Failed to resolve APIUtilsFingerprint
at app.revanced.util.BytecodeUtilsKt.getException(BytecodeUtils.kt:26)
at app.revanced.patches.reddit.customclients.BaseSpoofClientPatch.execute$executePatch(BaseSpoofClientPatch.kt:44)
at app.revanced.patches.reddit.customclients.BaseSpoofClientPatch.execute(BaseSpoofClientPatch.kt:46)
at app.revanced.patches.reddit.customclients.BaseSpoofClientPatch.execute(BaseSpoofClientPatch.kt:11)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:190)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:292)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Unknown Source:2)
at kotlinx.coroutines.flow.AbstractFlow.collect(Unknown Source:71)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$patcherResult$1$2.invokeSuspend(Unknown Source:76)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:11)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:93)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(Unknown Source:46)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Unknown Source:23)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Unknown Source:73)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:0)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Unknown Source:6)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$34(Unknown Source:470)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$hTJfH-rv2j-9Y91G5H_L5jFDN6U(SourceFile:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda5.run(SourceFile:0)
at java.lang.Thread.run(Thread.java:1012)
→ More replies (5)

2

u/HexField1 May 30 '24 edited May 30 '24

I'll try logging in again and if there are still problems I'm just gonna go to sleep and wait for a fix. No need to rush dev take your time and appreciate what you're doing.

Edit 1: I tried logging in again and it's the same oauth API error message just like one person who commented below.

2

u/squirrelscrush May 30 '24

I also have a huge log of errors when I tried to patch it using revanced. Maybe that could be the issue?

Anyways it's okay if the issue isn't directly solved and takes some time, so the dev can focus on the permanent issue better.

→ More replies (6)
→ More replies (1)

3

u/IAMA_Printer_AMA May 30 '24

I'd like you to know that when I switched back from Android to iOS, instead of trading in I kept my old android phone SOLELY because your app is so superior to the reddit official app in every way I cannot browse reddit on mobile without it. I'm so addicted to reddit I've started to be able to barely contain my disgust enough to start browsing on the official app at work on my new phones and it feels dirty, like I'm cheating on Infinity. I came straight here to this sub as soon as infinity wasn't working this evening and applaud your dedication to the best kept secret in all social media

2

u/Thatsquacktastic16 May 30 '24

Would that mean I have to rebuild my own infinity again? 

2

u/gabwinone May 30 '24

Hi! So does that mean my subscription downloaded app will be working soon? (I don't know what "temporary workaround" means!)

3

u/Hostilenemy I am the dev May 30 '24

Yes you are right. A new version may be available to download on Google Play in less than an hour.

3

u/gabwinone May 30 '24

Super cool! Thanks...!

1

u/jtipt May 30 '24

Any insight into what the actual issue is? Any hope for other patched apps like Sync or Boost to work on thier own eventually (considering they aren't actively developed anymore)?

8

u/herecomeschake May 30 '24 edited May 30 '24

Not the dev, but based on the linked redditdev post and the latest GitHub commit by /u/Hostilenemy it looks like reddit might have blacklisted/whitelisted certain user-agent headers when handling API requests.

It looks like what /u/hostilenemy did was simply comment out the line that adds the user-agent header in the HTTP request, so i guess that would also work for fixing other apps, just remove user-agent header from requests and it might work.

8

u/Hostilenemy I am the dev May 30 '24

The issue is unclear because it's from Reddit itself. What happened was when the user agent had "Android" inside, reddit will redirect all the JSON API requests to an invalid URL.

If Reddit reverses this change, these apps will work again.

5

u/Antosino May 30 '24

...What? So wait, any API request referencing "Android" in the header is killed? That seems like a crazy, crazy thing to do

2

u/jtipt May 31 '24

Now just what might be the reason for reddit devs to do this, it's almost (certainly) as if they want to brick these 3rd party apps.

→ More replies (16)