Reputation: 1722
Was able to set up a pull from an S3 bucket on a Mac seamlessly, but have been struggling with an identical process on a PC (Windows). Here is what I have done -- any help along the way would be much appreciated.
awscli
using pip
aws configure
in the command prompt and inputed the proper access key id and secret access key.G:\>aws s3 cp --recursive s3://url-index-given/ .
(where the url was replaced with url-index-given
for example purposes).And got this error:
fatal error: Could not connect to the endpoint URL: "https://url-index-given.s3.None.amazonaws.com/?list-type=2&prefix=&encoding-type=url"
I have tried uninstalling the awscli
package and followed this process recommended by Amazon without any errors.
Upvotes: 2
Views: 18994
Reputation: 270089
The error indicates have you have given an invalid value for Region
when using aws configure
. (See the None
in the URL? That is where the Region normally goes.)
You should run aws configure
again and give it a valid region (eg us-west-2
).
Upvotes: 8