This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Calls to /_matrix/client/v3/account/whoami
return 500 when called on a unix socket
#16396
Labels
good first issue
Good for newcomers
O-Uncommon
Most users are unlikely to come across this or unexpected workflow
S-Minor
Blocks non-critical functionality, workarounds exist.
T-Defect
Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Z-Help-Wanted
We know exactly how to fix this issue, and would be grateful for any contribution
Description
I have synapse set up to listen on a unix socket, and mautrix-whatsapp trying to connect to it via that socket. This does not work, as when accessing the
whoami
-endpoint the server returns error code 500 with the messageM_UNKNOWN
.The homeserver log reveals that this is due to the code expecting a host to be set, when this isn't applicable in a unix socket usecase.
Steps to reproduce
whoami
endpoint to connect to server via unix socketHomeserver
self-hosted
Synapse Version
1.29.1
Installation Method
Other (please mention below)
Database
fresh postgresql 15.4 setup
Workers
Single process
Platform
archlinux arm
Configuration
No response
Relevant log output
Anything else that would be useful to know?
No response
The text was updated successfully, but these errors were encountered: