Giter Club home page Giter Club logo

Comments (5)

jysheng123 avatar jysheng123 commented on June 30, 2024

Hi, thanks for bringing up the issue. I have been able to reproduce the issue and after some investigation, I see that the code is failing within the scripts inside the Lambda Layers as if you remove the environment variables AWS_LAMBDA_EXEC_WRAPPER and OTEL_PROPAGATORS, the invocation runs properly. Unfortunately I don't have the details inside the script that is making Lambda RIE have a errResetReceived error, are you able to provide the wrapper scripts used against the Lambda function?

from aws-sam-cli.

roger-zhangg avatar roger-zhangg commented on June 30, 2024

Hi @jysheng123 , in this sample APP the AWS_LAMBDA_EXEC_WRAPPER is set to use /opt/otel-instrument in the Lambda Adot Layer, which could be found here . You can also check out the Layer's definition here

from aws-sam-cli.

soid avatar soid commented on June 30, 2024

I found this open issue from Google because I'm getting the same error. But I think my problem might be different. It seems errors in AWS SAM are poorly reported. @jysheng123 how did you actually figured out the problem with the environment variables in this sample project? I run sam with the --debug option, but not much useful info reported except for this Invoke failed error=errResetReceived message.

from aws-sam-cli.

jysheng123 avatar jysheng123 commented on June 30, 2024

It turns out for this instance of the customer, I helped him out differently so its an issue on his own side of the code, this probably isnt the best place for a discussion as I will resolve this ticket, but if you have a bug/question, feel free to open up a ticket for it.

from aws-sam-cli.

github-actions avatar github-actions commented on June 30, 2024

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

from aws-sam-cli.

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.