Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use FlySystem for Storage #172

Closed
aarongerig opened this issue Nov 28, 2022 · 1 comment
Closed

Use FlySystem for Storage #172

aarongerig opened this issue Nov 28, 2022 · 1 comment
Assignees
Milestone

Comments

@aarongerig
Copy link
Contributor

aarongerig commented Nov 28, 2022

Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? yes

When you try to download an asset via a protected link (in a AWS S3 setup) it throws the following error:

request.CRITICAL:
Uncaught PHP Exception ErrorException: "User Warning: Error executing "GetObject" on "https://bucket-name.s3.eu-central-1.amazonaws.com/assetshttps";
AWS HTTP error: Client error: `GET https://bucket-name.s3.eu-central-1.amazonaws.com/assetshttps` resulted in a `404 Not Found` response NotFound (client): 404 Not Found (Request-ID: G0V9FEQ3ZT02SEG2)

<?xml version="1.0" encoding="UTF-8"?> <Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>assetshttps</Key><RequestId>G0V9FEQ3ZT02SEG2</RequestId><HostId>bVouZKh8ba/Wg5Y4mlZ1Eq31xL+8z7v260lR4XdRKP6atg0EN8Bmcn0TXtgVTe6MeELYDPrulmY=</HostId></Error>" at /var/www/html/vendor/aws/aws-sdk-php/src/S3/StreamWrapper.php line 764
@aarongerig aarongerig changed the title [AWS S3] It is not possible to use protected assets with AWS S3 [AWS S3] It is not possible to download protected assets with AWS S3 Dec 2, 2022
@solverat solverat changed the title [AWS S3] It is not possible to download protected assets with AWS S3 Use FlySystem for Storage Mar 31, 2023
@solverat solverat self-assigned this Mar 31, 2023
@solverat solverat added this to the 4.1.0 milestone Mar 31, 2023
@solverat
Copy link
Member

Fixed with #180

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants