-
Notifications
You must be signed in to change notification settings - Fork 505
no route to host to PostgreSQL #19631
Description
Description
Hello All
I tried to get the Synapse container in my docker environment running.
But it always stops with the log entry:
"psycopg2.OperationalError: connection to server at "postgresql" (192.168.1.29), port 5432 failed: No route to host"
I use a bridged macvlan network, the settings look good and docker inspect network shows everything is good.
I have 23 other containers running fine on this network.
I checked the PostgreSQL before because I had the same problem with another container and it that it accepts connections.
So it is not PostgreSQL and it is not the network configuration.
Further troubleshooting showed that the Synapse container is not accepting the gateway configuration it receives from the network.
Can somebody have a look why that might be?
Steps to reproduce
using a bridget macvlan network
Homeserver
homeserver
Synapse Version
latest
Installation Method
Docker (matrixdotorg/synapse)
Database
PostgreSQL
Workers
Single process
Platform
QNAP NAS with bond network and using bridged macvlan network.
Configuration
nothing special, all standard
Relevant log output
"psycopg2.OperationalError: connection to server at "postgresql" (192.168.1.29), port 5432 failed: No route to host"Anything else that would be useful to know?
I am an IT engineer.