JavaScript AWS Gateway timeout gateway timeout error,gateway timeout nginx,gateway timeout 502,gateway

I'm using a lambda function to process a large amount of data (which exceeds 30s) and I am receicing a message from AWS Gateway:

Endpoint request timed out

I understand this is obviously because of the default timeout with AWS Gateway, however my Lambda function is set to run for up to 15 minutes.

What is the best way to increase this timeout? Surely this can be done considering lambdas can be set to execute for a much longer time.

Thanks

Answer:1

API gateway times out after 30 seconds, have you tried using scheduled events to trigger the lambda instead of going through API gateway?

Answer:2

I'm developing an interactive map, where can be seen arrows. These arrows are made with SVG code. When the SVG container is clicked, a popup is showed like in the figure down below: The main issue, ...

I'm developing an interactive map, where can be seen arrows. These arrows are made with SVG code. When the SVG container is clicked, a popup is showed like in the figure down below: The main issue, ...

I have been researching and found some things to the topic but nothing was usable in my situation and often to hard for me to implement. I'd like to get a div to fade in when you begin to scroll on ...

I have been researching and found some things to the topic but nothing was usable in my situation and often to hard for me to implement. I'd like to get a div to fade in when you begin to scroll on ...

Let's assume I have a simple array const simpleArray = [1, 2, 3, 4, 5]; In case of, for example, I want to create a carousel and connect dots to click events in Vue or React. So clicking on a dot I ...

Let's assume I have a simple array const simpleArray = [1, 2, 3, 4, 5]; In case of, for example, I want to create a carousel and connect dots to click events in Vue or React. So clicking on a dot I ...

  1. sorting array from lowest to highest c++
  2. sorting array from lowest to highest
  3. sorting array from smallest to largest
  4. sorting array from value
  5. sorting array in java
  6. sorting array in c
  7. sorting array in javascript
  8. sorting array in python
  9. sorting array in php
  10. sorting array in ascending order
  11. sorting array in descending order
  12. sorting array in cpp
  13. sorting array in ascending order c++
  14. sorting array in js
  15. sorting array in descending order c++
  16. sorting array in shell script
  17. sorting array in python 3
  18. sorting array in java program
  19. sorting array in swift
  20. sorting array in typescript

I have a Rails project where a newly added javascript file (plotly.min.js) is causing rake assets:precompile to hang indefinitely in production mode only. Since the problem is related to javascript ...

I have a Rails project where a newly added javascript file (plotly.min.js) is causing rake assets:precompile to hang indefinitely in production mode only. Since the problem is related to javascript ...