[bug] loss of posts from Akkoma #822
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#822
Loading…
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
No response
Extra details
No response
Version
3.13.2
PostgreSQL version
No response
What were you trying to do?
We have a setup with multiple communication partners who occasionally send each other direct messages:
What I first noticed was that occasionally, SO said she had sent me DMs (to just ME or to both ME and TP) which I haven’t received. I thought this a federation issue in GotoSocial, as it was in its early stages, and opened https://github.com/superseriousbusiness/gotosocial/issues/2496 there, but it was eventually closed because we had no way to look deeper at it.
What now follows is a summary of the last post in the issue, so feel free to skip it if you read it there:
@SO
in the textarea and added@TP
manuallyAt this point I begun debugging. Looking into the GtS DB showed me that while there are two
<a class="u-url mention" …>
links in the content, thementions
column has an array with just one account ID (namely mine).(At this point, SO (on Akkoma) tried to edit the post, adding another
@TP
mention, but while the textual change showed up, neither did it show up in thementions
array nor did TP become able to see it.)I did a couple database queries more. I looked in
instances
which instances all used the exact same Akkoma version (6 in total), then did a query acrossstatuses
for multiple<a class="u-url mention"
but lower array size ofmentions
, but unlisted or public posts (so I could actually look at the AP with a shell script I have that can do signed GET requests).A bit of fiddling later (turns out Akkoma requires the actor to have an
inbox
andoutbox
, unlike Mastodon, GtS and Pleroma), and I was able to look at a public Note from Akkoma… which had:So, two mentions. However, in the GtS database, there was only one mention! (The thing I can obviously not look at is the POST to my inbox which probably populated the GtS DB.)
Unfortunately, the operator of the Akkoma instance I found the public post on is not knowledgeable enough to debug it, and I’m not sure if the admin of SO’s instance is (they run multiple instances of multiple different instance softwares, so they’re probably too busy) plus debugging something with private messages is iffy.
I’ve no idea if there’s something we can do on the GtS side to debug this. If you could figure out if there’s something on the Akkoma side, a fix for this would be very welcome.
What did you expect to happen?
Posts that mention someone trigger a notification for that someone and are visible to that someone.
What actually happened?
Posts sometimes get lost (trigger no notification (even if I have notifications for the sender in general enabled)) and sometimes are even not visible to a mentioned communication partner (private messages).
Logs
Severity
I cannot use it as easily as I'd like
Have you searched for this issue?
To clarify, both Akkoma → GotoSocial and Akkoma → Mastodon loses messages and access, which is why I thought here would be the next logical good place to try and debug this.
If none of the involved Akkoma instance operators can/wants to debug, i’m afraid it will be near impossible to get any insight onto what happpens at Akkoma’s end.
Still, some notes:
If it has two mentions in the federated AP response, but GtS only parsed one, this suggests something goes wrong after GtS received the post. In theory it’s also possible the post originally had only one mention and was later edited ig, but you can test this by deleting your locally cached version and then refetching the post from its id. If it still only shows one mention, start debugging GtS’ processing
Otherwise at least for the
* → Akkoma
direction, direct messages may end up intentionally dropped if the intended receiver set up their account to e.g. reject DMs from non-followers. Idk if Mastodon and GtS have similar settings. Similar if any of the involved servers blocks another server or user.