YunoHost-Apps / pleroma_ynh

Pleroma package for YunoHost: A free, federated social networking server built on open protocols.
https://pleroma.social/
GNU Affero General Public License v3.0
30 stars 11 forks source link

Error fetching timeline: JSON.parse: unexpected character at line 1 column 1 of the json data #188

Closed lightnin closed 2 years ago

lightnin commented 2 years ago

When scrolling downward on my Pleroma instance, I periodically see the error: Error fetching timeline: unexpected character at line 1 column 1 of the json data - see screenshot.

Screenshot 2022-01-29 at 17 27 50

Instance is here and public if you want to try yourself. https://masto.amosamos.net/lightnin

Apologies if this should be filed upstream - it doesn't seem to be an issue already described there, so I'm not quite sure where the problem lies. This issue started subsequent to upgrade of my yunohost pleroma app from Version 2.4.1~ynh1 to 2.4.2~ynh1.

Context

YunoHost 4.3.6.2 (stable) Pleroma 2.4.2~ynh1 Rpi4

Steps to reproduce

Scroll downward quickly on timeline.

Expected behavior

It scrolls, no errrors.

Logs

Not sure where to find what's needed.

lightnin commented 2 years ago

Issue filed upstream: https://git.pleroma.social/pleroma/pleroma/-/issues/2829

lightnin commented 2 years ago

https://git.pleroma.social/pleroma/pleroma/-/issues/2829#note_89365 It looks like it's related to Nginx 502ing. Watching htop while the error happens, it doesn't seem to be putting the server under undue load. Based on comment above, it appears that this is possibly related to Nginx config on Yunohost installs of pleroma.

Screenshot 2022-02-04 at 10 50 37
lightnin commented 2 years ago

After multiple reinstalls for some reason this went away Quite annoying.