We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I run that with serverless-offline plugin, and I have an issue with an async route (after 30 seconds):
Replying timeout after 30000ms
Example:
const express = require("serverless-express/express"); const handler = require("serverless-express/handler"); const app = express(); app.get("/test", async (req, res) => res.json({ status: "SUCCESS" }) ); exports.handler = handler(app);
Of course, my function will have some async stuff.
How to fix that?
The text was updated successfully, but these errors were encountered:
This might be an issue with API Gateway which has a max request timeout of 30 seconds.
https://stackoverflow.com/questions/54299958/how-can-i-set-the-aws-api-gateway-timeout-higher-than-30-seconds
Sorry, something went wrong.
The problem is the request returns a response (JSON) before that alert. Then it appears.
No branches or pull requests
I run that with serverless-offline plugin, and I have an issue with an async route (after 30 seconds):
Example:
Of course, my function will have some async stuff.
How to fix that?
The text was updated successfully, but these errors were encountered: