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

support Akkoma #374

Open
snarfed opened this issue Jan 18, 2023 · 23 comments
Open

support Akkoma #374

snarfed opened this issue Jan 18, 2023 · 23 comments

Comments

@snarfed
Copy link
Owner

snarfed commented Jan 18, 2023

https://akkoma.social/

@snarfed snarfed changed the title support Akkama support Akkoma Jan 18, 2023
@snarfed
Copy link
Owner Author

snarfed commented Jan 18, 2023

I federated this like of this post on akko.wtf (running backend v3.5.0-12-g63f2d1cb), and got an HTTP 500 error with body {"errors":{"detail":"Internal server error"}} on inbox delivery to https://akko.wtf/users/rei/inbox. Not much help there. Bridgy log here.

Akkoma is a fork of Pleroma, and this is the same error we got from Pleroma in #12 (comment), which makes sense.

I'm guessing it choked on some part of the AS2 that's a composite object when it expects a string, maybe actor. Full AS2 object we sent:

{
  "published": "2023-01-18T14:54:09-08:00",
  "content": "likes <a class=\"u-like u-like-of\" href=\"https://akko.wtf/notice/ARP7mWTNZxbJAzPTIe\">Luna Nova</a>",
  "url": "https://fed.brid.gy/r/https://snarfed.org/2023-01-18_luna-nova",
  "actor": {
    "url": "https://fed.brid.gy/r/https://snarfed.org/",
    "image": {
      "url": "https://secure.gravatar.com/avatar/947b5f3f323da0ef785b6f02d9c265d6?s=96&d=blank&r=g",
      "type": "Image"
    },
    "type": "Person",
    "name": "Ryan Barrett",
    "icon": {
      "url": "https://secure.gravatar.com/avatar/947b5f3f323da0ef785b6f02d9c265d6?s=96&d=blank&r=g",
      "type": "Image"
    },
    "id": "https://fed.brid.gy/snarfed.org",
    "preferredUsername": "[snarfed.org](http://snarfed.org/)"
  },
  "@context": "https://www.w3.org/ns/activitystreams",
  "type": "Like",
  "object": "https://akko.wtf/objects/8044263c-b1d3-495a-9a43-131bee571c80",
  "id": "https://fed.brid.gy/r/https://snarfed.org/2023-01-18_luna-nova",
  "cc": [
    "https://akko.wtf/users/rei",
    "https://www.w3.org/ns/activitystreams#Public",
    "https://akko.wtf/users/rei/followers"
  ],
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ]
}

@snarfed
Copy link
Owner Author

snarfed commented Jan 18, 2023

Reported to Akkoma in https://akkoma.dev/AkkomaGang/akkoma/issues/438

@snarfed
Copy link
Owner Author

snarfed commented Oct 12, 2023

#442 got a like to work! Reply got a 500 though. Outgoing AS2 activity:

{
  "id": "https://fed.brid.gy/r/https://snarfed.org/2023-10-11_luna-nova-3#bridgy-fed-create",
  "actor": "https://fed.brid.gy/snarfed.org",
  "published": "2023-10-12T03:41:54.364982+00:00",
  "@context": "https://www.w3.org/ns/activitystreams",
  "type": "Create",
  "object": {
    "published": "2023-10-11T20:41:49-07:00",
    "content": "<a class=\"u-in-reply-to\" href=\"https://akko.wtf/notice/ARP7mWTNZxbJAzPTIe\"></a>\n<div class=\"e-content\">\nsquawk\n</div>",
    "url": "https://fed.brid.gy/r/https://snarfed.org/2023-10-11_luna-nova-3",
    "id": "https://fed.brid.gy/r/https://snarfed.org/2023-10-11_luna-nova-3",
    "type": "Note",
    "attributedTo": "https://fed.brid.gy/snarfed.org",
    "inReplyTo": "https://akko.wtf/objects/8044263c-b1d3-495a-9a43-131bee571c80",
    "cc": [
      "https://akko.wtf/users/rei",
      "https://akko.wtf/users/rei/followers",
      "https://www.w3.org/ns/activitystreams#Public"
    ],
    "tag": [
      {
        "type": "Mention",
        "href": "https://akko.wtf/users/rei"
      },
      {
        "type": "Mention",
        "href": "https://akko.wtf/users/rei"
      }
    ],
    "to": [
      "https://www.w3.org/ns/activitystreams#Public"
    ]
  },
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ]
}

@snarfed snarfed mentioned this issue Mar 7, 2024
2 tasks
@snarfed
Copy link
Owner Author

snarfed commented Mar 7, 2024

@hellquist re #12 (comment) , Bridgy Fed automatically sends an Accept activity back, but I'm guessing the Akkoma 500 bug above also affects those Accepts.

@hellquist
Copy link

@hellquist re #12 (comment) , Bridgy Fed automatically sends an Accept activity back, but I'm guessing the Akkoma 500 bug above also affects those Accepts.

Ah, I see. Thanks.
Oh, and also thanks for your work with the brid.gy services in general, much appreciated.

@snan
Copy link

snan commented May 9, 2024

(Just reporting in, hope I don't come across as entitled or impatient because that's not how I feel. Don't worry.♥︎)

Here's where I'm at right now:

I followed @bsky.brid.gy@bsky.brid.gy from Akkoma but the follow hasn't gone through, still says Request sent.

https://bsky.app/profile/Sandra.idiomdrottning.org.ap.brid.gy did show up but posts I've made whether before or after following the bridge hasn't shown up. I'm on Akkoma 3.13.

@snarfed
Copy link
Owner Author

snarfed commented May 9, 2024

Thanks! I've pinged them again on https://akkoma.dev/AkkomaGang/akkoma/issues/438#issuecomment-11995

@snan
Copy link

snan commented May 9, 2024

I saw ♥︎
I am subbed to that thread too 💁🏻‍♀️

@AtiusAmy
Copy link

(Just reporting in, hope I don't come across as entitled or impatient because that's not how I feel. Don't worry.♥︎)

Here's where I'm at right now:

I followed @bsky.brid.gy@bsky.brid.gy from Akkoma but the follow hasn't gone through, still says Request sent.

https://bsky.app/profile/Sandra.idiomdrottning.org.ap.brid.gy did show up but posts I've made whether before or after following the bridge hasn't shown up. I'm on Akkoma 3.13.

A bit late now, but seems to be the same for me rn

https://bsky.app/profile/amyiscoolz.miraiverse.xyz.ap.brid.gy

@snarfed
Copy link
Owner Author

snarfed commented Aug 21, 2024

I got Pleroma to start accepting our replies just now, #12 (comment) / e2b6b59 , and I hoped that would fix Akkoma too, but no luck, at least on akko.wtf. It's still complaining 401: Request not signed on our inbox deliveries even though they have valid HTTP Sigs. https://akkoma.dev/AkkomaGang/akkoma/issues/438#issuecomment-12010

@Sterophonick
Copy link

Interesting observation:
Boost and like activity has mysteriously started working suddenly on my Akkoma instance, which is labyrinth.zone.

image
image

Posts are still not being bridged, however.

@snarfed
Copy link
Owner Author

snarfed commented Dec 4, 2024

Interesting! Thanks for the report. I wonder if that's due to the content_is_html fix yesterday, #1584 (comment)

@Sterophonick
Copy link

Interesting! Thanks for the report. I wonder if that's due to the content_is_html fix yesterday, #1584 (comment)

I should reword since reading back over it seems vague, so my usage of Bridgy is Akkoma->Bsky, so yeah it just mysteriously started showing boosts and likes over on Bsky, which is curious.

@puppygirlhornypost
Copy link

Just a nitpick, I think it's important to clarify that Akkoma doesn't actually specify that it is standard compliant with ActivityPub. It uses a spin off "LitePub" https://litepub.social/. In theory, supporting Pleroma's implementation of LitePub should be enough although I would need to look at what Akkoma has changed. https://litepub.social/ap-compat is so vague that I am unsure of the implications.

@puppygirlhornypost
Copy link

I wanted to slap myself when I realized this was the case, because I have always wondered why it's akkoma & pleroma causing issues within the fedi software projects I'm involved with. Now I know exactly why. I hate it I can't unsee it.

@puppygirlhornypost
Copy link

I got Pleroma to start accepting our replies just now, #12 (comment) / e2b6b59 , and I hoped that would fix Akkoma too, but no luck, at least on akko.wtf. It's still complaining 401: Request not signed on our inbox deliveries even though they have valid HTTP Sigs. https://akkoma.dev/AkkomaGang/akkoma/issues/438#issuecomment-12010

not sure if you saw https://litepub.social/overview but it looks like litepub does HTTP Signatures a bit differently.

@Sterophonick
Copy link

That part is definitely news to me. Good to know.

@snarfed
Copy link
Owner Author

snarfed commented Dec 4, 2024

Akkoma doesn't actually specify that it is standard compliant with ActivityPub. It uses a spin off "LitePub"

waaaat 🤦

@puppygirlhornypost
Copy link

Akkoma doesn't actually specify that it is standard compliant with ActivityPub. It uses a spin off "LitePub"

waaaat 🤦

At least you know now... I hope that the resources i gave for litepub can help you resolve some of the weird difficulties. Looking back we had pleroma which was based on litepub and then akkoma was a hard fork of pleroma. Akkoma seems to be continuing that usage of litepub and is receptive to changes. Litepub is a dead standard with a bunch of vague specifications nobody really has a proper definition for (much worse than how activitypub is if you thought that was bad). I don't know what else to say from here. It's mostly compatible, there's weird breakages that you just got to figure out. One of them (that's not relevant to this project) is the way akkoma uses the Flag activity which the sharkey team had to figure out. https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/690 that was a fun one.

@AtiusAmy
Copy link

AtiusAmy commented Dec 4, 2024

Akkoma can't even render images from BridgyFed account for me on miraiverse.xyz, they are always shown as attachments.

(Unrelated: Replies also looks horribly broken on Akkoma, not sure why it is what it is)

@snarfed
Copy link
Owner Author

snarfed commented Dec 4, 2024

Thanks for all the information, everyone. I have to admit, this makes me significantly less motivated to work on Akkoma interop. 😢

@Sterophonick
Copy link

Thanks for all the information, everyone. I have to admit, this makes me significantly less motivated to work on Akkoma interop. 😢

Very disappointing but nonetheless very understandable. I hope you can one day change your mind on this. Cheers for all of your work. <3

@ThisIsMissEm
Copy link

Akkoma doesn't actually specify that it is standard compliant with ActivityPub. It uses a spin off "LitePub"

waaaat 🤦

At least you know now... I hope that the resources i gave for litepub can help you resolve some of the weird difficulties. Looking back we had pleroma which was based on litepub and then akkoma was a hard fork of pleroma. Akkoma seems to be continuing that usage of litepub and is receptive to changes. Litepub is a dead standard with a bunch of vague specifications nobody really has a proper definition for (much worse than how activitypub is if you thought that was bad). I don't know what else to say from here. It's mostly compatible, there's weird breakages that you just got to figure out. One of them (that's not relevant to this project) is the way akkoma uses the Flag activity which the sharkey team had to figure out. https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/690 that was a fun one.

You may have issues federated Flag with Mastodon too then. fwiw, AP Trust & Safety is looking for issues exactly like this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants