AWS S3 CLI - Could not connect to the endpoint URL

前端 未结 12 1197
情书的邮戳
情书的邮戳 2020-12-07 21:46
$ aws s3 ls

Could not connect to the endpoint URL: \"https://s3.us-east-1a.amazonaws.com/\"

What could be the problem?

12条回答
  •  囚心锁ツ
    2020-12-07 22:06

    Couple things I've done to fix this :

    1. Updated my CLI and it given this error (previous error was "aws connection aborted error 10013")
    2. Tried to nslookup aws s3 endpoing : nslookup s3.us-east-2.amazonaws.com

      DNS request timed out. timeout was 2 seconds. Server: UnKnown Address: 192.168.10.1

    -> hmmm very weird

    1. Went to windows network troubleshooting and selected to test access to specific page. It informed that Windows firewall blocked the connection. Fixed this

    2. Received a new error , after fixing the request through firewal :

      An error occurred (RequestTimeTooSkewed) when calling the ListBuckets operation: The difference between the request time and the current time is too large.

    3. Updated my date & time to automatic -> Fixed

提交回复
热议问题