HTTPSConnectionPool(host='', port=443): Max retries exceeded with url

I am trying to copy a file from my aws ec2 instance to S3 bucket folder, but i am getting error

Here is the command sample aws s3 cp /home/abc/icon.jpg s3://mybucket/myfolder

This the error i am getting

upload failed: ./icon.jpg to s3://mybucket/myfolder/icon.jpg HTTPSConnectionPool(host='', port=443): Max retries exceeded with url: /mybucket/myfolder/icon.jpg (Caused by : [Errno -2] Name or service not known)

I have already configured the config file for aws cli command line

Please suggest the solution to this problem


You aren't using a valid endpoint. isn't valid.

S3 endpoints are at the regional level, not the availability zone level.

You're probably looking for

Need Your Help

Programmatical ViewState

View state can store the page value at the time of post back (Sending and Receiving information from Server) of your page.

Wcf ria services - custom objects with EF entities - can't compile silverlight entity-framework wcf-ria-services

I have custom entity (not from entity model), which have a property, wich return collection of EF entities (from entity model):

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.