Comments (5)
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.
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.
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.
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.
⚠️ 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)
- Feature request: Upgrade cfn-lint dependency HOT 3
- Add Rust support to aws cli --use-container builds HOT 1
- Cannot find module 'app' when using "hello world typescript" example HOT 10
- Bug: AWS::Serverless::Function ImageUri with function (ex: using !If) fails with type error HOT 3
- Bug: Template not rendered correctly HOT 4
- Why does aws-sam-cli not support debug mode on os runtime (provided.al2 / provided.al2023)? HOT 4
- Bug: sam local start-api fails to initialise lambda function containers within podman/toolbox container HOT 4
- Feature request: support Finch HOT 2
- Bug: sam local invoke - SSLError HOT 2
- start-api debug port failure HOT 1
- start-api debug port fails HOT 5
- Bug: `sam local invoke` takes client environment variable value over defined value in template.yaml HOT 3
- Sam build with project references in adjacent directory (.NET8 NativeAOT) HOT 4
- `sam sync` with typescript not updating Lambda layer code in Lambda function HOT 4
- Bug: Docker 4.33 + Provided.al2 Image error HOT 9
- Bug: SAM Deployment Issue: Bootstrap File Not Found Despite Successful Build and Upload HOT 1
- Bug: sam pipeline init - ResourceNotFoundException HOT 1
- Bug: Official example for CDK is not working HOT 1
- Bug: Runtime.ImportModuleError for Typescript Lambda function defined using CDK HOT 2
- Feature request: Run Node tests as part of sam build HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-sam-cli.