-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question about timeouts #119
Comments
Can you paste the logs from cloud watch? |
Hello, Yes hera are the logs from one of those runs, nothing unusual it just restarts three times from one invokation:
|
The logs show the AWS SDK attempting to read configuration from the local filesystem.
I suggest you use the environment credential provider as in https://github.com/awslabs/aws-lambda-cpp/blob/master/examples/s3/main.cpp#L76. And make sure you set up the environment variables in Lambda. |
The logs look like three successful invocations (the first one being a cold start) that each complete in about 70 seconds and return. |
Hello,
I have followed the examples here: https://aws.amazon.com/blogs/compute/introducing-the-c-lambda-runtime/
When I run my internal execution so that it takes 5 seconds everything works fine. But when I run it for 70 seconds I never get any response and the lambda function seems to be restarting several times. My guess is that is has to do with some timeouts. But how do I configure them? I cannot find any good developer reference.
The text was updated successfully, but these errors were encountered: