FR: Support UNIX sockets for connecting to appservices #2581

Open
opened 2026-11-22 05:20:36 +00:00 by PancakeTAS · 0 comments

What new feature do you want to see? What problem does it solve?

By the looks of things, only http:// can be used in appservice registration files and specifying unix:/// will try to build an HTTP request regardless. It would be nice not to have to listen on a port when an appservice is running locally anyways.

For instance I'm currently using /run/continuwuity/continuwuity.sock for the homeserver itself, and I'd like to use /run/mautrix-signal/mautrix-signal.sock for the signal bridge. It looks like the mautrix-signal side already supports this.

Further reading

It seems like it was attempted before in synapse:

Additional context

No response

### What new feature do you want to see? What problem does it solve? By the looks of things, only `http://` can be used in appservice registration files and specifying `unix:///` will try to build an HTTP request regardless. It would be nice not to have to listen on a port when an appservice is running locally anyways. For instance I'm currently using `/run/continuwuity/continuwuity.sock` for the homeserver itself, and I'd like to use `/run/mautrix-signal/mautrix-signal.sock` for the signal bridge. It looks like the mautrix-signal side already supports this. ### Further reading It seems like it was attempted before in synapse: - https://github.com/element-hq/synapse/issues/16399 - https://github.com/matrix-org/synapse/pull/16425 (I don't think the duplicate-`/` behavior should be copied though) ### Additional context _No response_
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
continuwuation/continuwuity#2581
No description provided.