Comments (7)
It seems like your bucket was created in the us-east-1
region, but you are trying to use the eu-west-1
region via the SDK to access it. The first error you mentioned is the S3 telling you to use the correct region.
The second error you mentioned is happening because setEndpoint()
is not a valid method on the client object. Therefore the client's __call()
method is being triggered, which erroneously tries to create a command/request.
You need to use the setRegion()
method instead OR update your config. Try $s3->setRegion('us-east-1');
before the putObject()
call.
from aws-sdk-php-laravel.
Thanks for the quick response.
Setting the region to US_EAST_1 in aws.php worked.
Silly error on my part.
from aws-sdk-php-laravel.
I got this error while i am trying from IOS.
Error Domain=com.amazonaws.iossdk.ServiceErrorDomain Code=301 "The operation couldn’t be completed. (com.amazonaws.iossdk.ServiceErrorDomain error 301.)" UserInfo=0x17f2fa50 {requestId=A828673B49C602E8, exception=AmazonServiceException { RequestId:A828673B49C602E8, ErrorCode:PermanentRedirect, Message:The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint. }, errorCode=PermanentRedirect}
from aws-sdk-php-laravel.
hey, hi when I am trying to access through the s3 with this code but Iam getting this erroe can anyone help me..
input {
s3 {
bucket => 'mylogtrail'
secret_access_key => '****************************'
access_key_id => '*********************** '
delete => false
interval => '60'
region => 'us-west-2'
}
}
plugin had an unrecoverable error. Will restart this plugin.
Plugin: <LogStash::Inputs::S3 bucket=>"mylogtrail", secret_access_key=>"***************************", access_key_id=>"**", delete=>false, interval=>60, region=>"us-west-2", codec=><LogStash::Codecs::Plain charset=>"UTF-8">, use_ssl=>true, temporary_directory=>"/tmp/logstash">
Error: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint. {:level=>:error}
from aws-sdk-php-laravel.
@kavithasrinu could you check that your bucket region and endpoint matches?
from aws-sdk-php-laravel.
The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.s3.amazonaws.comjenkinsartefactsTJHRGZ2BHD5PNMCHZhAQ1H357BskX0Ey138muofh2YyU4SaXM9nSLoC4E43nFkB3ji3C5vTuDFTMDzR3m4+FrccdM/Y=
from aws-sdk-php-laravel.
table=spark.sql("""
CREATE TABLE default.iceberg_table12 (
id INT,
data1 STRING
)
USING ICEBERG
""")
Py4JJavaError: An error occurred while calling o57.sql.
: software.amazon.awssdk.services.s3.model.S3Exception: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint. (Service: S3, Status Code: 301, Request ID: A6CWB28TSYH7T0C0, Extended Request ID: YgNLdKrEQHNWgWE/0IIbvUXrg0n9yC5+C3YIENe1WWcZDUWNYQvpnwqm4SaQs4ZwmBrcjHzDeIE=)
from aws-sdk-php-laravel.
Related Issues (20)
- Class IVSClient HOT 2
- Error Unresolvable dependency resolving [Parameter #0 [ <required> array $args ]] in class Aws\AwsClient HOT 4
- Can't receiving SNS messages HOT 1
- AWS.SimpleQueueService.NonExistentQueue (client): The specified queue does not exist for this wsdl version. HOT 2
- Laravel 9 support HOT 4
- Laravel 8.6 Unable to parse error information from response - Error parsing XML: String could not be parsed as XML HOT 2
- Laravel 9 support - Tagged release needed HOT 5
- Should be laravel 9.0 - right? HOT 3
- php artisan vendor:publish command says "Unable to locate publishable resources." HOT 5
- 'Class "Aws\Laravel\AwsServiceProvider" not found' on release 3.7.0 (Laravel 9) HOT 2
- Change the default region env variable to be consistent with the Laravel env example file HOT 4
- Facing error in Laravel Application while accessing sts getSessionToken in aws sdk HOT 2
- Support Laravel 10 HOT 3
- Installing package for laravel 10 launches composer error HOT 4
- Error parsing response for ListBuckets: AWS parsing error: Error parsing XML: String could not be parsed as XML HOT 4
- requirements could not be resolved to an installable set of packages (laravel 10 support) HOT 4
- aws-sdk-php (3.281.13) generates error HOT 4
- Deprecation of PHP versions < 7.2.5 HOT 1
- S3 Empty Folder 403 HOT 4
- Support laravel 11 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-sdk-php-laravel.