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

S3 sdk errors not reported #1846

Open
modnar1226 opened this issue Jan 16, 2025 · 0 comments
Open

S3 sdk errors not reported #1846

modnar1226 opened this issue Jan 16, 2025 · 0 comments

Comments

@modnar1226
Copy link

Question

Q A
Flysystem Version 2.5.0
Adapter Name league/flysystem-aws-s3-v3
Adapter version 2.5.0

I don't know if this is a bug or was fixed in later versions but using this version I noticed what ultimately was a kms key issue in AWS was causing non descriptive errors from flysystem.

I was getting this error: Exception: Unable to read file from location: vu91716/aiScores/vanderbilt_ae_scores_20250115.csv. /var/www/www/application/vendor/league/flysystem/src/UnableToReadFile.php 24

To debug the issue I had to temporarily use the raw s3 php sdk to get the error which clearly indicated that it was an issue with kms permissions.
This should be reported on the flysystem error.

We are on using a legacy system and using php 7.4 currently. Is there a version that would report the sdk errors or is this a feature / bug report?

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

No branches or pull requests

1 participant