localstack icon indicating copy to clipboard operation
localstack copied to clipboard

Read timeout on endpoint URL: Lambda on update-function-code

Open tilakbhanu opened this issue 6 years ago • 3 comments

Type of request: This is a ...

[X ] bug report [ ] feature request

Detailed description

Running following command aws lambda update-function-code --function-name lamdaforunsecureauthentication1 --s3-bucket mytestbucket --s3-key built.zip --endpoint-url=http://localhost:4566

...

Expected behavior

Should update lambda with the latest built code. ...

Actual behavior

Read timeout on endpoint URL: "http://localhost:4566/2015-03-31/functions/lamdaforunsecureauthentication1/code"

┆Issue is synchronized with this Jira Task by Unito

tilakbhanu avatar Oct 27 '20 09:10 tilakbhanu

Thanks for reporting @tilakbhanu . Can you please share some details about your environment:

  • What is the size of your Lambda archive zip file? Can you share a copy of the file?
  • Are you able to access any other LocalStack API endpoints?
  • What is the output of the health endpoint: http://localhost:4566/health

Would be great if you could provide some more details to help us reproduce this issue. Thanks.

whummer avatar Dec 13 '20 21:12 whummer

Closing this issue, as "cannot reproduce". Please reopen this issue with detailed instructions to reproduce if the problem persists @tilakbhanu . Thanks!

whummer avatar Mar 21 '21 12:03 whummer

This issue is reproducible with files larger than 1 MB.

macleanpinto avatar Dec 16 '22 14:12 macleanpinto