HTTPSConnectionPool(host='s3-us-west-1b.amazonaws.com', port=443): Max retries exceeded with url
One possible issue could be that proxy might not have been set in your instance service role. Configure the env to point to your proxy servers via HTTP_PROXY / HTTPS_PROXY (Since the above error displays 443, it should be HTTPS_PROXY).
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='s3-us-west-1b.amazonaws.com', 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