Skip to content
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.

Desuarchive post links do not load (Wrong URL) #1097

Open
EgorkaSanyok opened this issue Jul 23, 2024 · 0 comments
Open

Desuarchive post links do not load (Wrong URL) #1097

EgorkaSanyok opened this issue Jul 23, 2024 · 0 comments

Comments

@EgorkaSanyok
Copy link

This issue is similar to #1051. I've noticed that any cross-links towards archived /g/ posts (or any board that has desuarchive as an archive) always lead to an error. For example, it seems to try loading desuarchive.org/g/101369167 but that is incorrect since 101369167 is the post number, not the thread number. The correct syntax seems to be https://desuarchive.org/g/post/101369167/
Below are the logs as well:

[E] 15:49:54.121 ChanThreadLoaderCoordinator Successfully recovered from network error (Bad status: 404 (BadStatusResponseException) ) 
[W] 15:49:54.135 SiteRequestModifier addCloudFlareCookie() cookieForDomain 'desuarchive.org' is null or empty: 'null' 
[E] 15:49:54.423 ShowPostsInExternalThreadHelper showPostsInExternalThread() Failed to load external thread 'TD{desuarchive.org/g/101369167}' 
Exception title: ChanLoaderException 
Exception message: androidx.compose.runtime.snapshots.SnapshotApplyConflictException: Thread not found.com.github.k1rakishou.chan.core.site.loader.ChanLoaderException: androidx.compose.runtime.snapshots.SnapshotApplyConflictException: Thread not found. 
at com.github.k1rakishou.chan.core.site.loader.ChanThreadLoaderCoordinator$loadThreadOrCatalog$2.invokeSuspend(SourceFile:80) 
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9) 
at kotlinx.coroutines.DispatchedTask.run(SourceFile:117) 
at androidx.work.Worker$2.run(SourceFile:32) 
at kotlinx.coroutines.scheduling.TaskImpl.run(SourceFile:3) 
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:96) 
Caused by: androidx.compose.runtime.snapshots.SnapshotApplyConflictException: Thread not found. 
at com.github.k1rakishou.chan.core.site.sites.foolfuuka.FoolFuukaApi$loadThreadFresh$2.invokeSuspend(SourceFile:123) 
at com.github.k1rakishou.chan.core.site.sites.foolfuuka.FoolFuukaApi$loadThreadFresh$2.invoke(SourceFile:13) 
at com.github.k1rakishou.chan.core.site.parser.ChanReader.readBodyJson(SourceFile:71) 
at com.github.k1rakishou.chan.core.site.sites.foolfuuka.FoolFuukaApi.loadThreadFresh(SourceFile:7) 
at com.github.k1rakishou.chan.core.site.loader.ChanThreadLoaderCoordinator.readPostsFromResponse(SourceFile:183) 
at com.github.k1rakishou.chan.core.site.loader.ChanThreadLoaderCoordinator$loadThreadOrCatalog$2.invokeSuspend(SourceFile:42) 
... 5 more ```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant