appoxy / aws

Amazon Web Services (AWS) Ruby Gem
https://rubygems.org/gems/aws
236 stars 87 forks source link

The difference between the request time and the current time is too large. #122

Closed agungyuliaji closed 11 years ago

agungyuliaji commented 11 years ago
  def self.load_json s3_url
    return false if s3_url.blank?
      begin
        s3_interface = Aws::S3Interface.new(S3_ACCESS_KEY, S3_SECRET_KEY)
        obj = JSON.parse(s3_interface.get_object 'marketfu', s3_url) 
        return obj
      end
    end
treeder commented 11 years ago

Do you have more info?

agungyuliaji commented 11 years ago

Nope.. now it fixed :smile:

http://stackoverflow.com/questions/4770635/s3-error-the-difference-between-the-request-time-and-the-current-time-is-too-la