# Connection Pool Shutdown happening very frequently for s3 snapshot repository

**URL:** <https://discuss.elastic.co/t/connection-pool-shutdown-happening-very-frequently-for-s3-snapshot-repository/373570>\
**Category:** Elasticsearch\
**Tags:** snapshot-and-restore\
**Created:** [January 23, 2025, 9:53am UTC](https://discuss.elastic.co/t/connection-pool-shutdown-happening-very-frequently-for-s3-snapshot-repository/373570 "2025-01-23T09:53:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dharani\_Vattamwar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dharani_vattamwar/32/138123_2.png) [@Dharani\_Vattamwar](https://discuss.elastic.co/u/Dharani_Vattamwar)\
**Post date:** [January 23, 2025, 9:53am UTC](https://discuss.elastic.co/t/connection-pool-shutdown-happening-very-frequently-for-s3-snapshot-repository/373570/1 "2025-01-23T09:53:50Z")

</div>

We have a need to perform automated restore testing for the snapshots stored . Whenever we connect the s3 to another ES cluster (readOnly mode) we will need to restart new ES cluster inorder to connect successfully. Later once we delete the readonly snapshot repository after testing we see that the original repository connection is lost  
ES version 8.15.3

related issue: [Removing second S3 repository causes "Connection Pool Shutdown" in 8.13.2](https://discuss.elastic.co/t/removing-second-s3-repository-causes-connection-pool-shutdown-in-8-13-2/364797)
