408 on large request upload #18543
Labels
issue: bug
Issue reporting a bug
severity: medium
If it breaks the basic use of the product but can be worked around
source: core:strapi
Source is core/strapi package
status: confirmed
Confirmed by a Strapi Team member or multiple community members
Bug report
Describe the bug
When uploading a file that takes longer than 5 minutes to process in production with Node.js version 18, a client-side error 408 occurs. This is due to the default timeouts of Node.js version 18.
Steps to reproduce the behavior
Expected behavior
I expect that timeouts can be configured or customized in Strapi, as the new default values in Node.js version 18 can result in error 408 for long operations such as file uploads.
https://fek.io/blog/what-is-new-in-node-js-18/
Additional context
I couldn't find information in the Strapi documentation about the possibility of configuring these timeouts via configuration variables.
I can fix it with downgrade to node 16
The text was updated successfully, but these errors were encountered: