Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for unix sockets #652

Closed
Sir-Photch opened this issue Sep 27, 2023 · 2 comments
Closed

Support for unix sockets #652

Sir-Photch opened this issue Sep 27, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@Sir-Photch
Copy link

For a self-hosted scenario, it is quite likely that both homeserver and bridge are operated on the same server. For this, it would be quite handy if both the bridge could connect through the unix-socket of the homeserver via the address-parameter in the configuration and the homeserver could make use of a socket opened up by the bridge to connect to the appservice.

What do you think?

@Sir-Photch Sir-Photch added the enhancement New feature or request label Sep 27, 2023
@tulir
Copy link
Member

tulir commented Sep 27, 2023

Unix sockets are already supported

@tulir tulir closed this as not planned Won't fix, can't repro, duplicate, stale Sep 27, 2023
@Sir-Photch
Copy link
Author

Sir-Photch commented Sep 27, 2023

And how do you specify them?

setting homeserver:address: to unix:/path/to/the.sock returns

FTL /whoami request failed with unknown error error="failed to GET /_matrix/client/v3/account/whoami: M_UNKNOWN (HTTP 500): Internal server error"

using synapse 1.92.1 (maybe a homeserver issue matrix-org/synapse#16396)

and apparently, the spec doesnt specify to be able to connect to an appservice through an unix socket.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants