#activitypub #mitra #? @rf
Поднял минималистичный инстенс mitra - а mastodon с ним не хочет педерироваться, говорит 503, а курл нормально всё достаёт:
curl http://mitra.root.sx/users/l29ah --header 'Accept: application/activity+json'
ЧЯДНТ?
@L29Ah I can see your profile from my mitra instance, so it seems like some masturdon problem. Let's summon @silverpill and ask him.
@silverpill @ex I have the debug log on, what should i look at?
@L29Ah @ex You don't need debug, info is enough.
https://codeberg.org/silverpill/mitra/src/branch/main/docs/debugging.md
Try to follow my account and tell us what you see in the log.
@silverpill @ex 2025-12-05T19:04:47 actix_web::middleware::logger [INFO] GET /api/v2/search?q=%40silverpill%40mitra.social&resolve=true&type=accounts HTTP/1.1 : 200 : 200:4d5c:e19f:91f8:38a0:e23f:dbcd:23e0
@silverpill @ex Oh, apparently the server's ipv6-internet is dead now.
@silverpill @ex Fixed it, now there's nothing in the info log when i do
‰ toot follow @silverpill
Error: Account not found
@silverpill @ex Yes, and i've seen the warning, found it in the code and didn't understand it, thought http is ok.
Does activitypub require the cargo cult security X.509 PKI thing too, or a self-signed cert will suffice?
@L29Ah @ex ActivityPub is based on HTTP protocol, so if you use a self-signed cert you'll be able to federate only with servers that trust your CA.
http:// may also work, at least between Mitra instances (for example, our Tor instances use http://), but your server doesn't seem to be configured for that.
@L29Ah It seems I'll be your federation herald to @silverpill in this thread 'til you find out what's the problem.