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

Error if AWS_USE_ACCELERATE_ENDPOINT=true (works fine if FALSE) #24

Open
VadimBesedin opened this issue Jan 9, 2024 · 0 comments
Open

Comments

@VadimBesedin
Copy link

VadimBesedin commented Jan 9, 2024

Project based on Laravel 10.

If in the .env file I enable: AWS_USE_ACCELERATE_ENDPOINT=true
After browsing for a file, uploader throws an error.

And works fine when: AWS_USE_ACCELERATE_ENDPOINT=false

RESPONSE:

"message": "Call to undefined method Aws\Exception\UnresolvedEndpointException::getStatusCode()",
"exception": "Error",
"file": "...\vendor\tapp\laravel-uppy-s3-multipart-upload\src\Http\Controllers\UppyS3MultipartController.php",
"line": 122,
"trace": [
{
"file": "...\vendor\laravel\framework\src\Illuminate\Routing\Controller.php",
"line": 54,
"function": "createMultipartUpload",
"class": "Tapp\LaravelUppyS3MultipartUpload\Http\Controllers\UppyS3MultipartController",
"type": "->"
}

HEADERS:

{
"POST": {
"scheme": "http",
"host": "127.0.0.1:8000",
"filename": "/s3/multipart",
"remote": {
"Address": "127.0.0.1:8000"
}
}
}
{
"Status": "500Internal Server Error",
"Version": "HTTP/1.1",
"Transferred": "11.57 kB (11.29 kB size)",
"Referrer Policy": "strict-origin-when-cross-origin",
"DNS Resolution": "System"
}

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