question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AWS Lambda timed out

See original GitHub issue

Currently, I use prisma2@2.0.0-preview022, nexus@0.12.0-rc.13, nexus-prisma@0.10.0

I deploy the app (with nexus-prisma crud) with Serverless to AWS Lambda and I have some problems. After executing some query at the deployed endpoint, I couldn’t open the graphql playground in the browser because lambda function now is timed out, but all the time while the page tries to open I can make requests to the endpoint with Graphql Playground app and these queries execute fine. After lambda timed out I can reload the page with graphql playground and that will work fine.

This is AWS X-Ray for lambda: image In logs only this: image

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:4
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
hdngrcommented, Mar 29, 2020

This should be in the docs 😄

3reactions
WellFailcommented, Mar 20, 2020

@Jolg42 I try this solution, its solves my problem

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot Lambda function retry and timeout issues when ...
To troubleshoot the retry and timeout issues, first review the logs of the API call to find the problem. Then, change the retry...
Read more >
AWS Lambda: Task timed out - Stack Overflow
Your error message says Task timed out after 15.00 seconds . This means that AWS intentionally stopped the task once it hit a...
Read more >
AWS Lambda Timeout Best Practices - Lumigo
Lambda functions are short lived; the Lambda max timeout is 900 seconds (15 minutes). This can be difficult to manage and can cause...
Read more >
AWS Lambda Task timed out error [Solved] | bobbyhadz
The "Task timed out after X seconds" error occurs because a lambda function's execution has exceeded its configured timeout. To view a lambda...
Read more >
How to troubleshoot AWS Lambda timeouts
The Lambda timeouts can be caused by not enough memory or processing power of the Lambda itself, or can be caused by other...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found