Message synchronization issue with snac2 as backend
Site
fedi.snikket.de
Version
2025.01.26.24f03f5
Instance
snikket.de/social
Browser
- Fennec fdroid 134.0.0 (Build #1340020), hg-b8005f63d9eb
Bug description
When the fediverse server is a snac instance, then Phanpy can only synchronize the last 40 messaages when on uses the catch up feature. Without catchup it is often less then 40 messages upon login. One can't scroll for further in the past and it will tell "the end" at the end of the website.
Some mastodon API clients like Androids tusky or fedilab work, but for an unknown reason Phanpy only can see the past few posts in the timeline. (up to 40)
To reproduce
Install snac2, install Phanpy. Interact a while to get some messages in the timeline. Try to scroll down, past the last 40 messages. It will say "the end" even if there are more messages in the timeline in reality.
Expected behavior
Show more then the last 40 messages, let it see all messages from the timeline.
Other
Related snac issue here: https://codeberg.org/grunfink/snac2/issues/164
@Menelmacar I don't have a test server to test this, but suspect that snac2's API is lacking Link header with rel="next" URL.
Same thing for Sharkey too. I've counted 16-18 posts till "The end"
Seems snac returns the Link HTTP header with the related rel="next" part. So something else could be the problem.
I have this problem too, and I’m a huge fan of Phanpy. I can provide an account on my snac2 server for you to test.
@p4tpr0 if you can provide me a temporary account, that'll be great! (DM me)
DM sent!
I’ll probably shut down my snac2 instance in a couple of weeks. Do you need more time for testing?
@p4tpr0 sorry, totally missed this. I actually didn't get your DM for some reason.
No problem, I’ve sent you a new message on mastodon. Let me know if you got it.
Posted my findings here https://codeberg.org/grunfink/snac2/issues/164#issuecomment-4415162
I think I can close this now, the access-control-expose-headers: Link is now Included in the snac master and it seems this issue is gone now.
Thank you for the investigation @cheeaun
Oh and thank for you phanpy in general 😊.
@cheeaun : let me know if I can close my test Snac2 server (I don’t have any use for it anymore)
@p4tpr0 hey thanks! I think you can close it now as the issue seems fixed 🙇♂️