Akkoma servers configured with domain port not equal to 443 don't federate? [bug] #464
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#464
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Your setup
From source
Extra details
Alpine
Version
2023.2
PostgreSQL version
14
What were you trying to do?
Following the documentation example here: https://docs.akkoma.dev/stable/configuration/cheatsheet/#http-client for HTTP Server, Web Endpoint
(which shows an example config where the domain port is not 443 as its only example) and the documentation here: https://docs.akkoma.dev/develop/configuration/how_to_serve_another_domain_for_webfinger/ for configuring webfinger/host-meta for host != domain, I configured an akkoma instance with
domain: subdomain.example.net port 8443
host: example.net
(obviously not actually example.net)
and appropriately configured the host-meta for example.net to include the port.
What did you expect to happen?
Working, federating Akkoma server accessible via https on port 8443.
What actually happened?
The resulting akkoma server is accessible via its front-end at subdomain.example.net:8443 , and the webfinger response is appropriately forwarded, if example.net is contacted on port 80 (http) or 8443 (https).
However: the webfinger response is not correct (the aliases field and others do not include a port in the URL, for example, so a service will try to contact subdomain.example.net on port 443, rather than 8443), and generally a number of field do not include the port which should.
(Of course, also attempts to access example.net:443/.well-known/host-meta will also fail, but that can't be fixed here, and the http version being visible should allow services to actually find the right place)
The instance seems to be unable to federate - and I assume that this is due to the above deficiencies.
This also seems to break things like Fedi and Husky trying to register with the akkoma server as well.
As I am unable to configure a service using port 443 for unresolvable technical reasons, this renders me unable to run an akkoma server.
(a possibly related issue for Pleroma is https://git.pleroma.social/pleroma/pleroma/-/issues/1881 )
This could be fixed by also amending the docs examples to not imply that this all just works, if it isn't supposed to!
Logs
No response
Severity
I cannot use the software
Have you searched for this issue?