# URL: //s3-bucket/prefix/file.jpeg にあるストアでファイルが見つかりませんでした

**URL:** <https://meta.discourse.org/t/could-not-find-file-in-the-store-located-at-url-s3-bucket-prefix-file-jpeg/268084>\
**Category:** Self-hosting\
**Tags:** unsupported-install\
**Created:** [2023 年 6 月 12 日午後 7:51 UTC](https://meta.discourse.org/t/could-not-find-file-in-the-store-located-at-url-s3-bucket-prefix-file-jpeg/268084 "2023-06-12T19:51:11Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![nodomain](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nodomain/32/303402_2.png) [@nodomain](https://meta.discourse.org/u/nodomain)\
**Post date:** [2023 年 6 月 12 日午後 7:51 UTC](https://meta.discourse.org/t/could-not-find-file-in-the-store-located-at-url-s3-bucket-prefix-file-jpeg/268084/1 "2023-06-12T19:51:12Z")

</div>

ECSで公式Dockerイメージの設定を行っています。  
EC2で実行した際はDockerイメージは問題なく動作していました。

しかし、同じ設定でECSで起動したところ、アバター画像が破損してしまいます。

関連エラー：

```plaintext
Could not find file in the store located at url: //x-dev-xx-xxx-x.s3.dualstack.eu-central-1.amazonaws.com/original/1X/761c151e2d0ebedff3330dc6ec7a27050fef43f9.jpeg

```

および

```plaintext
Failed to process hijacked response correctly : FinalDestination::SSRFDetector::LookupFailedError : FinalDestination: lookup failed

```

ファイルはバケット内にあり、EC2インスタンスと同じアクセス権限が付与されています。

根本原因を見つけるために、さらに調査できる箇所を教えていただけますでしょうか？

よろしくお願いします。

---

_[View the full topic](https://meta.discourse.org/t/could-not-find-file-in-the-store-located-at-url-s3-bucket-prefix-file-jpeg/268084)._
