Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

any one help? #39

Open
jackylee1 opened this issue Sep 10, 2018 · 2 comments
Open

any one help? #39

jackylee1 opened this issue Sep 10, 2018 · 2 comments

Comments

@jackylee1
Copy link

pynt deploylambda
[ build.pyc - Starting task "deploylambda" ]
Checking if S3 Bucket 'anbanglee2' exists...
Uploading function 'framefetcher' to 'src/lambda_framefetcher.zip'
[ build.pyc - Error in task "deploylambda" ]
[ build.pyc - Aborting build ]
Traceback (most recent call last):
File "/Users/anbanglee/anaconda2/bin/pynt", line 11, in
sys.exit(main())
File "/Users/anbanglee/anaconda2/lib/python2.7/site-packages/pynt/_pynt.py", line 298, in main
build(sys.argv[1:])
File "/Users/anbanglee/anaconda2/lib/python2.7/site-packages/pynt/_pynt.py", line 59, in build
_run_from_task_names(module,args.tasks)
File "/Users/anbanglee/anaconda2/lib/python2.7/site-packages/pynt/_pynt.py", line 109, in _run_from_task_names
_run(module, logger, task, completed_tasks, True, args, kwargs)
File "/Users/anbanglee/anaconda2/lib/python2.7/site-packages/pynt/_pynt.py", line 180, in _run
task(*(args or []),**(kwargs or {}))
File "/Users/anbanglee/anaconda2/lib/python2.7/site-packages/pynt/_pynt.py", line 245, in call
self.func.call(*args,**kwargs)
File "build.py", line 143, in deploylambda
s3_client.upload_fileobj(data, src_s3_bucket_name, s3_keys[function])
File "/Users/anbanglee/anaconda2/lib/python2.7/site-packages/boto3/s3/inject.py", line 539, in upload_fileobj
return future.result()
File "/Users/anbanglee/.local/lib/python2.7/site-packages/s3transfer/futures.py", line 73, in result
return self._coordinator.result()
File "/Users/anbanglee/.local/lib/python2.7/site-packages/s3transfer/futures.py", line 233, in result
raise self._exception
botocore.exceptions.ClientError: An error occurred (SignatureDoesNotMatch) when calling the PutObject operation: The request signature we calculated does not match the signature you provided. Check your key and signing method.

@jackylee1
Copy link
Author

??

@moanany
Copy link
Contributor

moanany commented Sep 11, 2018

Hello,

It's likely an issue with your system time being off.

Check out this thread:
aws/aws-cli#602

Excerpt:

Just had this happening to me and was a result of my system time being off by too much even though it did not report that. Ran ntpdate against pool.ntp.org and fixed this problem for me.

Hope that helps,
Moataz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants