When staging the application on Swisscom Application Cloud (Cloud Foundry based), PHP framework Symfony is calling bin/console cache:clear
to clear the caches to warm up the application.
We found out earlier, that as no connection was allowed to e.g. SQL Service during staging this command failed and was resolved by allowing DB Service connection during staging phase.
No we experience a connection refused
during staging for our Redis Service connection:
Redis connection failed (connect() failed: Connection refused): redis://OURPASSWORD@xxxxxx.service.consul:47133
But Symfony requires db and cache services to be available already during staging.