Help with S3 server time error

71 views
Skip to first unread message

Anjani Ragothaman

unread,
Jan 3, 2014, 7:36:59 PM1/3/14
to bigjob...@googlegroups.com
Hi,

When I try to set up pilot data on S3, I'm getting a server time error:

Traceback (most recent call last):
  File "ethreadall-copy.py", line 2339, in <module>
    obj = mainThread(sys.argv[1])
  File "ethreadall-copy.py", line 78, in __init__
    self.pd = self.pilot_data_service.create_pilot(pilot_data_description=self.pilot_data_description_aws)
  File "/home/cctsg/blissenv/lib/python2.7/site-packages/pilot/impl/pilotdata_manager.py", line 364, in create_pilot
    pilot_data_description=pilot_data_description)
  File "/home/cctsg/blissenv/lib/python2.7/site-packages/pilot/impl/pilotdata_manager.py", line 122, in __init__
    self.__initialize_pilot_data()
  File "/home/cctsg/blissenv/lib/python2.7/site-packages/pilot/impl/pilotdata_manager.py", line 273, in __initialize_pilot_data
    self.__filemanager.initialize_pilotdata()
  File "/home/cctsg/blissenv/lib/python2.7/site-packages/pilot/filemanagement/s3_adaptor.py", line 138, in initialize_pilotdata
    self.bucket = self.s3_conn.get_bucket(self.bucket_name)
  File "/home/cctsg/blissenv/lib/python2.7/site-packages/boto-2.2.2-py2.7.egg/boto/s3/connection.py", line 370, in get_bucket
    bucket.get_all_keys(headers, maxkeys=0)
  File "/home/cctsg/blissenv/lib/python2.7/site-packages/boto-2.2.2-py2.7.egg/boto/s3/bucket.py", line 358, in get_all_keys
    '', headers, **params)
  File "/home/cctsg/blissenv/lib/python2.7/site-packages/boto-2.2.2-py2.7.egg/boto/s3/bucket.py", line 325, in _get_all
    response.status, response.reason, body)
boto.exception.S3ResponseError: S3ResponseError: 403 Forbidden
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>RequestTimeTooSkewed</Code><Message>The difference between the request time and the current time is too large.</Message><MaxAllowedSkewMilliseconds>900000</MaxAllowedSkewMilliseconds><RequestId>36DB089275B18710</RequestId><HostId>x8xjLZwCGtuzl+p5+ZbykuLVvsBm4UmgoZmlbZvnjVtGYyF9FVZw6NIQhR95L+HP</HostId><RequestTime>Sat, 04 Jan 2014 00:49:21 GMT</RequestTime><ServerTime>2014-01-04T00:31:45Z</ServerTime></Error>

The time on the server from where I submit, has CST time. But the 'RequestTime'  and 'ServerTime' doesn't reflect that. Any idea how to solve this?

Thanks
Anjani

Andre Luckow

unread,
Jan 3, 2014, 9:07:20 PM1/3/14
to bigjob...@googlegroups.com
Hi Anjani,
can you try to sync your local clock with an NTP server?

Thanks,
Andre
> --
> You received this message because you are subscribed to the Google Groups
> "bigjob-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bigjob-users...@googlegroups.com.
> To post to this group, send email to bigjob...@googlegroups.com.
> Visit this group at http://groups.google.com/group/bigjob-users.
> For more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages