Federation issues with BookWyrm
Environment
- Installation type (OTP or From Source): From source
- Pleroma version (could be found in the "Version" tab of settings in Pleroma-FE): 2.2.2
- Elixir version (
elixir -v
for from source installations, N/A for OTP): Elixir 1.11.3 (compiled with Erlang/OTP 23) - Operating system: Gentoo Linux
- PostgreSQL version (
psql -V
): 13.1
Bug description
BookWyrm is a social reading and reviewing AP-server. I've experienced these problems so far:
Follow-approval not registered
I've sent a follow-request to a BookWyrm-account, I got this in my nginx log:
143.110.147.80 - - [22/Feb/2021:23:07:40 +0100] "GET /users/bookwyrmfedtest HTTP/1.1" 200 1630 "-" "python-requests/2.22.0 (BookWyrm/0.0.1; +https://bookwyrm.social/)"
and this in my pleroma log:
2021-02-22 23:07:39 [pleroma] [info] POST /api/v1/accounts/A4VW2z9IlCyOVuEtjE/follow
2021-02-22 23:07:39 [pleroma] request_id=FmYxPibAPARqm60AAwAh [error] Follower/Following counter update for https://bookwyrm.social/user/tastytea failed._{:error, "id must be a string"}
I approved the follow-request on the BookWyrm-instance and I got this my nginx-log:
143.110.147.80 - - [22/Feb/2021:23:09:18 +0100] "POST /users/bookwyrmfedtest/inbox HTTP/1.1" 200 4 "-" "python-requests/2.22.0 (BookWyrm/0.0.1; +https://bookwyrm.social/)"
However, the Follow-button in Pleroma-FE is stuck at “Request sent!” and I don't get activities in my feed.
I worked around it by setting the state
of the relationsship to 2
in the following_relationships
table. Now the Following-button displays “Following!”.
Only some activities are displayed in the feed
After I've set the following relationship manually, I got activities from the BookWyrm-user in my feed. But only some. “Started reading” and “Finished reading” activities don't show up in the feed and not when I click on the account (tested with Pleroma-FE, Masto-FE and Tusky). However, they do show up in the search. Rating-activities show up in the feed and the account view (but not in the search), but it is just a link to the cover-image of the book.
PS: Quotes from books don't show up in the feed, the account view or the search.