Giter VIP home page Giter VIP logo

Comments (4)

localstack-bot avatar localstack-bot commented on June 5, 2024

Welcome to LocalStack! Thanks for reporting your first issue and our team will be working towards fixing the issue for you or reach out for more background information. We recommend joining our Slack Community for real-time help and drop a message to LocalStack Pro Support if you are a Pro user! If you are willing to contribute towards fixing this issue, please have a look at our contributing guidelines and our contributing guide.

from localstack.

AlekPiasecki avatar AlekPiasecki commented on June 5, 2024

Think this may be due to my using of a version of the psycopg-2 binary that is incompatible with Lambda's Linux OS.

from localstack.

joe4dev avatar joe4dev commented on June 5, 2024

Hi @AlekPiasecki

Thank you for reporting these issues. Let me try to break them down.

WebApp Layer Detail View

I can confirm that the Web application "brings me to a blank page" once clicking on a Lambda layer. I forwarded this issue to the web team.

ListLayers 500 error

I cannot reproduce the functional issues and created a working Terraform Lambda Layer sample here: https://github.com/joe4dev/localstack-lambda-layer-python-terraform-sample

Can you please share the detailed steps to reproduce these errors upon awslocal lambda list-layers? Does this only happen with specific layer content?

2024-03-20 22:48:54 2024-03-21T02:48:54.623 INFO --- [ asgi_gw_1] localstack.request.http : OPTIONS /2018-10-31/layers => 204
2024-03-20 22:48:54 2024-03-21T02:48:54.634 ERROR --- [ asgi_gw_0] l.aws.handlers.logging : exception during call chain: list index out of range
2024-03-20 22:48:54 2024-03-21T02:48:54.635 INFO --- [ asgi_gw_0] localstack.request.aws : AWS lambda.ListLayers => 500 (InternalError)

2024-03-20 22:43:42 2024-03-21T02:43:42.616 WARN --- [ asgi_gw_1] l.aws.protocol.serializer : Response object LayerVersionsListItem contains a member which is not specified: Content

Can you confirm that the same Lambda function and Layer package deploy successfully against AWS?

Think this may be due to my using of a version of the psycopg-2 binary that is incompatible with Lambda's Linux OS.

Please ensure that the Lambda function and layer packages are build for the correct architecture and platform. The AWS documentation has more detailed instructions here: https://docs.aws.amazon.com/lambda/latest/dg/python-package.html#python-package-native-libraries

from localstack.

localstack-bot avatar localstack-bot commented on June 5, 2024

Hello 👋! It looks like this issue hasn’t been active in longer than two weeks. We encourage you to check if this is still an issue in the latest release. In the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or upvote with a reaction on the initial post to prevent automatic closure. If the issue is already closed, please feel free to open a new one.

from localstack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.