Skip to content

Instantly share code, notes, and snippets.

@ryanmr
Created January 18, 2016 14:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanmr/57ab14bd87ab4be7079f to your computer and use it in GitHub Desktop.
Save ryanmr/57ab14bd87ab4be7079f to your computer and use it in GitHub Desktop.
ryan@server2:~/nexus/cli$ python tntv.py upload ../live/ted8.mp3 ../live/tf361.mp3
|=== Upload ===|
Connecting to Amazon S3 (the-nexus-tv)
Traceback (most recent call last):
File "tntv.py", line 216, in <module>
main()
File "tntv.py", line 214, in main
args.func(args);
File "tntv.py", line 68, in main_upload
bucket = connection.get_bucket(aws_config['aws_bucket'])
File "/usr/local/lib/python2.7/dist-packages/boto/s3/connection.py", line 455, in get_bucket
bucket.get_all_keys(headers, maxkeys=0)
File "/usr/local/lib/python2.7/dist-packages/boto/s3/bucket.py", line 471, in get_all_keys
'', headers, **params)
File "/usr/local/lib/python2.7/dist-packages/boto/s3/bucket.py", line 409, 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><RequestTime>Mon, 18 Jan 2016 14:51:35 GMT</RequestTime><ServerTime>2016-01-18T14:36:05Z</ServerTime><MaxAllowedSkewMilliseconds>900000</MaxAllowedSkewMilliseconds><RequestId>D69CE9C8958D1B73</RequestId><HostId>aeQhH3rZYMnALvIlIHqYdnqTdoi/kXumrEzT+aDvujztVDQ4A2MuAO3QNYZHq1t8yXyHOceyxBY=</HostId></Error>
ryan@server2:~/nexus/cli$
@ryanmr
Copy link
Author

ryanmr commented Jan 18, 2016

Solution to this:

ryan@server2:~/nexus/cli$ sudo ntpdate time.nist.gov
18 Jan 08:39:51 ntpdate[11367]: step time server 128.138.141.172 offset -930.802781 sec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment