Open J0J0HA opened 5 months ago
I guess the databases (postgres & redis) themself are running? see docker compose ps
then it sounds like networking issue, most likely a firewall prevents the containers from accessing each other.
As far as I know ufw
comes now preinstalled & active on ubuntu setups, which requires...
$ ufw allow from 10.7.7.0/24
I checked with docker ps
and postgres and redis are running.
I added the ufw rule like you recommended, but it still does not work (same errors as before). (ufw was disabled, as I noticed afterwards).
Actually it should not have any firewalls installed, as it has an external firewall (it is running on a VPS).
When I run
docker compose up
, at first everything looks like it would be going well, but then, after like 10-15secs, multiple containers stop at once with the error:MongoServerSelectionError: connection timed out
. These arebbb-docker-html5-frontend-1-1
,bbb-docker-html5-backend-1-1
,bbb-docker-html5-frontend-2-1
andbbb-docker-html5-backend-2-1
.At the same time,
bbb-docker-greenlight-1
writesWaiting for postgres to start up ...
over and over again. (postgres is already running successfully at that moment)Additionally,
bbb-docker-bbb-web-1
crashes with this:bbb-docker-webrtc-sfu-1
repetedly says{"errorMessage":"Redis connection to 10.7.7.5:6379 failed - connect EHOSTUNREACH 10.7.7.5:6379","label":"screenshare","level":"error","message":"Redis client error event","timestamp":"2024-01-04T14:24:50.050Z"
bbb-docker-recordings-1
says:(plus traceback)
bbb-docker-etherpad-1
says:Some other containers also crash because of not being able to connect to redis or mongodb, although I have not listed them here.
My server fullfills all requirements:
I am using the main branch and followed the steps to integrate in an existing web server.
Full logs: https://gist.github.com/J0J0HA/1c2161e31b19cf18c27280948df4d63d