Unable to access my Home timeline of https://pleroma.envs.net even after repeatedly clicking on "Load older posts". #487
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
5 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#487
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Your setup
OTP
Extra details
No response
Version
Akkoma stable 2023.02
PostgreSQL version
No response
What were you trying to do?
I logged in https://pleroma.envs.net.
What did you expect to happen?
The Home timeline should get loaded even without clicking "Load older posts".
What actually happened?
I am unable to access my Home timeline. Instead of Home timeline getting loaded, I am repeatedly getting the following error message when I attempt to access the Home timeline by clicking on "Load older posts".
Error fetching timeline: Unexpected status: 502
Other timelines are working fine. This problem did not exist with Akkoma 3.5.0.
Logs
No response
Severity
I cannot use it as easily as I'd like. Without the Home timeline, it is difficult to read the posts of the followed users and hashtags.
Have you searched for this issue?
I have occasionally seen similar issues on my instance. I don't have much to go on, but they seem to have increased in frequency slightly ever since I started using the newer mobile apps which seem to use the timeline marker API of Mastodon to try to sync the timeline. I've been turning off that feature in the apps I use when I can to see if it lowers the incidence of it.
I don't have the tools to debug that, though.
Same issue, I got a feeling that it gradually got worse and now home timeline won't load at all.
there's a diagnostics task to help you debug
https://akkoma.dev/AkkomaGang/akkoma/src/branch/develop/lib/mix/tasks/pleroma/diagnostics.ex#L20
The debug output for my account was sent moments ago as direct ActivityPub message. We (admin & I) didn't see any thing that would indicate something being off. We assume that @srijit is experiencing exactly the same problem as I am.
you may also want to check if turning rich media processing off helps you, that is another common cause of this
Yes
Please let me know which setting I should change to turn off rich media processing.
I need to make a "let me Google that for you" but it's "let me search the documentation for you'
https://docs.akkoma.dev/stable/configuration/cheatsheet/#rich_media-consumer
Sorry, @srijit / me do not have direct access to Akkoma configuration. But I just moments ago confirmed with the admin, that turning off the rich media processing didn't change situation at all and the home timeline issue remained. Also when the rich media processing is off, the debug dump is still similar to what I sent privately earlier.
Would you happen to have any more ideas / things / debug things to try? - As mentioned, I guess we all are sorry, because this is frustrating to all of us.
https://pleroma.envs.net has been updated to develop branch, but the issue still persists. Are more users are checking in and saying it isn't working.
I'm loath to repeat myself but without logs or you debugging there is quite literally nothing anyone can do to help you
nobody here is psychic and we cannot converse with computers
hi,
i have here a collection of my logs and the akkoma config. Maybe it helps to find the issue.
FYI: the server runs on the current "develop"-branch
wowee these config deprecation warnings have been shouting at you for about 3 years now
please for all that is holy fix those
never override this, this is likely the source of your database issues
i update my config..
but i can't find this in the file.
it's in your database
hmm can't find it.
well it's either in your database or in your config. it's in one of the two.
any idea how i can find it?
https://man7.org/linux/man-pages/man1/grep.1.html
https://docs.akkoma.dev/stable/administration/CLI_tasks/config/
looks like it is in the DB. but no idea how to change it..
can't find it in the admin panel.
please read the documentation page linked above
i see no way to change this entry.
i try this:
su pleroma -s $SHELL -lc "./bin/pleroma_ctl config dump_to_file pleroma instance instance.json"
modify the instance.json and remove the rewrite_policy tuple
su pleroma -s $SHELL -lc "./bin/pleroma_ctl config load_from_file instance.json"
restart the instance
but the entry is still present
then remove it and reload it?
i would like to, but the question is how
it is a pity that there is no interest in explaining to people who do not understand your system how it works.
you were linked the documentation multiple times, free tech support only goes so far without you taking initiative.
the first time was ok, the second was annoying and the third was taking the mickey more than a little.
running an instance comes with it the tacit understanding that you are capable of managing your own system, and in your case, setting
danger zone
keys is also agreeing that you understand what you are doing since it is non-standard.i cannot fix your instance remotely, you have all the resources you need.
i try now this way:
su pleroma -s $SHELL -lc "./bin/pleroma_ctl config dump_to_file pleroma instance instance.json"
modify the instance.json and remove the rewrite_policy tuple
su pleroma -s $SHELL -lc "./bin/pleroma_ctl config delete pleroma instance"
su pleroma -s $SHELL -lc "./bin/pleroma_ctl config load_from_file instance.json"
restart the instance
it looks like it works. the rewrite_policy is now removed.
the current log is attached..
what i notice is that my home timeline with mastodon-fe loads but not with the pleroma-fe. the "know network" tab load nothing in both fe's.
now after ~1 hour, the home timeline has re-operated itself in the pleroma-fe and shows something again. The "known network" tab continues to throw errors.
@floatingghost can we reopen the issue please?
this is the last thing it is possible for me to do remotely
https://akkoma.dev/AkkomaGang/akkoma/src/branch/develop/lib/mix/tasks/pleroma/diagnostics.ex#L102
okay, thanks.. i just updated and ran the task. here is the output:
https://envs.sh/hcP.txt
make sure your debug log is on - it will tell you if it gets stuck rendering a specific status
i change the logging now from info to debug..
the diagnostic output looks okay i think..
https://envs.sh/hcw.txt
and this is the pleroma log:
https://envs.sh/hcq.log
it's 100% your backend
the idle time on your transactions is worrying me - you may be being bottlenecked by your IO or database
/phoenix/live_dashboard/ecto_stats
should be able to tell you if there's anything it automatically detects as being concerninghmm so resources technically, there should actually be no problems. I'm using an AMD Ryzen 9 5950X 16-core processor. The VM has 16GB RAM of which hardly anything is used and an ssd nvme is installed as a storage medium.
it appears that your endpoint is indeed working again, it is returning statuses as expected
hi, so there is something interesting. I tested everything possible yesterday. Everything worked until the loading of the "known network" timeline.
I optimize my postgresql config with https://pgtune.leopard.in.ua / , gave the machine more RAM and optimized the DB itself:
su pleroma -s $SHELL -lc "./bin/pleroma_ctl database prune_objects --keep-threads --keep-non-public --prune-orphaned-activities"
and
REINDEX (VERBOSE) DATABASE CONCURRENTLY pleroma;
this, at least, obviously, did not improve anything. The timeline still could not be loaded.
But when I log out now, I see the "known network" timeline as an visitor and it shows posts. But the public timeline looks near empty. Which, however, works in the logged-in state.
When I log in again as a user creme, all timelines load without problems and show me all posts and also newly arriving ones.
But as soon as I reload the tab in the browser (via F5) I get the error message "Error fetching timeline: Unexpected status: 502" again and the known network timeline does not load again :/
I can recreate the behavior with 3 accounts that I manage. Both in Firefox and in the google-chrome browser.
i test it with "rich_media" and "media_proxy" enabled and disabled. it makes no difference.
vistor view (public timeline):

visitor view (known network timeline):

fresh login view (known network):

reload tab (known network):
