Which #fediverse #activitypub server is the easiest to run in #docker?
I'd like to test my own AP software without littering the live network
Which #fediverse #activitypub server is the easiest to run in #docker?
I'd like to test my own AP software without littering the live network
mitra is probably one of the easiest
@mattesilver Hmm, OCI? Those fediverse pasture containers are maintained by @helge.
>BTW what's the default activity filter?
Do you mean federation filter? Everything is allowed there by default
@silverpill Thanks for providing a working OCI - it just works :)
Tho the version on fediverse pasture gives me problems - can't login :/
BTW what's the default activity filter?
@mattesilver If an activity is not processed due to an error, there will be a warning in the Mitra log.
What are you trying to do?
@silverpill is there some debug mode to show me why messages get ignored?
@mattesilver Accepted follow requests are in relationship table. Processed activities are in activitypub_object table. And background jobs for pending activities are in background_job table.
@silverpill wouldn't that be nice, but there's nothing in follow_requests nor in subscription tables, and mitra isn't sending any of my public activities
@mattesilver This probably means that your activity has already been processed.
@silverpill I just want to send a follow message from my program.
I see a `follow received` log entry and nothing happens
@mattesilver You should be able to see them in the log. If you don't, it's probably a bug in Mitra.
@silverpill I'm absolutely certain that it's my program sending bad messages, I'm just asking if there's a way to see processing exceptions in mitra
@mattesilver I don't think it's possible. There should be either a log message after received ... Follow, or an entry in activitypub_object, or an entry in background_json.
Could you show me the full log?
https://codeberg.org/silverpill/mitra/src/branch/main/docs/debugging.md
@silverpill
2026-01-02T19:01:30 actix_server::builder [INFO] Starting 8 workers
2026-01-02T19:01:30 actix_server::server [INFO] Tokio runtime found; starting in existing Tokio runtime
2026-01-02T19:04:31 mitra_api::activitypub::views [INFO] received in instance inbox: Follow
@silverpill `activitypub_object` has my two messages I've created using mitra UI, the other two tables are empty
@mattesilver Yes, instance actor is different from all others, it doesn't process incoming activities. You need to create an account if you want to interact.
```
#[post("/inbox")]
async fn instance_actor_inbox(
config: web::Data<Config>,
activity: web::Json<JsonValue>,
) -> Result<HttpResponse, HttpError> {
if !config.federation.enabled {
return Err(HttpError::PermissionError);
};
log::info!(
"received in instance inbox: {}",
activity["type"].as_str().unwrap_or("Unknown"),
);
Ok(HttpResponse::Accepted().finish())
}
```
seems to me it works as intended...
1. fail if federation is disabled
2. log
3. return 202
admin is not special, only instance actor is special
>Does mitra require https to federate?
No, but it may assume HTTPS in certain cases (for example, when it makes webfinger requests). If the port is non-standard, it should be specified (e.g. http://fediscover:8000/actor)
In your case the error seems to be related to environment, though. helge@mymath.rocks may know more
@silverpill I'm building requests with bovine BTW @helge
@silverpill
I'm trying now to follow my @admin@mitra user, hope it's not special too?
mitra seems to be unable to connect to my server. I could successfully call `podman exec -ti mitra curl fediscover/actor`, but my logs don't show any connection attempt from mitra.
First I was running fediscover (my server) on port 8000, thought maybe the non-standard port is lost somewhere, but with fediscover listening on port 80 doesn't work either. Does mitra require https to federate?
> 2026-01-05T14:05:50 mitra_api::activitypub::views [INFO] received in /users/admin/inbox: Follow
2026-01-05T14:05:50 mitra_api::activitypub::receiver [WARN] invalid HTTP signature: error sending request for url (http://fediscover/actor): client error (Connect)
2026-01-05T14:05:50 mitra_api::activitypub::views [WARN] failed to process activity (error sending request for url (http://fediscover/actor): client error (Connect)): {"@context":"https://www.w3.org/ns/activitystreams","actor":"http://fediscover/actor","id":"http://fediscover/activity/d7c2d96c-eea0-41e7-aee6-12fe6db75360","object":"http://mitra:8383/users/admin","published":"2026-01-05T14:05:50Z","to":["http://mitra:8383/users/admin"],"type":"Follow"}
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.