Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GoToSocial] Aproving request from GtS appears with some delay #14915

Closed
1 task
SadmL opened this issue Nov 7, 2024 · 2 comments · Fixed by #14970
Closed
1 task

[GoToSocial] Aproving request from GtS appears with some delay #14915

SadmL opened this issue Nov 7, 2024 · 2 comments · Fixed by #14970
Labels
⚠️bug? This might be a bug 🌌Federation The Federation/ActivityPub feature

Comments

@SadmL
Copy link

SadmL commented Nov 7, 2024

💡 Summary

Approval request for locked Misskey or Sharkey (tested on them) account can be delivered after some time or only after several attempts, or not delivered at all, or mix of all 3 of this. Waiting time is up to 2 mins.
I don't think that happens due lack of stable connection, at least on my side, I have 300MiB bandwidth. I tested it on 2 separate servers, 1st Misskey account is mine, 2nd Sharkey is other person.

Video demos (proofs)

Phanpy

2024-11-07.06-52-38.mp4

Moshidon

2screen-20241107-085436.mp4

But I got this request off record a bit later.

Unfortunately, I can't provide any logs for Misskey, because I haven't any Misskey instance to admin.

Of course I asked GtS devs first about it here superseriousbusiness/gotosocial#3523, but it's not on their side.

🥰 Expected Behavior

(almost) Instant notification of approval request to follow locked account

🤬 Actual Behavior

Notification of approval request appearing after some time or not appearing at all

📝 Steps to Reproduce

  1. Find locked Misskey account
  2. Try to request an approval to follow from any client with GoToSocial account

💻 Frontend Environment

  • Model and OS of the device(s): PC, EndeavourOS Linux (Arch-based)
  • Browser: Librewolf 132.0-1
  • Server URL: shitpost.poridge.club
  • Misskey: 2024.10.1

🛰 Backend Environment (for server admin)

  • Installation Method or Hosting Service:
  • Misskey:
  • Node:
  • PostgreSQL:
  • Redis:
  • OS and Architecture:

Do you want to address this bug yourself?

  • Yes, I will patch the bug myself and send a pull request
@SadmL SadmL added the ⚠️bug? This might be a bug label Nov 7, 2024
@SadmL SadmL changed the title [GoToSocial] Aproving request from GtS appears with some delay (sometimes 5+ mins) [GoToSocial] Aproving request from GtS appears with some delay Nov 7, 2024
@cdn0x12
Copy link

cdn0x12 commented Nov 9, 2024

I encountered the same issue. The problem seems to be in this part of the code: https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/core/activitypub/models/ApPersonService.ts#L596. It looks like Misskey requires the target account to have a shared inbox here (which isn't yet implemented by GoToSocial), and if not, it gives the error: UpdateValuesMissingError: Cannot perform update query because update values are not defined. Call "qb.set(...)" method to specify updated values.

For more details, see: superseriousbusiness/gotosocial#3523 (comment)

If that's the case, could Misskey consider falling back to using the inbox in this situation?

@cdn0x12
Copy link

cdn0x12 commented Nov 15, 2024

I've done a bit of further research, and this issue is likely related to #14080, #13735, and #12720. Proposing PR #14970.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚠️bug? This might be a bug 🌌Federation The Federation/ActivityPub feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants