Dying federation
Environment
- Installation type (OTP or From Source): source
- Pleroma version (could be found in the "Version" tab of settings in Pleroma-FE): latest from develop
- Elixir version (
elixir -v
for from source installations, N/A for OTP): 1.10.4 - Operating system: Linux
- PostgreSQL version (
psql -V
): 12.3
Bug description
After an update a week ago or so, federation started to die after a while. Only restarting pleroma helps.
When it doesn't work anymore, log is filled with similar lines(reversed):
Jul 21 20:53:30 OwO mix[23516]: 20:53:30.970 [warn] Pool worker for https:mastodon.social:443: Client #PID<0.1992.37> died before releasing the connection with :normal
Jul 21 20:53:30 OwO mix[23516]: 20:53:30.969 [warn] Pool worker for https:social.homunyan.com:443: Client #PID<0.2000.37> died before releasing the connection with :normal
Jul 21 20:53:30 OwO mix[23516]: 20:53:30.967 [warn] Pool worker for https:mastodon.sdf.org:443: Client #PID<0.1991.37> died before releasing the connection with :normal
Jul 21 20:53:30 OwO mix[23516]: 20:53:30.960 [error] Error while fetching https://mastodon.social/users/mntmn/statuses/104553319463373781: {:error, :overload}
Jul 21 20:53:30 OwO mix[23516]: 20:53:30.960 [error] Error while fetching https://mastodon.sdf.org/users/Shufei/statuses/104553321020080989: {:error, :overload}
Jul 21 20:53:30 OwO mix[23516]: 20:53:30.960 [error] Error while fetching https://social.homunyan.com/users/animeirl/statuses/104553319452296096: {:error, :overload}