> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/continuous-delivery/troubleshooting-and-resources/armory/general/waitforclustershrinktask-of-stage-shrinkcluster-times-out-after-30-minutes.md).

# WaitForClusterShrinkTask of stage shrinkCluster times out after 30 minutes

### Issue <a href="#issue" id="issue"></a>

An environment may experience pipeline fails at a deploy stage with the following error message: `WaitForClusterShrinkTask of stage shrinkCluster timed out after 30 minutes 5 seconds. pausedDuration: 0 seconds, elapsedTime: 30 minutes 5 seconds, timeoutValue: 30 minutes` Upon checking Clouddriver logs, the following error can be identified: `021-05-03 11:05:16.863 ERROR 1 --- [0.0-7002-exec-4] n.s.f.s.FiatAccessDeniedExceptionHandler : Encountered exception while processing request GET:/......`

### Cause <a href="#cause" id="cause"></a>

This issue can be traced back to timeout configurations. For example, in this instance the timeouts for Clouddriver had been set at 30 minutes.
