-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Enable connecting to appservices through unix sockets #16399
Comments
I wonder if this is even allowed by the spec, that defines the
It doesn't explicitly forbid it, but 🤷 anyway, it is likely fine. |
I am pretty unread into the appservice chapters of this book, but from what I'm understanding from out-of-band conversations with others is that it's probably not a good idea. I can get the I have to admit though, it does sound attractive. |
I'm pretty sure this issue is about the Synapse to appservice communication, not the other way around. |
I've been giving this a look-over, and there is some information I think I'm missing to make sure I don't break anything. Does any appservice:
EDIT: EDIT 2: (deleted above) No that was |
After a few days of poking/staring at the appservice code, I think it's fair to mark a few things off the list of requirements:
None of those seem to make sense when using a appservice. Which means That being said, using the |
And it looks like a proxy isn't going to happen/be needed as even the docs say so: (Thanks @clokep !!) |
Description:
When the URL provided in an appservice-registration is a unix socket of the schema
unix:/path/to.sock
, the server refuses to connect and reports "Unsupported schema: 'unix'".For deployments where appservices are on the same machine as the server, it would make sense to enable this functionality.
(Since this seems to be handled specifically by the server, I assume it's not a bug.)
The text was updated successfully, but these errors were encountered: