Unable to connect aws s3 bucket using boto

前端 未结 6 1012
忘掉有多难
忘掉有多难 2020-12-14 11:15
AWS_ACCESS_KEY_ID = \'\'
AWS_SECRET_ACCESS_KEY = \'\'
Bucketname = \'Bucket-name\' 
import boto
from boto.s3.key import Key
im         


        
6条回答
  •  忘掉有多难
    2020-12-14 11:41

    The request to the host s3.ap-southeast-1.amazonaws.com is failing. I also cannot resolve it from my end. Check your bucket settings for the correct host.

    There might also be a problem with your internet connection or the DNS server. Try pinging the host manually from command line and see if it resolves. Alternatively, try using a different DNS.

    Edit: Quick googling suggests that the host might be s3-ap-southeast-1.amazonaws.com.

提交回复
热议问题