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
what didnt work for me was some combination of:
[ first disable my local postgres ]
[ edit both docker .yaml files and extend all '2s' timeouts and '5s' timeouts to '10s' ]
service postgresql stop
docker compose down
docker compose up
docker compose down
docker compose up
sleep 60
./run
./run
docker ps
things i saw go wrong in the logs at different stages:
[Cycle\Database\Exception\StatementException\ConnectionException]
SQLSTATE[08006] [7] connection to server at "db" (172.101.8.7), port 5432 failed: Connection refused
Is the server running on that host and accepting TCP/IP connections? in vendor/cycle/database/src/Driver/Postgres/PostgresDriver.php:244
[PDOException]
SQLSTATE[08006] [7] connection to server at "db" (172.101.8.7), port 5432 failed: Connection refused
Is the server running on that host and accepting TCP/IP connections? in vendor/cycle/database/src/Driver/Driver.php:641
[ErrorException]
fsockopen(): Unable to connect to buggregator:9913:-1 (Connection refused) in vendor/monolog/monolog/src/Monolog/Handler/SocketHandler.php:260
[Cycle\Database\Exception\StatementException\ConnectionException]
SQLSTATE[08006] [7] connection to server at "db" (172.101.8.7), port 5432 failed: timeout expired in vendor/cycle/database/src/Driver/Postgres/PostgresDriver.php:244
[PDOException]
SQLSTATE[08006] [7] connection to server at "db" (172.101.8.7), port 5432 failed: timeout expired in vendor/cycle/database/src/Driver/Driver.php:641
docker logs -f db
Error response from daemon: configured logging driver does not support reading
[ snipett from ./run.sh output ]
cinema-1 | [Cycle\Database\Exception\StatementException\ConnectionException]
cinema-1 | SQLSTATE[08006] [7] connection to server at "db" (172.101.9.4), port 5432 failed: Connection refused
cinema-1 | Is the server running on that host and accepting TCP/IP connections? in vendor/cycle/database/src/Driver/Postgres/PostgresDriver.php:244
cinema-1 | [PDOException]
cinema-1 | SQLSTATE[08006] [7] connection to server at "db" (172.101.9.4), port 5432 failed: Connection refused
cinema-1 | Is the server running on that host and accepting TCP/IP connections? in vendor/cycle/database/src/Driver/Driver.php:641
cinema-1 | [ErrorException]
cinema-1 | fsockopen(): Unable to connect to buggregator:9913:-1 (Connection refused) in vendor/monolog/monolog/src/Monolog/Handler/SocketHandler.php:260
2024-10-03T23:48:59+0000 ERROR app Spiral\Goridge\RPC\Exception\ServiceException: Error 'rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp 127.0.0.1:10000: connect: connection refused"' on tcp://127.0.0.1:6001 in /app/vendor/spiral/goridge/src/RPC/AbstractRPC.php at line 72 [] []
2024-10-03T23:48:59+0000 ERROR app Spiral\Goridge\RPC\Exception\ServiceException: Error 'rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp 127.0.0.1:10000: connect: connection refused"' on tcp://127.0.0.1:6001 in /app/vendor/spiral/goridge/src/RPC/AbstractRPC.php at line 72 [] []
2024-10-03T23:48:59+0000 ERROR app Spiral\Goridge\RPC\Exception\ServiceException: Error 'rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp 127.0.0.1:10000: connect: connection refused"' on tcp://127.0.0.1:6001 in /app/vendor/spiral/goridge/src/RPC/AbstractRPC.php at line 72 [] []
2024-10-03T23:48:59+0000 ERROR app Spiral\Goridge\RPC\Exception\ServiceException: Error 'rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp 127.0.0.1:10000: connect: connection refused"' on tcp://127.0.0.1:6001 in /app/vendor/spiral/goridge/src/RPC/AbstractRPC.php at line 72 [] []
[INFO] RoadRunner server started; version: 2023.3.7, buildtime: 2023-11-30T19:15:58+0000
[INFO] sdnotify: not notified
[ since some of the above documented url/s seem to work, i found this one in the http://127.0.0.1:8003/ Buggregator url ]
Cycle\Database\Exception\StatementException\ConnectionException: SQLSTATE[08006] [7] connection to server at "db" (172.101.11.6), port 5432 failed: Connection refused
Is the server running on that host and accepting TCP/IP connections? in /app/users/vendor/cycle/database/src/Driver/Postgres/PostgresDriver.php at line 244
... and I checked that docker DID start its postgres:
docker ps | grep postgres
d5875e879b03 postgres "docker-entrypoint.s…" 17 minutes ago Up 17 minutes (healthy) 0.0.0.0:5432->5432/tcp db
cbf484f7b392 postgres "docker-entrypoint.s…" 17 minutes ago Up 17 minutes 5432/tcp temporal-postgresql
diagnosed what I can from here, cant figure out what to try next..
what didnt work for me was some combination of:
[ first disable my local postgres ]
[ edit both docker .yaml files and extend all '2s' timeouts and '5s' timeouts to '10s' ]
service postgresql stop
docker compose down
docker compose up
docker compose down
docker compose up
sleep 60
./run
./run
docker ps
things i saw go wrong in the logs at different stages:
docker logs -f spiral-php-ticket-booking-cinema-1
docker logs -f db
[ snipett from ./run.sh output ]
docker logs -f spiral-php-ticket-booking-buggregator-1
[ since some of the above documented url/s seem to work, i found this one in the http://127.0.0.1:8003/ Buggregator url ]
... and I checked that docker DID start its postgres:
docker ps | grep postgres
diagnosed what I can from here, cant figure out what to try next..
P.S. at this url: http://127.0.0.1:8088/ for Temporal i get just an error page:
The text was updated successfully, but these errors were encountered: