Open matrixbot opened 2 weeks ago
This comment was originally posted by @MichScha at https://github.com/matrix-org/dendrite/issues/2988#issuecomment-1463798416.
Having the same error-message with basic setup according to documentation. When using the "standard" password itsasecret I get another error message
time="2023-03-10T13:52:34.927499897Z" level=panic msg="Failed to set up global database connections" error="failed to find maximum connections: dial tcp xx.xx.xx.xx:5432: connect: connection timed out"
This comment was originally posted by @MichScha at https://github.com/matrix-org/dendrite/issues/2988#issuecomment-1464331913.
Solution is in PR provided and seems to work. Error has gone and server starts. https://github.com/matrix-org/dendrite/pull/2953
This comment was originally posted by @2547409617 at https://github.com/matrix-org/dendrite/issues/2988#issuecomment-1879978635.
I encountered the same problem. I change max_open_conns to 90 according to #2953, the error is the same.
This issue was originally created by @fierg at https://github.com/matrix-org/dendrite/issues/2988.
Background information
Dendrite version or git SHA: Dendrite release 0.11.1 (image)
SQLite3 or Postgres?: Postgres
Running in Docker?: Docker
go version
: go1.19.6 linux/amd64Client used (if applicable):
Description
Steps to reproduce
The database is up and running, i can access it via pgAdmin, but the dendrite container cannot.