#? @rf
Поднял минималистичный инстенс mitra - а mastodon с ним не хочет педерироваться, говорит 503, а курл нормально всё достаёт:
curl 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.

@ex @L29Ah I see the profile, but it doesn't accept follow requests.

This might happen if the server can't make an outgoing connection, either due to firewall or proxy misconfiguration.

@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

@L29Ah @ex Does following work with the default mitra frontend?

Maybe something has changed in toot and it doesn't work anymore.

@L29Ah @ex Check instance_url in your config.yaml, apparently you have http:// there instead of https://.

This should generate a warning at startup, by the way. Look at the beginning of your log.

Follow

@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?

· Edited · · 2 · 0 · 0

@L29Ah It seems I'll be your federation herald to @silverpill in this thread 'til you find out what's the problem.

@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.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.