RedReader icon indicating copy to clipboard operation
RedReader copied to clipboard

Reddit share links don't always work

Open nascentt opened this issue 1 year ago • 16 comments

Eg trying to open the linked post within https://reddit.com/comments/18t6so1 is impossible in stable and alpha.

nascentt avatar Dec 29 '23 13:12 nascentt

Works for me -- I get taken to a comment by /u/CrushTheVIX. What happens for you?

QuantumBadger avatar Dec 29 '23 15:12 QuantumBadger

Hmm really? Nothing happens. No error, no event. It's as if nothing is clicked. No issue clicking the link in the top comment:

"For anyone who can't deal with this new reddit link bullshit, here it is"

https://reddit.com/comments/18t6so1/comment/kfcu5tm?context=3

I get the same issue on the stable and alpha clients. Same issue clicking any link in the post here. https://reddit.com/comments/18trndr

nascentt avatar Dec 29 '23 18:12 nascentt

Ok I think I've figured out that for some reason share links don't work for me with a VPN on redreader, but all other Reddit links do. Because redreader doesn't display any error trying to navigate to the link it makes it difficult to be sure. But if I switch to 4g and turn off VPN then the links from op seems to work. Note the links work fine on a VPN on a web browser. It's specific to redreader.

However aside from all the links that do nothing when clicked like above, there are still some links that redreader tries to open but is unable to such as the link https://www.reddit.com/u/nfl/s/lEELicbadc within the post https://reddit.com/r/OutOfTheLoop/comments/198kyd2/what_is_the_deal_with_this_lady_and_why_is_she_in/ Regardless of connection

nascentt avatar Jan 17 '24 09:01 nascentt

To work around this until it's fixed, I've been long pressing everything, View in External browser, then copy and paste the link from chrome back into redreader as a comment and then I can navigate there.

As a bonus my comments with the normal links benefit others too.

It's sad that it's still so challenging browsing reddit from redreader, but I'm sure it's all by design from reddit to kill 3rd party apps forever.

nascentt avatar Feb 11 '24 21:02 nascentt

This continues to be a daily struggle. I end up opening every post in External Browser where the links load without issue. Really hate having to use a web browser on mobile 50% of the time when I want to use RedReader.

If a browser is able to load the link, I'm not really sure why RedReader is unable to invoke it.

nascentt avatar Jul 03 '24 20:07 nascentt

@nascentt Do you have any links other than the above (https://www.reddit.com/u/nfl/s/lEELicbadc) that don't work please? I suspect the issue is that the app is handling /r/.../s/ links but not /u/.../s/ links, in which case I'll take a look at this issue once the album changes are merged into master.

QuantumBadger avatar Jul 04 '24 21:07 QuantumBadger

It's tricky to share them because if I visit them they don't load on redreader, but if I share them in browser they expand into proper links so I lose the short share link. Essentially, if I go to any subreddit that posts links to other subreddits like r/bestof and long press a post and see it's a share link it's guaranteed to not open.
(first 3 I found: https://www.reddit.com/r/Teachers/s/Q0DXkqKHpp https://www.reddit.com/r/politics/s/HtZeUSZP1s https://www.reddit.com/r/sysadmin/s/eIcOSck6W5)

Anything with a full/traditional link will work without issue. I've yet to find a /r/shortlink that works - just zero visual feedback, it's like I didn't click anything.

/u/share links instead do have a visual feedback, but just continually open in a loop (such as your u/nfl link) it's harder for me to find u/sharelinks to test though.

If you have any URLs you want me to test i'd be happy to test them and report my experience.

nascentt avatar Jul 04 '24 22:07 nascentt

Thanks @nascentt, but all the links above work correctly for me, including when I go to /r/bestof and click them there.

I can reproduce the loop/crash when visiting the nfl link above, and I should be able to fix that. But without more information about the issue you're seeing (or the ability to reproduce it) there's not much I can do.

Do you see the following error in your system logcat?

Failed to resolve redirect URL

At some point I'll modify the app to show an error dialog with more details on failure, but in the meantime you should see the above log message.

QuantumBadger avatar Jul 05 '24 17:07 QuantumBadger

Not really sure what I'm looking for.

:/ $ system logcat /system/bin/sh: system: inaccessible or not found 127|:/ $ logcat --------- beginning of main 07-05 19:02:51.770 21677 21677 E pal.androidter: Not starting debugger since process cannot load the jdwp agent. 07-05 19:02:51.788 21677 21677 E USNET : USNET: appName: jackpal.androidterm 07-05 19:02:51.812 21677 21677 D ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument 07-05 19:02:51.852 21677 21677 D ActivityThread: setConscryptValidator 07-05 19:02:51.860 21677 21677 D ActivityThread: setConscryptValidator - put --------- beginning of system 07-05 19:02:51.909 21677 21677 D ActivityThread: handleBindApplication()++ app=jackpal.androidterm 07-05 19:02:51.915 21677 21677 D CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10753; state: DISABLED 07-05 19:02:51.968 21677 21677 D ApplicationLoaders: Returning zygote-cached class loader: /system/framework/android.test.base.jar 07-05 19:02:52.063 21677 21677 V GraphicsEnvironment: ANGLE Developer option for 'jackpal.androidterm' set to: 'default'07-05 19:02:52.064 21677 21677 V GraphicsEnvironment: App is not on the allowlist for updatable production driver. 07-05 19:02:52.068 21677 21677 D LoadedApk: LoadedApk::makeApplication() appContext.mOpPackageName=jackpal.androidterm appContext.mBasePackageName=jackpal.androidterm 07-05 19:02:52.069 21677 21677 D NetworkSecurityConfig: No Network Security Config specified, using platform default 07-05 19:02:52.079 21677 21677 D NetworkSecurityConfig: No Network Security Config specified, using platform default 07-05 19:02:52.081 21677 21677 D ActivityThread: handleBindApplication() -- 07-05 19:02:52.115 21677 21784 D OpenGLRenderer: RenderThread::requireGlContext() 07-05 19:02:52.187 21677 21677 V Term : onCreate 07-05 19:02:52.206 21677 21784 I libEGL : EGL_ANDROID_blob_cache_path advertised, but unable to get eglSetBlobCachePathANDROID 07-05 19:02:52.240 21677 21677 I DecorView: [INFO] isPopOver=false, config=true 07-05 19:02:52.240 21677 21677 I DecorView: updateCaptionType >> DecorView@2d03b0f[], isFloating=false, isApplication=true, hasWindowControllerCallback=true, hasWindowDecorCaption=false 07-05 19:02:52.240 21677 21677 D DecorView: setCaptionType = 0, this = DecorView@2d03b0f[] 07-05 19:02:52.271 21677 21784 D OpenGLRenderer: RenderThread::setGrContext() 07-05 19:02:52.319 21677 21677 I DecorView: getCurrentDensityDpi: from real metrics. densityDpi=480 msg=resources_loaded07-05 19:02:52.485 21677 21677 I ViewRootImpl@e8163fc[Term]: setView = com.android.internal.policy.DecorView@2d03b0f TM=true 07-05 19:02:52.503 21677 21677 D CompatibilityChangeReporter: Compat change id reported: 160794467; UID 10753; state: DISABLED 07-05 19:02:52.527 21677 21677 D Term : TermService started 07-05 19:02:52.529 21677 21677 I TermService: Activity called onBind() 07-05 19:02:52.582 21677 21677 I ViewRootImpl@e8163fc[Term]: Relayout returned: old=(0,122,1080,2131) new=(0,0,1080,2009) req=(1080,2009)0 dur=29 res=0x100007 s={true 3989103296} ch=true fn=-1 07-05 19:02:52.587 21677 21784 D hw-ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument 07-05 19:02:52.589 21677 21784 D OpenGLRenderer: eglCreateWindowSurface 07-05 19:02:52.597 21677 21677 I ViewRootImpl@e8163fc[Term]: [DP] dp(1) 1 android.view.ViewRootImpl.reportNextDraw:11374 android.view.ViewRootImpl.performTraversals:4167 android.view.ViewRootImpl.doTraversal:2893 07-05 19:02:52.598 21677 21886 I Gralloc4: mapper 4.x is not supported 07-05 19:02:52.599 21677 21886 W Gralloc3: mapper 3.x is not supported 07-05 19:02:52.620 21677 21886 I gralloc : Arm Module v1.0 07-05 19:02:52.631 21677 21886 W Gralloc4: allocator 4.x is not supported 07-05 19:02:52.632 21677 21886 W Gralloc3: allocator 3.x is not supported 07-05 19:02:52.821 21677 21677 I ViewRootImpl@e8163fc[Term]: [DP] pdf(0) 1 android.view.ViewRootImpl.lambda$addFrameCompleteCallbackIfNeeded$3$ViewRootImpl:4969 android.view.ViewRootImpl$$ExternalSyntheticLambda16.run:6 android.os.Handler.handleCallback:938 07-05 19:02:52.821 21677 21677 I ViewRootImpl@e8163fc[Term]: [DP] rdf() 07-05 19:02:52.821 21677 21677 D ViewRootImpl@e8163fc[Term]: reportDrawFinished (fn: -1) 07-05 19:02:52.827 21677 21677 I Term : Bound to TermService 07-05 19:02:52.828 21677 21677 I TermService: Activity binding to service 07-05 19:02:53.092 21677 21677 I ViewRootImpl@e8163fc[Term]: MSG_WINDOW_FOCUS_CHANGED 1 1 07-05 19:02:53.099 21677 21677 D InputMethodManager: startInputInner - Id : 0 07-05 19:02:53.099 21677 21677 I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus 07-05 19:02:53.172 21677 21677 D InputMethodManager: startInputInner - Id : 0 07-05 19:02:53.785 21677 21677 D InsetsController: show(ime(), fromIme=true) 07-05 19:02:53.793 21677 21677 D InsetsSourceConsumer: setRequestedVisible: visible=true, type=19, host=jackpal.androidterm/jackpal.androidterm.Term, from=android.view.InsetsSourceConsumer.show:235 android.view.InsetsController.showDirectly:1489 android.view.InsetsController.controlAnimationUnchecked:1137 android.view.InsetsController.applyAnimation:1456 android.view.InsetsController.applyAnimation:1437 android.view.InsetsController.show:976 android.view.ViewRootImpl$ViewRootHandler.handleMessageImpl:6457 android.view.ViewRootImpl$ViewRootHandler.handleMessage:6382 android.os.Handler.dispatchMessage:106 android.os.Looper.loopOnce:226 07-05 19:02:53.833 21677 21715 I pal.androidter: Background young concurrent copying GC freed 8190(633KB) AllocSpace objects, 6(120KB) LOS objects, 91% free, 2297KB/26MB, paused 140us,48us total 126.265ms 07-05 19:02:54.720 21677 21677 V InputMethodManager: dispatchKeyEventFromInputMethod: KeyEvent=KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_S, scanCode=0, metaState=0, flags=0x6, repeatCount=0, eventTime=3321526682, downTime=3321526682, deviceId=-1, source=0x101, displayId=-1 } 07-05 19:02:54.720 21677 21677 V InputMethodManager: dispatchKeyEventFromInputMethod: KeyEvent=KeyEvent { action=ACTION_UP, keyCode=KEYCODE_S, scanCode=0, metaState=0, flags=0x6, repeatCount=0, eventTime=3321526687, downTime=3321526682, deviceId=-1, source=0x101, displayId=-1 } 07-05 19:02:54.720 21677 21677 I ViewRootImpl@e8163fc[Term]: ViewPostIme key 0 07-05 19:02:54.721 21677 21677 I ViewRootImpl@e8163fc[Term]: ViewPostIme key 1 07-05 19:02:54.883 21677 21677 V InputMethodManager: dispatchKeyEventFromInputMethod: KeyEvent=KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_Y, scanCode=0, metaState=0, flags=0x6, repeatCount=0, eventTime=3321526851, downTime=3321526851, deviceId=-1, source=0x101, displayId=-1 } 07-05 19:02:54.884 21677 21677 V InputMethodManager: dispatchKeyEventFromInputMethod: KeyEvent=KeyEvent { action=ACTION_UP, keyCode=KEYCODE_Y, scanCode=0, metaState=0, flags=0x6, repeatCount=0, eventTime=3321526852, downTime=3321526851, deviceId=-1, source=0x101, displayId=-1 } 07-05 19:02:54.884 21677 21677 I ViewRootImpl@e8163fc[Term]: ViewPostIme key 0 07-05 19:02:54.884 21677 21677 I ViewRootImpl@e8163fc[Term]: ViewPostIme key 1 07-05 19:02:55.085 21677 21677 V InputMethodManager: dispatchKeyEventFromInputMethod: KeyEvent=KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_S, scanCode=0, metaState=0, flags=0x6, repeatCount=0, eventTime=3321527052, downTime=3321527052, deviceId=-1, source=0x101, displayId=-1 } 07-05 19:02:55.085 21677 21677 I ViewRootImpl@e8163fc[Term]: ViewPostIme key 0 07-05 19:02:55.086 21677 21677 V InputMethodManager: dispatchKeyEventFromInputMethod: KeyEvent=KeyEvent { action=ACTION_UP, keyCode=KEYCODE_S, scanCode=0, metaState=0, flags=0x6, repeatCount=0, eventTime=3321527052, downTime=3321527052, deviceId=-1, source=0x101, displayId=-1 } 07-05 19:02:55.086 21677 21677 I ViewRootImpl@e8163fc[Term]: ViewPostIme key 1 07-05 19:02:55.112 21677 21677 V InputMethodManager: dispatchKeyEventFromInputMethod: KeyEvent=KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_T, scanCode=0, metaState=0, flags=0x6, repeatCount=0, eventTime=3321527081, downTime=3321527081, deviceId=-1, source=0x101, displayId=-1 } 07-05 19:02:55.112 21677 21677 V InputMethodManager: dispatchKeyEventFromInputMethod: KeyEvent=KeyEvent { action=ACTION_UP, keyCode=KEYCODE_T, scanCode=0, metaState=0, flags=0x6, repeatCount=0, eventTime=3321527081, downTime=3321527081, deviceId=-1, source=0x101, displayId=-1 } 07-05 19:02:55.112 21677 21677 I ViewRootImpl@e8163fc[Term]: ViewPostIme key 0 07-05 19:02:55.112 21677 21677 I ViewRootImpl@e8163fc[Term]: ViewPostIme key 1 07-05 19:02:55.435 21677 21677 D InputMethodManager: startInputInner - Id : 0 07-05 19:02:55.436 21677 21677 I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus 07-05 19:02:55.439 21677 21677 V InputMethodManager: dispatchKeyEventFromInputMethod: KeyEvent=KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_E, scanCode=0, metaState=0, flags=0x6, repeatCount=0, eventTime=3321527253, downTime=3321527253, deviceId=-1, source=0x101, displayId=-1 } 07-05 19:02:55.439 21677 21677 V InputMethodManager: dispatchKeyEventFromInputMethod: KeyEvent=KeyEvent { action=ACTION_UP, keyCode=KEYCODE_E, scanCode=0, metaState=0, flags=0x6, repeatCount=0, eventTime=3321527253, downTime=3321527253, deviceId=-1, source=0x101, displayId=-1 } 07-05 19:02:55.482 21677 21677 I libjackpal-androidterm: JNI_OnLoad 07-05 19:02:55.510 21677 22074 I Term : waiting for: 22060 07-05 19:02:55.539 21677 21677 V InputMethodManager: dispatchKeyEventFromInputMethod: KeyEvent=KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_M, scanCode=0, metaState=0, flags=0x6, repeatCount=0, eventTime=3321527393, downTime=3321527393, deviceId=-1, source=0x101, displayId=-1 } 07-05 19:02:55.539 21677 21677 V InputMethodManager: dispatchKeyEventFromInputMethod: KeyEvent=KeyEvent { action=ACTION_UP, keyCode=KEYCODE_M, scanCode=0, metaState=0, flags=0x6, repeatCount=0, eventTime=3321527393, downTime=3321527393, deviceId=-1, source=0x101, displayId=-1 } 07-05 19:02:55.539 21677 21677 I ViewRootImpl@e8163fc[Term]: ViewPostIme key 0 07-05 19:02:55.541 21677 21677 I ViewRootImpl@e8163fc[Term]: ViewPostIme key 1 07-05 19:02:55.561 21677 21677 I ViewRootImpl@e8163fc[Term]: ViewPostIme key 0 07-05 19:02:55.561 21677 21677 I ViewRootImpl@e8163fc[Term]: ViewPostIme key 1 07-05 19:02:55.665 21677 21677 D InsetsController: show(ime(), fromIme=true) 07-05 19:03:03.507 21677 21677 W IInputConnectionWrapper: requestCursorAnchorInfo on inactive InputConnection 07-05 19:03:03.950 21677 22344 I IMM_LC : hsifw() - flags=0, caller=android.view.inputmethod.InputMethodManager.hideSoftInputFromWindow:1846 android.view.inputmethod.InputMethodManager.hideSoftInputFromWindow:1815 jackpal.androidterm.Term$5.run:622 <bottom of call stack> <bottom of call stack> 07-05 19:03:03.950 21677 22344 I IMM_LC : hsifw() ignore mServedView == null or mServedView.getWindowToken() != windowToken, mServedView :0 07-05 19:03:04.031 21677 21677 I ViewRootImpl@e8163fc[Term]: handleAppVisibility mAppVisible=true visible=false 07-05 19:03:04.058 21677 21784 D OpenGLRenderer: setSurface called with nullptr 07-05 19:03:04.058 21677 21784 D OpenGLRenderer: setSurface() destroyed EGLSurface 07-05 19:03:04.058 21677 21784 D OpenGLRenderer: destroyEglSurface 07-05 19:03:04.082 21677 21677 I ViewRootImpl@e8163fc[Term]: Relayout returned: old=(0,0,1080,2009) new=(0,0,1080,2009) req=(1080,2009)8 dur=14 res=0x100005 s={false 0} ch=true fn=40 07-05 19:03:04.116 21677 21677 I ViewRootImpl@e8163fc[Term]: stopped(true) old=false 07-05 19:03:04.185 21677 21677 I ViewRootImpl@e8163fc[Term]: MSG_WINDOW_FOCUS_CHANGED 0 1 07-05 19:03:19.542 21677 21677 I ViewRootImpl@e8163fc[Term]: handleAppVisibility mAppVisible=false visible=true 07-05 19:03:19.558 21677 21784 D OpenGLRenderer: setSurface called with nullptr 07-05 19:03:19.638 21677 21677 I ViewRootImpl@e8163fc[Term]: Relayout returned: old=(0,0,1080,2009) new=(0,0,1080,2009) req=(1080,2009)4 dur=79 res=0x100001 s={false 0} ch=false fn=-1 07-05 19:03:19.646 21677 21677 I ViewRootImpl@e8163fc[Term]: stopped(false) old=true 07-05 19:03:19.748 21677 21677 I ViewRootImpl@e8163fc[Term]: stopped(false) old=false 07-05 19:03:19.753 21677 21677 I DecorView: notifyKeepScreenOnChanged: keepScreenOn=false 07-05 19:03:19.761 21677 21784 D OpenGLRenderer: setSurface called with nullptr 07-05 19:03:19.848 21677 21677 I ViewRootImpl@e8163fc[Term]: Relayout returned: old=(0,0,1080,2009) new=(0,0,1080,2009) req=(1080,2009)0 dur=15 res=0x100007 s={true 3989103296} ch=true fn=-1 07-05 19:03:19.861 21677 21677 I ViewRootImpl@e8163fc[Term]: [DP] dp(1) 1 android.view.ViewRootImpl.reportNextDraw:11374 android.view.ViewRootImpl.performTraversals:4167 android.view.ViewRootImpl.doTraversal:2893 07-05 19:03:19.869 21677 21784 D OpenGLRenderer: eglCreateWindowSurface 07-05 19:03:19.947 21677 21677 I ViewRootImpl@e8163fc[Term]: [DP] pdf(0) 1 android.view.ViewRootImpl.lambda$addFrameCompleteCallbackIfNeeded$3$ViewRootImpl:4969 android.view.ViewRootImpl$$ExternalSyntheticLambda16.run:6 android.os.Handler.handleCallback:938 07-05 19:03:19.947 21677 21677 I ViewRootImpl@e8163fc[Term]: [DP] rdf() 07-05 19:03:19.947 21677 21677 D ViewRootImpl@e8163fc[Term]: reportDrawFinished (fn: -1) 07-05 19:03:19.947 21677 21677 I Term : Bound to TermService 07-05 19:03:19.948 21677 21677 I TermService: Activity binding to service 07-05 19:03:20.019 21677 21677 I ViewRootImpl@e8163fc[Term]: MSG_WINDOW_FOCUS_CHANGED 1 1 07-05 19:03:20.022 21677 21677 D InputMethodManager: startInputInner - Id : 0 07-05 19:03:20.022 21677 21677 I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus 07-05 19:03:20.157 21677 21677 D InsetsController: show(ime(), fromIme=true) 07-05 19:03:26.790 21677 21677 I ViewRootImpl@e8163fc[Term]: The input has been finished in ImeInputStage. 07-05 19:03:26.838 21677 21677 I ViewRootImpl@e8163fc[Term]: The input has been finished in ImeInputStage. 07-05 19:03:26.842 21677 21677 D InsetsSourceConsumer: setRequestedVisible: visible=false, type=19, host=jackpal.androidterm/jackpal.androidterm.Term, from=android.view.InsetsSourceConsumer.hide:242 android.view.ImeInsetsSourceConsumer.hide:68 android.view.ImeInsetsSourceConsumer.hide:74 android.view.InsetsController.hideDirectly:1473 android.view.InsetsController.controlAnimationUnchecked:1139 android.view.InsetsController.applyAnimation:1456 android.view.InsetsController.applyAnimation:1437 android.view.InsetsController.hide:1006 android.view.ViewRootImpl$ViewRootHandler.handleMessageImpl:6461 android.view.ViewRootImpl$ViewRootHandler.handleMessage:6382 07-05 19:03:27.055 21677 21677 I IMM_LC : notifyImeHidden 07-05 19:03:29.885 21677 21677 I ViewRootImpl@e8163fc[Term]: ViewPostIme pointer 0 07-05 19:03:31.257 21677 21677 I ViewRootImpl@e8163fc[Term]: ViewPostIme pointer 1 07-05 19:03:32.533 21677 21677 I ViewRootImpl@e8163fc[Term]: MSG_WINDOW_FOCUS_CHANGED 0 1 07-05 19:03:32.988 21677 21677 I ViewRootImpl@e8163fc[Term]: handleAppVisibility mAppVisible=true visible=false 07-05 19:03:32.991 21677 23066 I IMM_LC : hsifw() - flags=0, caller=android.view.inputmethod.InputMethodManager.hideSoftInputFromWindow:1846 android.view.inputmethod.InputMethodManager.hideSoftInputFromWindow:1815 jackpal.androidterm.Term$5.run:622 <bottom of call stack> <bottom of call stack> 07-05 19:03:32.991 21677 23066 I IMM_LC : hideSoftInputFromWindow - mService.hideSoftInput 07-05 19:03:33.001 21677 21784 D OpenGLRenderer: setSurface called with nullptr 07-05 19:03:33.001 21677 21784 D OpenGLRenderer: setSurface() destroyed EGLSurface 07-05 19:03:33.005 21677 21784 D OpenGLRenderer: destroyEglSurface 07-05 19:03:33.022 21677 21677 I ViewRootImpl@e8163fc[Term]: Relayout returned: old=(0,0,1080,2009) new=(0,0,1080,2009) req=(1080,2009)8 dur=5 res=0x100005 s={false 0} ch=true fn=63 07-05 19:03:33.035 21677 21677 I ViewRootImpl@e8163fc[Term]: stopped(true) old=false 07-05 19:03:33.085 21677 21677 D InputTransport: Input channel destroyed: 'ClientS', fd=107 07-05 19:03:42.287 21677 21677 I ViewRootImpl@e8163fc[Term]: stopped(false) old=true 07-05 19:03:42.370 21677 21677 I ViewRootImpl@e8163fc[Term]: stopped(false) old=false 07-05 19:03:42.374 21677 21677 I DecorView: notifyKeepScreenOnChanged: keepScreenOn=false 07-05 19:03:42.376 21677 21677 I ViewRootImpl@e8163fc[Term]: handleAppVisibility mAppVisible=false visible=true 07-05 19:03:42.378 21677 21784 D OpenGLRenderer: setSurface called with nullptr 07-05 19:03:42.414 21677 21677 I ViewRootImpl@e8163fc[Term]: Relayout returned: old=(0,0,1080,2009) new=(0,0,1080,2009) req=(1080,2009)0 dur=17 res=0x100007 s={true 3989103296} ch=true fn=-1 07-05 19:03:42.426 21677 21677 I ViewRootImpl@e8163fc[Term]: [DP] dp(1) 1 android.view.ViewRootImpl.reportNextDraw:11374 android.view.ViewRootImpl.performTraversals:4167 android.view.ViewRootImpl.doTraversal:2893 07-05 19:03:42.428 21677 21784 D OpenGLRenderer: eglCreateWindowSurface 07-05 19:03:42.464 21677 21677 I ViewRootImpl@e8163fc[Term]: [DP] pdf(0) 1 android.view.ViewRootImpl.lambda$addFrameCompleteCallbackIfNeeded$3$ViewRootImpl:4969 android.view.ViewRootImpl$$ExternalSyntheticLambda16.run:6 android.os.Handler.handleCallback:938 07-05 19:03:42.464 21677 21677 I ViewRootImpl@e8163fc[Term]: [DP] rdf() 07-05 19:03:42.464 21677 21677 D ViewRootImpl@e8163fc[Term]: reportDrawFinished (fn: -1) 07-05 19:03:42.465 21677 21677 I Term : Bound to TermService 07-05 19:03:42.465 21677 21677 I TermService: Activity binding to service 07-05 19:03:42.549 21677 21677 I ViewRootImpl@e8163fc[Term]: MSG_WINDOW_FOCUS_CHANGED 1 1 07-05 19:03:42.556 21677 21677 D InputMethodManager: startInputInner - Id : 0 07-05 19:03:42.557 21677 21677 I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus 07-05 19:03:42.778 21677 21677 D InsetsController: show(ime(), fromIme=true) 07-05 19:03:42.779 21677 21677 D InsetsSourceConsumer: setRequestedVisible: visible=true, type=19, host=jackpal.androidterm/jackpal.androidterm.Term, from=android.view.InsetsSourceConsumer.show:235 android.view.InsetsController.showDirectly:1489 android.view.InsetsController.controlAnimationUnchecked:1137 android.view.InsetsController.applyAnimation:1456 android.view.InsetsController.applyAnimation:1437 android.view.InsetsController.show:976 android.view.ViewRootImpl$ViewRootHandler.handleMessageImpl:6457 android.view.ViewRootImpl$ViewRootHandler.handleMessage:6382 android.os.Handler.dispatchMessage:106 android.os.Looper.loopOnce:226 07-05 19:03:56.455 21677 21677 I ViewRootImpl@e8163fc[Term]: ViewPostIme pointer 0 07-05 19:03:57.056 21677 21677 I ViewRootImpl@e8163fc[Term]: ViewPostIme pointer 1 07-05 19:03:58.111 21677 21677 I ViewRootImpl@e8163fc[Term]: ViewPostIme pointer 0 07-05 19:03:58.562 21677 21677 I Dialog : mIsDeviceDefault = true, mIsSamsungBasicInteraction = false, isMetaDataInActivity = false 07-05 19:03:58.604 21677 21677 D CompatibilityChangeReporter: Compat change id reported: 171228096; UID 10753; state: ENABLED 07-05 19:03:58.627 21677 21677 I DecorView: [INFO] isPopOver=false, config=false 07-05 19:03:58.627 21677 21677 I DecorView: updateCaptionType >> DecorView@8fdc366[], isFloating=true, isApplication=false, hasWindowControllerCallback=false, hasWindowDecorCaption=false 07-05 19:03:58.627 21677 21677 D DecorView: setCaptionType = 0, this = DecorView@8fdc366[] 07-05 19:03:58.645 21677 21677 D ScrollView: initGoToTop 07-05 19:03:58.651 21677 21677 D ScrollView: initGoToTop 07-05 19:03:58.750 21677 21677 I ViewRootImpl@a9ab223[Term]: setView = com.android.internal.policy.DecorView@8fdc366 TM=true 07-05 19:03:58.829 21677 21677 I ViewRootImpl@a9ab223[Term]: Relayout returned: old=(0,122,1080,2131) new=(0,990,1080,2009) req=(1080,1019)0 dur=17 res=0x100007 s={true 3989167776} ch=true fn=-1 07-05 19:03:58.831 21677 21784 D OpenGLRenderer: eglCreateWindowSurface 07-05 19:03:58.839 21677 21677 D AbsListView: in onLayout changed 07-05 19:03:58.843 21677 21677 I ViewRootImpl@a9ab223[Term]: [DP] dp(1) 1 android.vi

nascentt avatar Jul 05 '24 18:07 nascentt

@nascentt Could you try the following please? (straight after seeing the issue)

logcat -d | grep -C 15 "Failed to resolve redirect URL"

QuantumBadger avatar Jul 05 '24 18:07 QuantumBadger

i get no output when I use that.

nascentt avatar Jul 05 '24 18:07 nascentt

Okay thanks for checking. I'll add some visual feedback to the failure cases in the next version.

QuantumBadger avatar Jul 05 '24 19:07 QuantumBadger

Alpha 353 fixes the /u/s/ issue, and adds an error dialog if a share link fails. Please give it a try and let me know what happens.

QuantumBadger avatar Jul 06 '24 14:07 QuantumBadger

I get "Redirect response not received".

More details: Http status 403 Message null

Can confirm I now get the same with a u/ sharelink instead of the redirect loop

nascentt avatar Jul 06 '24 14:07 nascentt

Thanks, I suspect the issue is that we're not including the Reddit auth headers with the redirect request. Weird that I can't reproduce this though.

QuantumBadger avatar Jul 06 '24 16:07 QuantumBadger