python-lambda icon indicating copy to clipboard operation
python-lambda copied to clipboard

Deployment issue with "lambda deploy"

Open nicolasbmi opened this issue 6 years ago • 2 comments

Hi, i was trying to "lambda deploy" when this error occured after :

Starting new HTTPS connection (1): lambda.us-east-1.amazonaws.com Creating your new Lambda function Starting new HTTPS connection (1): sts.amazonaws.com Creating lambda function with name: my_lambda_function Starting new HTTPS connection (1): lambda.us-east-1.amazonaws.com

botocore.exceptions.ClientError: An error occurred (InvalidSignatureException) when calling the CreateFunction operation: Signature expired: 20180506T081010Z is now earlier than 20180506T081523Z (20180506T082023Z - 5 min.)

nicolasbmi avatar May 06 '18 09:05 nicolasbmi

Is your system clock time correct? You might need to sync it up with ntp or similar method depending on your OS. The error indicates that the the system time is several minutes different from the AWS servers.

stevenviola avatar May 09 '18 15:05 stevenviola

I had the same phenomenon too. It seems that the build process was just a bit too long on one occasion.

owen9825 avatar Aug 09 '19 02:08 owen9825