You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PANI[2024-05-21T14:13:42.984256370Z] failed to connect to room server db error="sqlutil.Open: failed to find maximum conections: pq: no pg_hba.conf entry for host \"X.X.X.X\", user \"dendrite\", database \"dendrite\", SSL off"
where X.X.X.X is the public IP of my server (not 127.0.0.1).
I was able to fix by manually editing postgres conf files. This was not necessary before.
sudo nano /etc/postgresql/13/main/postgresql.conf
change `listen_addresses = 'localhost'` to `listen_addresses = '*'`
sudo nano /etc/postgresql/13/main/pg_hba.conf
add line `host all all 0.0.0.0/0 md5`
The text was updated successfully, but these errors were encountered:
Background information
go version
: go version go1.22.2 linux/amd64Description
127.0.0.1
Steps to reproduce
Default Postgres set-up listening on 127.0.0.1
in dendrite.yaml have the line
and when I start the server with:
it fails with the error:
where
X.X.X.X
is the public IP of my server (not127.0.0.1
).I was able to fix by manually editing postgres conf files. This was not necessary before.
The text was updated successfully, but these errors were encountered: